Jump to content

Return address works in Firefox - does not work in IE7


tl8sch

Recommended Posts

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

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

- 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

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

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

<!--
<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.

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.