View Single Post
  #1  
Old 03-12-2010, 07:47 PM
 
manishp manishp is offline
 

Advanced Member
  
Join Date: Jul 2009
Posts: 41
 

Default Anchoring using href="# and clean URL not working

I am trying to create a tabbed section on my product detail page and am using
<a href="#layer1">layer1</a> which works perfectly if I dont use clean URL

However, if I enable clean URL, clicking on the link goes to - www.mydomain.com/#layer1

as opposed to

www.mydomain.com/product1.html#layer1

Anything I am missing? I just want it to append the #layer1 to the current product URL as opposed to the homepage.

Here is an excerpt of the code:
<li class="active"><span class="leftspan-leftmosttab"></span><a href="#layer1"><span class="textspan">Recommended Products</span><span class="rightspan-middletab"></span></a><span class="clrb"></span></li>
<li class=""><span class="leftspan-middletab"></span><a href="#layer2"><span class="textspan">Send to Friend</span><span class="rightspan-rightmosttab"></span></a><span class="clrb"></span></li>
<li class=""><span class="leftspan-middletab"></span><a href="#layer3"><span class="textspan">Review</span><span class="rightspan-rightmosttab"></span></a><span class="clrb"></span></li>


Any help is highly appreciated.

Thanks so much for your time.
__________________
X-Cart: 4.2.1
Reply With Quote