Salvo Posted November 23, 2002 Posted November 23, 2002 Hi, I have some long info in some products and I have decide to put a (go to top of page) tag.. this sort <a href="#top"> this way which I know, and it works fine in default.php but in product_info.php doesn't work, it send me to default.php #top How do I make it to stay in the same page (product_info.php) and just go (TOP OF PAGE)? thanks Salvo
Guest Posted November 23, 2002 Posted November 23, 2002 http://www.123ward.com/HTMLGuide/hypertext_links.htm http://www.sev.com.au/webzone/html/anchors.asp
burt Posted November 23, 2002 Posted November 23, 2002 <a href="<?php echo $PHP_SELF; ?>#top"> might work.
Guest Posted November 23, 2002 Posted November 23, 2002 #top But where is #top defined on default.php burt? It looks like it might actaully work. I wish I was at home on my box to try this out on my store . .. . Actaully I just might leave my buddies house at 3:30am to go home and figure it out! lol :) Basically what I was saying in my ^above reply, learn "HTML Anchors" Sorry if I was so blunt . ..
Salvo Posted November 23, 2002 Author Posted November 23, 2002 <a href="<?php echo $PHP_SELF; ?>#top"> might work. Hi, this will turn to (product_info.php#top) I need to go on top of the same page which is a product page ie: product_info.php?cPath=1_17&products_id=1 Thanks.. salvo
burt Posted November 23, 2002 Posted November 23, 2002 <a href="<?php echo $REQUEST_URI; ?>#top">top</a>
Salvo Posted November 23, 2002 Author Posted November 23, 2002 <a href="<?php echo $REQUEST_URI; ?>#top">top</a> spot on, that is very good and nice...... Thanks Burt Salvo
Recommended Posts
Archived
This topic is now archived and is closed to further replies.