Sliding Menu

User 40373 Photo


Ambassador
6 posts

ok I am using the text sliding menu that sits along the left side of browser window for a web site it is one of the snippets in CoffeeCup HTML Editor and it works fine when viewed with IE but no other browser.

In other words it slides down the left side as you scroll down webpage with IE but no other browser.

Any idea?
User 40373 Photo


Ambassador
6 posts

No one can tell me how to get that DHTML menu to slide in Opera or Firefox or better yet both?
User 463058 Photo


Ambassador
1,058 posts

Do you have a url we can look at? Fixed positioning may work, but can't be sure without seeing the page.
User 40373 Photo


Ambassador
6 posts

User 282670 Photo


Registered User
3,940 posts

I don't know the answer William but try looking here.
http://www.dynamicdrive.com/dynamicindex1/staticmenu.htm




User 463058 Photo


Ambassador
1,058 posts

I didn't see anything sliding in any browser. I see you already have javascript on the page to handle the sliding, but since it isn't working you can certainly try the code Bruzer suggested.

If you don't care about the menu sliding in IE6 you can avoid using javascript altogether and just add position:fixed styling to the css rule for #slide:

#slide {
position: absolute; /* IE6 will use this because it doesn't understand fixed positioning. */
position: fixed; /* All modern browsers will use this because it comes last */
left: 5px;
top: 5px;
visibility: visible;
}
User 40373 Photo


Ambassador
6 posts

The one from Dynamic drive doesn't work and the one I have now is from the CoffeeCup HTML editor and works in IE just not with any other browser.
User 282670 Photo


Registered User
3,940 posts

User 463058 Photo


Ambassador
1,058 posts

For me it wasn't even working in IE.
User 282670 Photo


Registered User
3,940 posts

his example-me either but the dynamic one worked in both for me. :D





Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.