Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Layers

Status
Not open for further replies.

Caden

Programmer
Dec 9, 2001
101
CA
Hey Tek-Tips...so i'm no stranger to building websites, but i've never used layers in HTML and i'm having an issue.

What i'm trying to do is this:

I have a flash movie (my links) on the far left of the screen. Now it is a popup menu, and from the left, takes up 213 pixels, probably only about 100 of thoes are from the links you can see, you scroll over a link and it opens more links to the right (basic pop-up) that's another approx 113 pixels.

what I want to be able to do, is have text in that additional 113 pixels and when I scroll over the menu, for the pop-up, to cover the text that may be in it's way.

I figure I have to use the "layer" command, but i've never done it, and although i'm reading, it is going slowly.

Thanks
Caden
 
For menu systems similar to what you describe I have used the <div> tag.

You put HTML inside a DIV and then move it around, make it visible or invisible. You can also change which &quot;layer&quot; it is on with the z-order parameter.

I have even stuck Flash objects inside DIVs and it worked well. The only problem I have found with this is that the form <select> item will always apear over anything else no matter what z-order you set. You actually have to make the <select> invisible if it is under a <div> that you want to cover it.

If you need help with any specific part of your menu system post some code and we'll take a look.

-Have fun.


Travis Hawkins
BeachBum Software
travis@cfm2asp.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top