Results 1 to 1 of 1

Thread: Drop down menu system

  1. #1
    Join Date
    Dec 2004
    Nelspruit South Africa
    Thanked 0 Times in 0 Posts

    Default 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

    I guess this is where the alignment takes place but how can I position this where I need it. 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