View Full Version : Drop down menu system

12-07-2004, 03:57 PM
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

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/content_builder/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