Results 1 to 7 of 7

Thread: Position Drop Down Menu

  1. #1
    Join Date
    Nov 2006
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Position Drop Down Menu

    1) Script Title: AnyLink Vertical Menu

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...nkvertical.htm

    3) Describe problem: I know that this script is set to automatically adjust to the browser so it displays no matter what. BUT the default display is to the right. I want to override that. I want the menu to display to the left of my navigation. It looks awful with it displaying by default to the right.

    I really appreciate the help and apologize if this has already been answered elsewhere because I searched!

    Thanks!

    PS = Here is the test site if anyone is interested to see what I mean. thepcden

  2. #2
    Join Date
    Sep 2006
    Location
    England
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Talking

    1) Script Title: AnyLink Vertical Menu

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...nkvertical.htm

    3) Initiate solution: Change the following from;

    Code:
    var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
    to;

    Code:
    var totaloffset=(offsettype=="right")? what.offsetLeft : what.offsetTop;
    4) Hope this helps!

    Regards,
    Ges.

  3. #3
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Hmm Ges your solution definitely won't work. All it does is switch the "totaloffset" variable to contain what.offsetTop instead.

    I'm pretty sure this question has already been answered already in the past, but the solution is just to find the line:

    Code:
    if (windowedge-dropmenuobj.x-obj.offsetWidth < dropmenuobj.contentmeasure)
    and comment it:

    Code:
    //if (windowedge-dropmenuobj.x-obj.offsetWidth < dropmenuobj.contentmeasure)
    BTW Selina, please note that your page is currently in violation of our usage terms, since the credit notice doesn't appear inline on the page. Please reinstate the credit notice:
    Last edited by ddadmin; 11-30-2006 at 01:02 PM.

  4. #4
    Join Date
    Sep 2006
    Location
    England
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Red face

    I do apologise ddadmin - I had quickly centered the whole thing and then made the change. Then it appears to work. On closer inspection, now, it's not the proper solution. Yours is.
    Thank you for pointing that out!
    I'll be more awake and aware in the future.
    Regards,
    Ges.

  5. #5
    Join Date
    Nov 2006
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    First off, I want to say thank you for helping me with this.

    Second, in regards to this:
    BTW Selina, please note that your page is currently in violation of our usage terms, since the credit notice doesn't appear inline on the page. Please reinstate the credit notice:
    I just linked to the script (which does have the full credit) so that it made my code easier to decipher. The Javascript of it links to vertdrop.js
    and the style sheet links to vertdrop.css. I figured this was okay?

    BUT

    If the whole thing has to be on every page, then I will certainly comply. Please let me know.

    Thanks again for the help.

  6. #6
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Hi Selina:
    Not a problem. Regarding the usage terms, yes, the credit notice itself should be within the visible source of the page (when the user views source). Please see 3) here: http://dynamicdrive.com/notice.htm

  7. #7
    Join Date
    Nov 2006
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    How helpful was that link!

    I was going to ask if I could still remote link with the credit below it... and I can!

    Thanks again!!!!!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •