cameronbailey Posted November 7, 2007 Posted November 7, 2007 I'm nearing completion on my store. Everything is table free with a few minor things. I've come across some code in checkout_payment.php and I'm not sure what to do with it. Should be around line 250. if ( ($selection[$i]['id'] == $payment) || ($n == 1) ) { echo ' <tr id="defaultSelected" class="moduleRowSelected" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, ' . $radio_buttons . ')">' . "\n"; } else { echo ' <tr class="moduleRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, ' . $radio_buttons . ')">' . "\n"; } As it is, I've removed all of the other table tags from the page. No payment options are showing up anymore. I'm not sure exactly what this code does, so I don't know how to convert it to something that will work. Any help is appreciated. Thanks! Quote
sfgreenwood Posted November 26, 2007 Posted November 26, 2007 I'm nearing completion on my store. Everything is table free with a few minor things. I've come across some code in checkout_payment.php and I'm not sure what to do with it. Should be around line 250. *snip* As it is, I've removed all of the other table tags from the page. No payment options are showing up anymore. I'm not sure exactly what this code does, so I don't know how to convert it to something that will work. Any help is appreciated. Thanks! For some reason the code is generating some javascript within the table row. The $radio_buttons variable is presumably generating some table cells. You should be able to retain the javascript within a div or span and turn the output of $radio_buttons into a list. Quote
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.
Note: Your post will require moderator approval before it will be visible.