Post by jmagro » Thu Nov 06, 2014 4:19 am

This is a dumb question but I can't figure it out. I have an "empty" link (ie: a href="#") and I don't want it to do anything but every time I click it, it takes me back to my home page. It's a menu placeholder that I've used on several other websites with no issue but it seems to happen with Opencart only. I'm using version 1.5.6.4, clean install with the default theme that's been slightly modified (CSS only). I've searched for a solution but maybe I'm using the wrong terminology ...

New member

Posts

Joined
Thu May 12, 2011 3:31 am

Post by uksitebuilder » Thu Nov 06, 2014 6:27 am


ImageImageImageImageImage

For Friendly Professional Support - Click Here


User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by jmagro » Fri Nov 07, 2014 1:42 am

Thank you! That was a perfect quick fix! I am developing my own responsive theme (until OC 2.0 is stable) and that was a big part of my mobile-friendly menu. I have used some of your vqmod extensions as well and they are fantastic. Thanks again! ;D

For the record, I just added the code
onclick="return false;"
to my link tag and it worked perfectly. No more redirect.

New member

Posts

Joined
Thu May 12, 2011 3:31 am
Who is online

Users browsing this forum: Bing [Bot] and 50 guests