JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
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  
Old October 30th, 2003, 07:02 AM
P3x P3x is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 9 P3x User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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
Attached Files
File Type: txt foldoutmenu.txt (8.6 KB, 391 views)

Reply With Quote
  #2  
Old October 30th, 2003, 08:02 AM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 6 m 11 sec
Reputation Power: 8
Send a message via ICQ to stumpy Send a message via MSN to stumpy
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.

Reply With Quote
  #3  
Old October 30th, 2003, 08:10 AM
P3x P3x is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 9 P3x User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
thank you

thanks, do you know if the script will work in netscape?

P3x

Reply With Quote
  #4  
Old October 30th, 2003, 08:29 AM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 6 m 11 sec
Reputation Power: 8
Send a message via ICQ to stumpy Send a message via MSN to stumpy
Eeeew. No. Try it and see.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJavaScript Development > center foldout menu


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway