Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/rapidhtml/html/webitects_1.html |
— | — | @@ -21,6 +21,8 @@ |
22 | 22 | #appeal-content { padding-right: 380px; } |
23 | 23 | .clear { clear: both; } |
24 | 24 | #donate { float: left; margin-left: -350px; width: 350px; } |
| 25 | + |
| 26 | + #zip { width: 2em; } |
25 | 27 | </style> |
26 | 28 | |
27 | 29 | <div class="ltr"> |
— | — | @@ -229,6 +231,21 @@ |
230 | 232 | if( count > 0 ){ |
231 | 233 | // show the second step with the error |
232 | 234 | $("#accordion").accordion( "activate" , 1 ); |
| 235 | + |
| 236 | + //we have clearly selected an amount before, make sure it is shown |
| 237 | + showAmount( $("input[name=amount]") ); |
| 238 | + |
| 239 | + // hacks for IE6/IE7 |
| 240 | + if (jQuery.browser.msie && jQuery.browser.version.substr(0,1)<8){ |
| 241 | + $("#change-amount").click( function(){ |
| 242 | + $("#donate").css("width","335px"); |
| 243 | + $("#step1accordion").show(); |
| 244 | + $("#step2accordion").hide(); |
| 245 | + }); |
| 246 | + $("#donate").css("width","335px"); |
| 247 | + $("#step1accordion").hide(); |
| 248 | + $("#step2accordion").show(); |
| 249 | + } |
233 | 250 | } |
234 | 251 | // Inline labels |
235 | 252 | $(".hint").ezpz_hint(); |
— | — | @@ -238,6 +255,18 @@ |
239 | 256 | showAmount( $("input[name=amount]") ); |
240 | 257 | $("#accordion").accordion("activate", 1); |
241 | 258 | $("#change-amount").show(); |
| 259 | + |
| 260 | + // hacks for IE6/IE7 |
| 261 | + if (jQuery.browser.msie && jQuery.browser.version.substr(0,1)<8){ |
| 262 | + $("#change-amount").click( function(){ |
| 263 | + $("#donate").css("width","335px"); |
| 264 | + $("#step1accordion").show(); |
| 265 | + $("#step2accordion").hide(); |
| 266 | + }); |
| 267 | + $("#donate").css("width","335px"); |
| 268 | + $("#step1accordion").hide(); |
| 269 | + $("#step2accordion").show(); |
| 270 | + } |
242 | 271 | } |
243 | 272 | |
244 | 273 | }); |