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

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -