Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Static Menu Script - insert javascript in menu in place of url ???

  1. #11
    Join Date
    Nov 2008
    Posts
    31
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Hi Arie,

    I was able to figure out how to add a "scroll to top" feature to each of the a class="menu_item" headings.
    However, I can't figure out how to make that work in my first menu heading which is the "refresh" (Main List) script. This is on line 2158.
    Can you help with that?

    http://drumlesssplitsongs.com/

    Thanks.
    Last edited by vegeman; 09-09-2013 at 01:07 PM.

  2. #12
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,369
    Thanks
    31
    Thanked 141 Times in 136 Posts
    Blog Entries
    32

    Default

    Hi Larry,
    I haven't looked at how you fixed it, but remove your last changes and just replace
    Code:
    '<div style="position: fixed; text-align: center; right: 146px; top: 188px; height:0px">'
    with:
    Code:
    '<div style="position: fixed; text-align: center; right: 146px; top: 188px; height:0px" onclick="window.scrollTo(0, 0);">'
    That's all. Good luck.

  3. #13
    Join Date
    Nov 2008
    Posts
    31
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thanks, you're a genius!

Similar Threads

  1. Static Menu Script
    By freestyle in forum Bug reports
    Replies: 0
    Last Post: 03-24-2008, 08:41 PM
  2. Static Menu script.... need pull out feature
    By develonet in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 01-15-2008, 09:47 AM
  3. Replies: 0
    Last Post: 04-18-2007, 09:24 PM
  4. Static Menu Script- Open links in new window?
    By Naild in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 03-14-2005, 08:48 AM
  5. Static Menu Script II question
    By |-Iceman-| in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 01-20-2005, 01:56 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
  •