Results 1 to 3 of 3

Thread: Show Hint move box

  1. #1
    Join Date
    Aug 2007
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Show Hint move box

    1) Script Title: Show Hint script

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex16/showhint.htm

    3) Describe problem: The script is set to display the hint box to the right of the link. I need to have the box to the left of the link (having it directly under wouldn't hurt either). Anyway, I have tried modifying the horizontal_offset and this does move the box more to the left, however it also covers up the link. Since I am calling this script several times it makes all the boxes jumbled as well. Any help would be greatly appreciated.

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

    Default

    To get the script to always show the hint to the left, try commenting out the below line inside the following (in red):

    Code:
    //if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
    edgeoffset=dropmenuobj.contentmeasure+obj.offsetWidth+parseInt(horizontal_offset)
    DD Admin

  3. The Following User Says Thank You to ddadmin For This Useful Post:

    Ralze34 (06-02-2009)

  4. #3
    Join Date
    Aug 2007
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by ddadmin View Post
    To get the script to always show the hint to the left, try commenting out the below line inside the following (in red):

    Code:
    //if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
    edgeoffset=dropmenuobj.contentmeasure+obj.offsetWidth+parseInt(horizontal_offset)
    Great that worked perfect! I have now switched the vertical_offset to 15 (which drops it just below the link) and I am working on adjusting the horizontal_offset a little more to get it lined up as I need it. My goal is to have the left line of the hint box matchup with the first letter in the link. Thanks!
    Last edited by Ralze34; 06-02-2009 at 05:42 PM.

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
  •