PDA

View Full Version : Same page Anchors in Safari and Firefox



dems
21 Sep 2010, 02:16 PM
Hello,

Trying to get an anchor to work on the same page in a shopping cart in all browsers. Below works with IE & chrome and naturally not the more "important" ones :) .

This is what I have:



<a href="#morecol" >View More Colors Below</a>

and



<a id="morecol" name="#morecol">
<div class="ProductSubtitle" style="padding:10px; margin-top:10px;">
<h3>{$msg.product.secondary_images}</h3>
</div>
</a>



The page is here (link in question is on right side under "items in stock" is VIEW MORE COLORS BELOW):

http://shoppingforachange.org/ixxocart/products/Glass_Beaded_Bracelet-2-4.html

and should jump to

http://shoppingforachange.org/ixxocart/products/Glass_Beaded_Bracelet-2-4.html#morecol

problem is, in safari and ff, when you go to the link, it goes to

http://shoppingforachange.org/#morecol

rather than the same dynamic page that this code exists in.


Anyone know of a solution for Safari and FF, its driving me nuts!