Click to See Complete Forum and Search --> : Javascript inside a <TABLE>?


WebNewbie
08-05-2003, 03:24 PM
Hi people,

If this has been covered, I'm sorry! I tried to Search for it but couldn't find anything.

What I need to do is add a javascript (a rotating banner of pics) to a TABLE . I've tried to do that, using the same <TR> tag as normal text or pics by themselves, but when I view the page I see the banner overlapping the text to the right of it. They are not aligned left/right of each other. If I take the javascript out and add just a normal <TR> then it works fine.

I hope I'm explaining correctly :confused:

Thanks in advance!

WN

David Harrison
08-05-2003, 03:52 PM
Does this help any?

WebNewbie
08-05-2003, 05:51 PM
That would be perfect. Now I would just need to be able to fit it into a <TABLE> (to the left of another table) and automatically rotate the images and I'd be set!

LOL

WN

David Harrison
08-06-2003, 07:34 AM
You mean like this?

WebNewbie
08-06-2003, 07:43 AM
Bingo!

2 more questions.. if you haven't had enough ;)

1) can it recycle? right now it does its job once and then stops.
2) can it be made so that the images can have a <a href> tag?

you rock, lava! (har har, no pun... ok so yes it was)

WN

David Harrison
08-06-2003, 07:58 AM
You mean like this then:

WebNewbie
08-06-2003, 08:09 AM
Alas! That's what I need. Exactly.

Thanks! and may I use that code or is it (c) ? =)

WN

David Harrison
08-06-2003, 08:17 AM
Of course you can use it, feel free. I'm just happy to help. :)