[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
How to tell if page was called secure or not
****** message to minivend-users from Kyle Cook <kyle@invisio.com> ******
Hi all!
Does anyone know of a simple way to replace a path
to a file depending on if the page was called through http
or https?
Example:
I have javascript running for mouseovers and in the
script I must preload images. However, because
it is not a standard html image call, Minivend can't
change the path info. So I need another way of
changing the path info depending on wether the
page was called via http or https.
Here is an example of a javascript line that can cause
a problem. It is in the special pages and the problem
is that some of those pages may be called via http
or https depending on what happens in the checkout
process.
infoafil_F2.src = "http://www.domain.com/images/pic.gif";
Thanks for any help,
Kyle Cook
http://www.invisio.com
Web site design, database driven sites,
and shopping cart programming.
Great sites, value priced!
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list