Kevin Castro Posted July 3, 2017 Share Posted July 3, 2017 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 Link to comment Share on other sites More sharing options...
dsonesuk Posted July 3, 2017 Share Posted July 3, 2017 So you only want to show the product from the clicked footer link instead of all 5 products, is that what you want? Link to comment Share on other sites More sharing options...
Kevin Castro Posted July 4, 2017 Author Share Posted July 4, 2017 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) Link to comment Share on other sites More sharing options...
dsonesuk Posted July 4, 2017 Share Posted July 4, 2017 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. Link to comment Share on other sites More sharing options...
Kevin Castro Posted July 4, 2017 Author Share Posted July 4, 2017 i don't want to store anything in the database its a static website Link to comment Share on other sites More sharing options...
dsonesuk Posted July 4, 2017 Share Posted July 4, 2017 ANY of those options I mention does not use a database, web storage or cookies use JavaScript, session uses server language like PHP. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now