V
vandenberc
I am trying to setup an html page. I have a button and when you click
on it I want it to go to either http:///.../demo.htm or
https://..../demo.htm based on whether or not you went through the
crypted site or the uncrypted site. I know that I can make a relative
address but since the link that I want is not on the same server I
can't do that. I just want a script that says
if secure
document.load "https:// this secure web address"
else
document.load "http://this non secure address"
I am new to programming and I would really appreciate any guidance.
Thanks.
on it I want it to go to either http:///.../demo.htm or
https://..../demo.htm based on whether or not you went through the
crypted site or the uncrypted site. I know that I can make a relative
address but since the link that I want is not on the same server I
can't do that. I just want a script that says
if secure
document.load "https:// this secure web address"
else
document.load "http://this non secure address"
I am new to programming and I would really appreciate any guidance.
Thanks.