-
Drop down menu system
How can I realign the drop down to the main menu on a horizontal menu system, I am working on an ASP Conversion of this script, IE populated from a database and dont quite understand your positioning script
<quote>Response.Write "function getposOffset(what, offsettype){" & Vbcrlf
Response.Write "var totaloffset=(offsettype==""left"")? what.offsetLeft : what.offsetTop;" & Vbcrlf
Response.Write "var parentEl=what.offsetParent;" & Vbcrlf
Response.Write "while (parentEl!=null){"
Response.Write "totaloffset=(offsettype==""left"")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;" & Vbcrlf
Response.Write "parentEl=parentEl.offsetParent;" & Vbcrlf
Response.Write "}" & Vbcrlf
Response.Write "return totaloffset;" & Vbcrlf
Response.Write "}" & Vbcrlf
<quote>
I guess this is where the alignment takes place but how can I position this where I need it.
http://www.webtech.co.za/lowveldnet/...er/default.asp is where its at if you want to see the problem I am experiencing, Unfortunately ASP doesn't do this job and Javascript is more than I am used to.
Guy McLaren
Last edited by guymclaren; 12-07-2004 at 04:00 PM.
Reason: subject sucks
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks