Conditional display based on HTTPS
I have some javascript code that pulls in a weather feed and when the visitor goes to check out via HTTPS, they get that secure/nonsecure warning. I want to put an IF statement in the template that says if HTTPS, do not display the weather feed. Seems simple, but I do not know the syntax.
Any help?
__________________
-Ken
X-Cart User / Developer Since April 2003
(Varying versions, multiple client sites, 3.x through 4.4.x)
www.pointbweb.com
|