Anchor tags - by jeffunik72 - on WordPress WooCommerce support

This topic has 2 replies, 2 voices, and was last updated 9 years ago ago by Eva Kemp

  • Avatar: jeffunik72
    jeffunik72
    Participant
    April 7, 2015 at 19:56

    Im having an issue with the anchor tags assigned to rows to do a one page type of deal…

    I have 26 rows with all of them having the anchor tag brands-a all the way to z.

    at the top of the page I created a text block with a div like the following

    <div id="brands_a_z">
    <ul class="brands_index">
    	<li class="firstItem"><a href="#brands-a">a</a></li>
    	<li><a href="#brands-b">b</a></li>
    	<li><a href="#brands-c">c</a></li>
    	<li><a href="#brands-d">d</a></li>
    	<li><a href="#brands-e">e</a></li>
    	<li><a href="#brands-f">f</a></li>
    	<li><a href="#brands-g">g</a></li>
    	<li><a href="#brands-h">h</a></li>
    	<li><a href="#brands-i">i</a></li>
    	<li><a href="#brands-j">j</a></li>
    	<li><a href="#brands-k">k</a></li>
    	<li><a href="#brands-l">l</a></li>
    	<li><a href="#brands-m">m</a></li>
    	<li><a href="#brands-n">n</a></li>
    	<li><a href="#brands-o">o</a></li>
    	<li><a href="#brands-p">p</a></li>
    	<li><a href="#brands-q">q</a></li>
    	<li><a href="#brands-r">r</a></li>
    	<li><a href="#brands-s">s</a></li>
    	<li><a href="#brands-t">t</a></li>
    	<li><a href="#brands-u">u</a></li>
    	<li><a href="#brands-v">v</a></li>
    	<li><a href="#brands-w">w</a></li>
    	<li><a href="#brands-x">x</a></li>
    	<li><a href="#brands-y">y</a></li>
    	<li><a href="#brands-z">z</a></li>
    	<li class="lastItem"><a href="#brands-1">0-9</a></li>
    </ul>
    </div>
    

    and well the only way to get it to go to the assigned letter is to enter a full html link which causes the page to refresh and load to the anchor it was supposed to… but I dont want it to refresh … I want the anchors to work within that page

    1 Answer
    Avatar: Eva
    Eva Kemp
    Support staff
    April 8, 2015 at 08:50

    Hello,

    Unfortunately there is no other possibility. Sorry.

    Regards,
    Eva Kemp.

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.