|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
center foldout menu
Hello, I have downloaded a script from DHTMLcentral. It's a foldout menu and it does not center on the page.
(I tried getting help at DHTMLcentral, but did not get it...) Since I need it to center I tried to code that, but I don't get it to work. I have tried numerous things and Im stuck. I hope someone can help me out with this. I will attach the complete script. So the problem is that I want to center the foldout menu (even when a user resizes the window). Thanks in advance for any help, P3x |
|
#2
|
||||
|
||||
|
The #divCont definition is the one you are after (the first one). It controls the container that the whole nav stits in. Change the "left" value to about 40%, rather than a pixel - that's pretty close.
|
|
#3
|
|||
|
|||
|
thank you
thanks, do you know if the script will work in netscape?
P3x |
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > center foldout menu |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|