javascript - Link a #div and URL -
hey guys possible link div , url? want 2 links in 1 . 1 link target #div , 1 target actual site url in div.
i targeting div need url load in div.
<a href="http://site.com/product/product-link" class="class-here">
i can access div using url:
<a href="#modal" class="class-here">
better way describe this, not work obviously:
<a href="http://site.com/product/product-link" target="#modal" class="second">
i hiding div #modal in these tags:
{{#product_page}} content here {{/product_page}}
hard 1 explain, more detail let me know.
you close, this:
<a href="http://site.com/product/product-link#modal">
you can link id appending end of url, example, here link comment
Comments
Post a Comment