Showing layer beside a link

C

Chris

I am working with javascript showing/hiding layers.

If I am using a link's onclick to show a layer how do I make the layer
show beside the link? There are many links on the page that may
trigger the one and same layer so absolute positioning doesn't work
for me.

Many thanks,

Chris
 
C

Chris

Hide and show layer using the its style display property. Hide the layer
initially.
<a href...>foo</a>
<div style="display:'none';" ...> bar</div>

Mick

Thanks Mick!

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top