Announcement

Collapse
No announcement yet.

Show More script Jumps to the top of the page

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Show More script Jumps to the top of the page

    I've added a Show More to the SFNT screen to give the reviews being displayed a more uniform look. When you click the Show More it works but you don't know it because it jumps to the top of the page.

    Not sure what might be needed. I'm not getting any errors. The Show More is here in the Latest Reviews section.

    Could the issue be due to the use of
    Code:
     <a href="#">Show more</a>
    on the page? It seems to product this URL https://domain.com/Merchant2/#
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

    #2
    LOL - I fixed it. I guess I could remove the post, but to answer how I did it, I used a tip given to me from another issue I was having. I added onclick="return false;" to the <a> tag

    Code:
    <a href="#" onclick="return false;">
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

    Comment

    Working...
    X