Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

demon_510

Archived
  • Posts

    18
  • Joined

  • Last visited

Everything posted by demon_510

  1. I had <!-- $headcontent --> in my html page and nothing. As a matter of fact non of my other js on my pages worked right either, then i just added the js from the source it was calling on and added it to my page and it worked.
  2. function popupWindow(url) { window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,res izable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,le ft=150') } var selected; var submitter = null; function submitFunction() { submitter = 1; } function selectRowEffect(object, buttonSelect) { if (!selected) { if (document.getElementById) { selected = document.getElementById('defaultSelected'); } else { selected = document.all['defaultSelected']; } } if (selected) selected.className = 'moduleRow'; object.className = 'moduleRowSelected'; selected = object; // one button is not an array if (document.checkout_payment.payment[0]) { document.checkout_payment.payment[buttonSelect].checked=true; } else { document.checkout_payment.payment.checked=true; } } function rowOverEffect(object) { if (object.className == 'moduleRow') object.className = 'moduleRowOver'; } function rowOutEffect(object) { if (object.className == 'moduleRowOver') object.className = 'moduleRow'; } function check_form() { var error = 0; var error_message = "Errors have occured during the process of your form.\n\nPlease make the following corrections:\n\n"; var payment_value = null; if (document.checkout_payment.payment.length) { for (var i=0; i<document.checkout_payment.payment.length; i++) { if (document.checkout_payment.payment[i].checked) { payment_value = document.checkout_payment.payment[i].value; } } } else if (document.checkout_payment.payment.checked) { payment_value = document.checkout_payment.payment.value; } else if (document.checkout_payment.payment.value) { payment_value = document.checkout_payment.payment.value; } if (payment_value == "cc") { var cc_owner = document.checkout_payment.cc_owner.value; var cc_number = document.checkout_payment.cc_number.value; var cvvnumber = document.checkout_payment.cvvnumber.value; if (cc_owner == "" || cc_owner.length < 3) { error_message = error_message + "* The owner's name of the credit card must be at least 3 characters.\n"; error = 1; } if (cc_number == "" || cc_number.length < 10) { error_message = error_message + "* The credit card number must be at least 10 characters.\n"; error = 1; } if (cvvnumber.length > 4) { error_message = error_message + "*** The credit card validation number must be 4 digits or less. \n"; error = 1; } if (cvvnumber == ""|| cvvnumber.length < 3) { error_message = error_message + "*** The credit card validation number must be at least 3 digits . \n"; error = 1; } } if (payment_value == null && submitter != 1) { error_message = error_message + "* Please select a payment method for your order.\n"; error = 1; } if (error == 1 && submitter != 1) { alert(error_message); return false; } else { return true; } } function couponpopupWindow(url) { window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,re sizable=yes,copyhistory=no,width=450,height=280,screenX=150,screenY=150,top=150,l eft=150') } I entered the code that was located in mysite into the actual sts_template.html and then saved it and voilla no problem.
  3. I am still at a loss as to why my "click to enlarge" is not working. I have tried just using the sts_template.html file and still get the same thing. I looked at the output source code and used the link to enlarge it and it works. It has to be some sort of java error. check it out
  4. Anyone have a solution to why the click to enlarge in the product_info file is not working?
  5. I just downloaded this contrib and set it up on a new osc install and the same thing is happening for me. I was just using the sts_template.html that comes with the download just to see what is looks like and nadda. I have even linked the stylesheet to its absolute path.
×
×
  • Create New...