tl8sch Posted February 13, 2007 Share Posted February 13, 2007 I am sure this is just newbie difficulties - please will someone set me right! I have (what I regard as) an html product page - but as I am using php include to show a common header and menu it is saved with extension .php and fired up on a cgi server. It has several full width images as layer 1 with "buy-me" buttons sitting on top as layer 2. Clicking the "buy-me" buttons takes the focus off to a shopping cart with a return address return=http://ccgi.handsel.plus.com/fash0107/party2/f_party2.php%231stop where "1stop" is the id for a hidden anchor. This works in Firefox and I can place similar anchors wherever I need down the page. In I.E.7 the focus always comes back to the top of the page. I realise there are differences in how Firefox and IE operate - but until now I have found that anything I got working in Firefox would also work in IE. What have I missed this time? Best wishes.....tl8sch Quote Link to comment https://forums.phpfreaks.com/topic/38363-return-address-works-in-firefox-does-not-work-in-ie7/ Share on other sites More sharing options...
fenway Posted February 13, 2007 Share Posted February 13, 2007 return=? Where is this line from? Not HTML... Quote Link to comment https://forums.phpfreaks.com/topic/38363-return-address-works-in-firefox-does-not-work-in-ie7/#findComment-184032 Share on other sites More sharing options...
tl8sch Posted February 14, 2007 Author Share Posted February 14, 2007 This is the complete code for one of my "buy-me" buttons. <table class="buyF" id="6233" style="position: absolute; left:492px; top: 737px; height:25px; width:107px" cellspacing="0" cellpadding="0" border="0" > <tr> <td align="left" width="25%">6233</td> <td align="center" width="37%"> <a href="http://ww9.aitsafe.com/cf/add.cfm?userid=B059001&product=6233++Deeley+Bobber/Wand+AB+Hearts&price=0.75&units=12&qty=12&return=http://ccgi.handsel.plus.com/fash0107/party2/f_party2.php%231stop"> <img border="0" id="img6233" src="../buttonB1.jpg" height="15" width="50" alt="BUY ME" onmouseover="FP_swapImg(1,0,/*id*/'img6233',/*url*/'../buttonB2.jpg')" onmouseout="FP_swapImg(0,0,/*id*/'img6233',/*url*/'../buttonB1.jpg')" onmousedown="FP_swapImg(1,0,/*id*/'img6233',/*url*/'../buttonB3.jpg')" onmouseup="FP_swapImg(0,0,/*id*/'img6233',/*url*/'../buttonB2.jpg')" style="fp-btn: Soft Capsule 1; fp-proportional: 0; fp-orig: 0" title="BUY ME" /></a></td> <td align="right" width="30%">£0.75</td> </tr> <tr> <td colspan="3" align="center" valign="bottom" height="10">Deeley Bobber/ Wand AB Hearts.3c</td> </tr> </table> I have been using it successfully in it's html form (with the return address ending .....return=http://ccgi.handsel.plus.com/fash0107/party2/f_party2.html%231stop ) on strictly html pages in my website for over a year now. I am now trying to use it in its php form (as shown). I have found that it works if I view it with Firefox - but when I view it with Internet Explorer 7 I always come back from the cart to the top of the page instead of to the anchor point I want. Please try going to http://ccgi.handsel.plus.com/fash0107/hair-things/f_hair-things.php - click on any button at the bottom of the page and then in the cart click continue shopping to get back. Do this first using Firefox then using Internet Explorer 7 and you will see my problem live. Best wishes....tl8sch Quote Link to comment https://forums.phpfreaks.com/topic/38363-return-address-works-in-firefox-does-not-work-in-ie7/#findComment-184100 Share on other sites More sharing options...
tl8sch Posted February 14, 2007 Author Share Posted February 14, 2007 Sorry! my code for my button did not get picked up correctly - here it is again without using quotes :- <table class="buyF" id="6233" style="position: absolute; left:492px; top: 737px; height:25px; width:107px" cellspacing="0" cellpadding="0" border="0" > <tr> <td align="left" width="25%">6233</td> <td align="center" width="37%"> <a href="http://ww9.aitsafe.com/cf/add.cfm?userid=B059001&product=6233++Deeley+Bobber/Wand+AB+Hearts&price=0.75&units=12&qty=12&return=http://ccgi.handsel.plus.com/fash0107/party2/f_party2.php%231stop"> <img border="0" id="img6233" src="../buttonB1.jpg" height="15" width="50" alt="BUY ME" onmouseover="FP_swapImg(1,0,/*id*/'img6233',/*url*/'../buttonB2.jpg')" onmouseout="FP_swapImg(0,0,/*id*/'img6233',/*url*/'../buttonB1.jpg')" onmousedown="FP_swapImg(1,0,/*id*/'img6233',/*url*/'../buttonB3.jpg')" onmouseup="FP_swapImg(0,0,/*id*/'img6233',/*url*/'../buttonB2.jpg')" style="fp-btn: Soft Capsule 1; fp-proportional: 0; fp-orig: 0" title="BUY ME" /></a></td> <td align="right" width="30%">£0.75</td> </tr> <tr> <td colspan="3" align="center" valign="bottom" height="10">Deeley Bobber/ Wand AB Hearts.3c</td> </tr> </table> I hope it comes through correctly this time. Best wishes....tl8sch Quote Link to comment https://forums.phpfreaks.com/topic/38363-return-address-works-in-firefox-does-not-work-in-ie7/#findComment-184111 Share on other sites More sharing options...
tl8sch Posted February 14, 2007 Author Share Posted February 14, 2007 It did not! This all important line goes in the gap at line 5 <a href="http://ww9.aitsafe.com/cf/add.cfm?userid=B059001&product=6233++Deeley+Bobber/Wand+AB+Hearts&price=0.75&units=12&qty=12&return=http://ccgi.handsel.plus.com/fash0107/party2/f_party2.php%231stop"> ....and I suspect it is the code at the end of that line causing the problems. best wishes...tl8sch Quote Link to comment https://forums.phpfreaks.com/topic/38363-return-address-works-in-firefox-does-not-work-in-ie7/#findComment-184121 Share on other sites More sharing options...
tl8sch Posted February 14, 2007 Author Share Posted February 14, 2007 <!-- <a href="http://ww9.aitsafe.com/cf/add.cfm?userid=B059001&product=6233++Deeley+Bobber/Wand+AB+Hearts&price=0.75&units=12&qty=12&return=http://ccgi.handsel.plus.com/fash0107/party2/f_party2.php%231stop"> --> Let's try again! EDITED BY WILDTEEN88: It helps if you wrap the code ( ) tags around your posted code. Quote Link to comment https://forums.phpfreaks.com/topic/38363-return-address-works-in-firefox-does-not-work-in-ie7/#findComment-184128 Share on other sites More sharing options...
tl8sch Posted February 14, 2007 Author Share Posted February 14, 2007 Thank you for the helpful edit WILDTEEN88 - I am still learning how to use forums. Best wishes...tl8sch Quote Link to comment https://forums.phpfreaks.com/topic/38363-return-address-works-in-firefox-does-not-work-in-ie7/#findComment-184936 Share on other sites More sharing options...
tl8sch Posted February 15, 2007 Author Share Posted February 15, 2007 Sorry - but no-one has actually suggested any answer. I just do not understand why IE7 is being more picky than Firefox. Best wishes...tl8sch Quote Link to comment https://forums.phpfreaks.com/topic/38363-return-address-works-in-firefox-does-not-work-in-ie7/#findComment-185705 Share on other sites More sharing options...
fenway Posted February 15, 2007 Share Posted February 15, 2007 Are you sure the entire query string makes its way to the PHP script? Quote Link to comment https://forums.phpfreaks.com/topic/38363-return-address-works-in-firefox-does-not-work-in-ie7/#findComment-185803 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.