(My 4 questins at end after explination) The code below was provided to me
to "Popup" a window explaining what a Credit Card Verification Number is and
where to find it on a card... it is used as people enter their credit card
info on an ecommerce site. This is the first such site (Shopping Cart) I
have done and this code was provded by a user of the standard ASP Shopping
Cart software (CandyPress shopping cart.)
It works, but I don't think it is good code... but I haven't done ASP in a
long tme.
==========HERE IS THE CODE (FORMATTED FOR EASY READING)======= =====
<a href="<%=urlNon SSL%>Card_Verif _Examp.htm" TITLE="What is Card
Verification Number?"
onClick='window .open("<%=urlNo nSSL%>Card_Veri f_Examp.htm",
"cardverificati on",
"width=550,
height=610,
resizable=1,
scrollbars=1")
;return false;' target="_blank" > What is Card Verification Number? </a>
========== EASY READING FORMATTED CODE ENDS =============== =========
========== CODE STARTS - Exactly as it appears in program =====
<a href="<%=urlNon SSL%>Card_Verif _Examp.htm" TITLE="What is Card
Verification Number?"
onClick='window .open("<%=urlNo nSSL%>Card_Veri f_Examp.htm","c ardverification "
,"width=550,hei ght=610,resizab le=1,scrollbars =1");return false;'
target="_blank" >What is Card Verification Number?</a>
========= CODE ENDS =============== =============== ====
QUESTION 1: The code seems redundant to me with the reference to
"Card_Verif_Exa mp.htm" appearing twice.
QUESTION 2: What is the... TITLE="Bla Bla" part? I'm not familar with that
tag in an Anchor Link.
QUESTION 3: Is there a more simple way to create this code?
QUESTION 4: What is the "cardverificati on" paramater right after the
onClick='window .open("<%=urlNo nSSL%>Card_Veri f_Examp.htm", ???
thanks for any help on this - Will
to "Popup" a window explaining what a Credit Card Verification Number is and
where to find it on a card... it is used as people enter their credit card
info on an ecommerce site. This is the first such site (Shopping Cart) I
have done and this code was provded by a user of the standard ASP Shopping
Cart software (CandyPress shopping cart.)
It works, but I don't think it is good code... but I haven't done ASP in a
long tme.
==========HERE IS THE CODE (FORMATTED FOR EASY READING)======= =====
<a href="<%=urlNon SSL%>Card_Verif _Examp.htm" TITLE="What is Card
Verification Number?"
onClick='window .open("<%=urlNo nSSL%>Card_Veri f_Examp.htm",
"cardverificati on",
"width=550,
height=610,
resizable=1,
scrollbars=1")
;return false;' target="_blank" > What is Card Verification Number? </a>
========== EASY READING FORMATTED CODE ENDS =============== =========
========== CODE STARTS - Exactly as it appears in program =====
<a href="<%=urlNon SSL%>Card_Verif _Examp.htm" TITLE="What is Card
Verification Number?"
onClick='window .open("<%=urlNo nSSL%>Card_Veri f_Examp.htm","c ardverification "
,"width=550,hei ght=610,resizab le=1,scrollbars =1");return false;'
target="_blank" >What is Card Verification Number?</a>
========= CODE ENDS =============== =============== ====
QUESTION 1: The code seems redundant to me with the reference to
"Card_Verif_Exa mp.htm" appearing twice.
QUESTION 2: What is the... TITLE="Bla Bla" part? I'm not familar with that
tag in an Anchor Link.
QUESTION 3: Is there a more simple way to create this code?
QUESTION 4: What is the "cardverificati on" paramater right after the
onClick='window .open("<%=urlNo nSSL%>Card_Veri f_Examp.htm", ???
thanks for any help on this - Will
Comment