b3ta.com talk
You are not logged in. Login or Signup
Home » Talk » Message 1318276

Is anyone bored enough to help me with
some HTML?
(, Sat 4 Mar 2006, 23:21, archived)
Okay

(, Sat 4 Mar 2006, 23:22, archived)
oooh, lovely
I need a table of 1600 units, and I need to somehow make each unit clickable, and overlay it onto this image:
www.freewebs.com/syrenasquad/images/Map001.gif
Although I'll have to make the image bigger
(, Sat 4 Mar 2006, 23:24, archived)
ow oww ow ow

(, Sat 4 Mar 2006, 23:26, archived)
Can I just say that is a fantastic idea/site :)

(, Sat 4 Mar 2006, 23:27, archived)
Chars very much
it's a blatant lift of the million dollar homepage, but it's for charideee
(, Sat 4 Mar 2006, 23:30, archived)
Aye, count me in for a few pixels.
Probably not near Ulaan Bataar mind!
(, Sat 4 Mar 2006, 23:31, archived)
It'll be very strenuous without asp, php etc
Just do this:

<a href="#" style="position:absolute;width:10px;height:10px;left:0px;top:0px;"></a>

changing the top and left numbers with each.
(, Sat 4 Mar 2006, 23:28, archived)
That's a better way of doing it
Probably generate the code in excel, to make it add on 10px each time.
(, Sat 4 Mar 2006, 23:31, archived)
If they have either then it'd be reaaaally easy
Just having a loop to 1600 adding 10 each time. Maybe with CGI, but i don't know how that works, really.

But yeah, excel's a good idea. Lot of work though, and very hard to edit afterwards.
(, Sat 4 Mar 2006, 23:35, archived)
What you need is an image map
A quick google will turn up an image map generator which will save a lot of trouble.
(, Sat 4 Mar 2006, 23:29, archived)
I wanted some lush zoomable/scalable images
but lack the necessary skills. I just have the ideas...
(, Sat 4 Mar 2006, 23:31, archived)
This might work. You'll have to create some more cells though and make the table width and height the same as the image
<table background="http://www.freewebs.com/syrenasquad/images/Map001.gif" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td onmouseover="bgColor='#FAF9FF'" onClick="yourlinkhere.html'" style="cursor:hand" >&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<
/table>
(, Sat 4 Mar 2006, 23:29, archived)
Standards, standards.

(, Sat 4 Mar 2006, 23:30, archived)
Fuck standards,
most of the major sites (Google, MSN, BBC) don't pass the W3C validator
(, Sat 4 Mar 2006, 23:34, archived)
I know, and it's horrid.
When you realise how small and easy your code is when you shift from tables to divs.. just such a relief.
(, Sat 4 Mar 2006, 23:36, archived)
They have bandwidth to conserve and speed issues to worry about

(, Sat 4 Mar 2006, 23:38, archived)
And standards sorts both of those out.

(, Sat 4 Mar 2006, 23:40, archived)
I dare you to rewrite the Google home page
in standards compliant XHTML + CSS and make it smaller than what they have there.

When you're pushing hundreds of terabytes of data a day, every byte counts, and non-standards compliance can be forgiven.
(, Sat 4 Mar 2006, 23:44, archived)
It could be easily changed
The google code is awful. It (their design) is so simple though, as well.

It can't be forgiven when it comes to a huge site that people with poor eyesite frequent. Screen readers' compliance and all that?
(, Sat 4 Mar 2006, 23:49, archived)
Screen readers learned to cope with the web
long before standards compliance was the in thing. I'm sure Google are concerned and are putting just enough in to make the website work on as many browsers in as many situations as possible, but that doesn't mean they have to make it perfect.

I'm not saying standards compliance is bad of course. I support it, but there's always exceptions, and high bandwidth sites are one of them.
(, Sat 4 Mar 2006, 23:53, archived)
Okay

(, Sat 4 Mar 2006, 23:23, archived)
I
know some Ian dury.
(, Sat 4 Mar 2006, 23:24, archived)
hit me with your
rythmn stick
(, Sat 4 Mar 2006, 23:25, archived)
er
thinking about it, that could be taken the wrong way on here.
(, Sat 4 Mar 2006, 23:28, archived)
*Baton-charges*

(, Sat 4 Mar 2006, 23:28, archived)
inner
and outer london.
(, Sat 4 Mar 2006, 23:30, archived)
Inner, outer, inner, outer,
shake it all abouter
(, Sat 4 Mar 2006, 23:36, archived)