PDA

View Full Version : Layers and tables


Juvanescence
05-08-2003, 01:18 AM
Is it possible to link layers to tables, or to put them inside the table? The problem I have got is that a client wants me to put a ready-made scroller into a centred table. The scroller is layer based and I can lay it out approximately, the problem is that because the main content table is centred whenever I resize the browser the table moves and the layer doesnt. Does this make sense to anyone.

He wants to use this scroller so any help you could give would help. I did suggest not centering the table but to insert a spacer as to get it almost centred but they are not to keen on this idea.

:( :help:

Juvanescence
05-08-2003, 01:28 AM
Im going to use flash instead. But if you are able to answer the question, it will come for another time.... :blink:

chelle
05-08-2003, 09:50 AM
Hi J,
You cannot put a layer inside a table, if you want to center a layer in a table, you can snap the layer into position using the onload or onresize command. If you are using dreamweaver you can download an extension for that at www.projectseven.com for free. It also has some fantastic help files for layered sites.

Juvanescence
05-08-2003, 11:59 AM
Thanks, in fact thats where my client got the scroller from. Il have to have look at a few more extensions from there to make my life easier.

:)

chelle
05-08-2003, 03:13 PM
I have used that same scroller several times, works great once you learn how to keep it in place. :lol:

Radu
05-09-2003, 12:11 AM
There might be a trick to do it.
You might use the <DIV> tag without any exact positioning and place it into the desired cell.
I remember doing this but can't find the code right now. Still it was not for a layer based animation so I'm not sure it will work.

-Ruairi

Juvanescence
05-09-2003, 05:19 AM
Originally posted by chelle@May 8 2003, 11:13 PM
I have used that same scroller several times, works great once you learn how to keep it in place. :lol:
You must teach me oh wise one....

:flowers: :stupid:

chelle
05-09-2003, 06:57 AM
Sure anytime. :D You can see an example here www.ovations.ca/design/index.htm
Not that I do that much html anymore.