
January 12th, 2004
10:34 PM

how to make ypSlideOutMenu work for centered 750px site on diff. screen resolutions?
Hi all,
Just grabbed the YoungPup Javascript SlideOutMenu to use on a site I'm making. The site is 750px wide, and the whole thing is centered. I want to have a 750px wide navigation bar utilizing the ypSlideOutMenu somewhere near the top, perhaps under a header image. However, in order for the slideoutmenu to work, you need to define exactly where the "slide-outs" will appear, down to the last pixel (example: new ypSlideOutMenu("menu1", "down", 5, 80, 170, 59) ). On a 800x600 monitor, the sides of my site touch the screen, so the 5 pixels from the left would work if I wanted one of the menu buttons to also touch the side. But what about a 1024x768 or higher? The "slide-out menu" would be positioned all the way over at the left, when the site is still center-aligned.
Maybe I'm just forgetting something here, or maybe you just can't do what I'm wanting.
Anybody know?
Thanks in advance.

January 13th, 2004
01:14 AM
Neverside Newbie
Status: Offline!
I don't think it is possible to use ypSlideOutMenu's that way with a centered layout.
You might want to consider CSS Dropdowns.
// freal
[edit] Yes! I am now known as FREAL! 
___________________
Tables for layout is an abuse. -- Internet Explorer is unsafe.
Last edited by freak, January 13th, 2004 10:52 PM (Edited 1 times)

January 13th, 2004
06:34 AM
Neversidian
Status: Offline!
Originally posted by freak
// freal
Ha!
___________________
angelessme, antagonising neverside members, staff and administration since 2001.

January 13th, 2004
05:45 PM
Originally posted by freak
I don't think it is possible to use ypSlideOutMenu's that way with a centered layout.
You might want to consider CSS Dropdowns.
// freal
i would have liked to have used youngpup's, but doesn't look like it's goign to happen. oh well
i think the link you gave me will do just the trick. if not, you'll hear from me again very shortly! 

January 14th, 2004
07:56 PM
a teen that is living a life, but without any of you...
Status: Offline!
Nothing is impossible in the world of CSS, but inorder to accomplish this feat, you'll need some time and energy
Here is where you can find out how to do it, just look at his source: http://www.solardreamstudios.com/
Hope this helps 