Jump to content
Kevin Castro

how to link another page using id

Recommended Posts

Hello folks,

i want to link the page from to another page

ex:

In my footer column, i've 5 types of products but when i click those products it links to product.html page.Actually In that product page there 5 no of products are listed.

when i click the product from index page.I want exact header location for the product..

 

Thanks in advance

Share this post


Link to post
Share on other sites

no actually i want when i click the product link in footer it goes to product.html page

eg:

footer products:

<a href="product.html'>one</a>

<a href="product.html'>two</a> (when i click this link it should go product.html page & show it in front what i clicked from index page)

Share this post


Link to post
Share on other sites

Then you would need to store these in a session, cookie, or web local storage as array of values, then landing on page read these values and output the products in the order they were stored.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...