...

View Full Version : stop site jumping to top of page



shaunsc
02-11-2010, 01:24 PM
hi
i dont know if anyone can help but i have a web site www.homebrewcentregy.com with a seprate shopping cart system.Which is very good and dont want to move, the point is if you add an item that is further down the page and add it to the basket it automatically takes you back to the top of the page,i want it to actually stay at the postition of were the item is and leave a green tick so then it will show the item has been added.

i am looking to replicate sommething like this web site does

http://www.matchlesshomebrewing.co.uk/menu/&category=1&cat_name=Beer%20and%20Cider

i have been building my web site with wysiwyg web builder.
i have placed a post someone mentioned that it could done with ajax but no luck in resoleving this matter

here is the code to the button that is being used at the moment

<form action='http://www.romancart.com/cart.asp' method=post>
<input type=hidden name=itemcode value='1391'>
<input type=hidden name=storeid value='XXXXX'>
<SCRIPT LANGUAGE="JavaScript" SRC="http://www.remoteprice.com/data.asp?storeid=XXXXX&itemcode=1391&type=1"></script>
Qty:&nbsp;<input type=text name=quantity size=2 maxlength=6 value=1>&nbsp;<input type=submit value='Add to basket'>
&nbsp;<SCRIPT LANGUAGE="JavaScript">document.write(roc_rdd_available_1391);</SCRIPT>

payment by pay pal

Fumigator
02-11-2010, 05:35 PM
Can you control the URL of the return from romancart.com? If you do, you can insert an anchor in the url which will bring the page view down to wherever you place the anchor.

shaunsc
02-11-2010, 05:53 PM
yes in roman cart i can put a return url on the products

christinaR
02-11-2010, 07:33 PM
Hi, if you're still looking for someone to fix this, we might be of help.
Please contact me so we could discuss this further.

-thanks!

shaunsc
02-12-2010, 11:58 AM
hi yes please - Sent pm
regards shaun

shaunsc
02-13-2010, 10:11 PM
Work now started on site

shaunsc
02-19-2010, 01:46 PM
resolved



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum