Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Save Exact PHP Scroll Location?


danaman

Recommended Posts

I hope I'm understanding you correctly.

 

If you're on page1.php and you want a link to goto page2.php, but on page2.php you want the person to go to the middle of the page that talks about "pizza".

 

 

1. Goto page2.php and select the text "pizza" or simply edit it so it looks like this:

<a name="pizza"></a>

 

2. Goto page1.php and where the person clicks on the link, make it link to page2.php, but add the #pizza at the end of the link.. It'll look like this:

<a href="page2.php#pizza">Pizza</a>

 

 

Kevin

"What I didn't know yesterday, I know today & will remember tomorrow"

(By Kwalker)

 

What do you see when you open up the tep_database-pr2.2-CVS.pdf file that came with your osCommerce download?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...