Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
Old Oct 9th, 2006, 12:33 PM   #1
Ribbott
Newbie
 
Join Date: Oct 2006
Posts: 4
Rep Power: 0 Ribbott is on a distinguished road
dropdown menu location problems

So I'm using someone else's script for the dropdown menus I'm using on my site, but it's making the menus drop down in the wrong place... I don't know much (read: anything) about java, but I was able to decipher it to the point that I think is the problem:

showhide(dropmenuobj.style, e, "visible", "hidden") dropmenuobj.x=getposOffset(obj, "left") dropmenuobj.y=getposOffset(obj, "top") dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px" dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"


The menus now drop down 2/3 of the way down the screen and 2/3 of the way across. I've had one person (who also knows nothing about javascript) say that it might have something to do with centering issues, which would be at the html level.

http://www.geocities.com/boyscouttroop49/index2.html

Yes, I know geocities is bad. Yes, it's getting a real domain. Probably as soon as I finish this.

Any help is much appreciated.
Ribbott is offline   Reply With Quote
 

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Java Popup Menu titaniumdecoy Java 7 Mar 12th, 2006 11:17 AM
dropdown menu with persistence? kerriganm HTML / XHTML / CSS 11 Dec 17th, 2005 2:33 PM
Need help with a realtime branching menu Zeteg JavaScript and Client-Side Browser Scripting 11 Aug 27th, 2005 11:36 AM
Help! I have a problem thomas55 C++ 1 Apr 24th, 2005 1:16 PM
airport Log program using 3D linked List : problem reading from file gemini_shooter C++ 0 Mar 2nd, 2005 4:12 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:50 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC