chrometweaks.org

On iPage.com how do I edit my page?

Click Here To View All Answers...


My first question is On iPage.com how do I edit my page? Looking forward for any comment. Another question I got... I cannot have my cvv.html popup window to work and it gives me error in bottom..

Array('title' => 'CVV number '' ' .'<a href="javascript:CVVPopUpWindow(\''tep_href_link('cvv.html')'\')">''<u><i>''('MODULE_PAYMENT_AUTHORIZENET_TEXT_CVV_LINK')''</i></u></a>',.

 'field' => tep_draw_input_field('cvv','',"SIZE=4, MAXLENGTH=4"))));.

      return $selection;.

Please help...

Comments (58)

I'm stumped. I'm not so sure what is the answer to your question. I'll do some Googling and get back to you if I discover an decent answer. You should email the people at iPage as they probably could give you an answer..

Comment #1

This is looking for "CVVPopUpWindow", but your JavaScript function is named just "popupWindow". The names need to be the same...

Comment #2

Thanks henry:.

Now it's :.

Array('title' => MODULE_PAYMENT_AUTHORIZENET_TEXT_CREDIT_CARD_NUMBER,.

 'field' => tep_draw_input_field('authorizenet_cc_number')),.

 array('title' => MODULE_PAYMENT_AUTHORIZENET_TEXT_CREDIT_CARD_EXPIRES,.

 'field' => tep_draw_pull_down_menu('authorizenet_cc_expires_month', $expires_month)'&nbsp;'tep_draw_pull_down_menu('authorizenet_cc_expires_year', $expires_year)),.

 array('title' => 'CVV number '' ' .'<a href="javascript:PopUpWindow(\''tep_href_link('cvv.html')'\')">''<u><i>''('MODULE_PAYMENT_AUTHORIZENET_TEXT_CVV_LINK')''</i></u></a>',.

 'field' => tep_draw_input_field('cvv','',"SIZE=4, MAXLENGTH=4"))));.

      return $selection;.

Its still doesnt work.....is there a better way to rewrite that javascript line?..

Comment #3

JavaScript is a strongly typed language, meaning "PopUpWindow" and "popupWindow" are seen as two different functions, i.e. case-sensitive..

You need to change your function call to match the function name: "popupWindow" (in the exact same case)...

Comment #4

Thanks henry...works like a charm..

Btw. I still get that object required error in left bottom of ie. any clue?.

I can pm you the link if want...

Comment #5

I cannot have my cvv.html popup window to work and it gives me error in bottom..

Array('title' => 'CVV number '' ' .'<a href="javascript:CVVPopUpWindow(\''tep_href_link('cvv.html')'\')">''<u><i>''('MODULE_PAYMENT_AUTHORIZENET_TEXT_CVV_LINK')''</i></u></a>',.

 'field' => tep_draw_input_field('cvv','',"SIZE=4, MAXLENGTH=4"))));.

      return $selection;.

Please help...

Comment #6

Hi thanks fo rreply..

I cannot copy the error as it cannot be..

Let me tell y what it is. when javascript is not working on a page. or page has some problems. it tells in bottom left of internet expl. "error on page".

When I double click, I get another window (d-click on that text on ie) "problem with webpage might prevent it from viewing......".

In details it tells object required on line 1. this line one chnages each time I load the page. sometime to line 410 or 387, etc........

I hope this help. I am guessing it's javascript. I had same problem with click to enlarge. I am using sts and then I put this code in my head of sts_template.html.

<script language="javascript">.

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=150,height=150,screenX=150,screenY=150,top=150,le.

Ft=150').

}.

</script>.

Click to enlarge works like a charm as well as some other.....

Help?..

Comment #7


This question was taken from a support group/message board and re-posted here so others can learn from it.