osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

rc3 onload="selectRowEffect(this, 0)" error in IE

This is a discussion on rc3 onload="selectRowEffect(this, 0)" error in IE within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; On a default install of rc3 IE shows "Error on page" in the task bar - left side. i have ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Installation issues

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 08-25-2006, 05:05 PM
neil's Avatar
Active Member
 
Join Date: Nov 2002
Posts: 245
Thanks: 9
Thanked 7 Times in 6 Posts
Rep Power: 7
neil is on a distinguished road
Default rc3 onload="selectRowEffect(this, 0)" error in IE

On a default install of rc3 IE shows "Error on page" in the task bar - left side.
i have narrowed this down to this code in the body tag.
Code:
onload="selectRowEffect(this, 0)"
What does this onload control & any suggestions on preventing the error in IE?
__________________
HTH
Neil
www.12website.com

"You can have everything in life that you want if you will just help enough other people get what they want."
Zig Ziglar
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 08-25-2006, 06:42 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,062
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default RE: rc3 onload="selectRowEffect(this, 0)" error in

I think this is a hack to pre-select the payment type - memory is a bit fuzzy. It really should only be on the checkout payment page, but we have not gotten around to making a new template for it. You can delete it if you like, or just make a new main template for the checkout payment pages and only have that template load the javascript...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 08-25-2006, 07:31 PM
neil's Avatar
Active Member
 
Join Date: Nov 2002
Posts: 245
Thanks: 9
Thanked 7 Times in 6 Posts
Rep Power: 7
neil is on a distinguished road
Default RE: rc3 onload="selectRowEffect(this, 0)" error in

Thanks Michael,
I understand this up the part:
Quote:
and only have that template load the javascript...
I'll delete it for ther time being.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 08-25-2006, 10:26 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,062
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default RE: rc3 onload="selectRowEffect(this, 0)" error in

Ok, here goes:

Remove the offending javascript from your main_page.tpl.php, then create a new main_page.tpl.php, except name it main_checkout.tpl.php and add the javascript back into this template file.

Then have the checkout_payment.php page use the new main_checkout.tpl.php file instead of the original main_page.tpl.php file. That should solve the issue and allow you to have your default payment module auto selected during checkout...

I will leave you to sweat out the details, but you get the idea.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 08-25-2006, 10:51 PM
neil's Avatar
Active Member
 
Join Date: Nov 2002
Posts: 245
Thanks: 9
Thanked 7 Times in 6 Posts
Rep Power: 7
neil is on a distinguished road
Default RE: rc3 onload="selectRowEffect(this, 0)" error in

Thanks Michael,
That is the part I understand.

I will sweat out the details:
telling / having / asking the checkout_payment.php page to use the new main_checkout.tpl.php
and then remembering that every change I make in main_page.tpl.php to duplicate in main_checkout.tpl.php
Thanks again.
__________________
HTH
Neil
www.12website.com

"You can have everything in life that you want if you will just help enough other people get what they want."
Zig Ziglar
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 09-18-2006, 08:19 AM
Member
 
Join Date: Aug 2004
Posts: 46
Thanks: 2
Thanked 4 Times in 3 Posts
Rep Power: 0
jbanda
Default RE: rc3 onload="selectRowEffect(this, 0)" error in

Okay, I'm having a problem "sweating out the details"...how do I call the new main_checkout.tpl.php from checkout_payment.php?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Remove "QTPRO" for "Option Type Feature" adam71o osCMax v2 Customization/Mods 3 01-10-2007 10:32 AM
Error while modifying "Welcome Guest!" greeting firebird_411 osCommerce 2.2 Modification Help 1 02-25-2006 10:06 PM
"Price" and "Add to Cart" button inside midwestwebsites osCMax v2 Customization/Mods 3 11-14-2005 05:13 AM
Clicking on "Admin" gets error unable to connect t secretagentwoman osCommerce 2.2 Installation Help 2 02-23-2004 12:28 PM
Define main page error - "file not writeable" mark754 osCMax v1.7 Discussion 4 01-16-2004 10:18 AM


All times are GMT -8. The time now is 12:03 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax