VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Problems and bugs
 checkjavascriptstatus
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

manilow
VP-ASP New User

France
106 Posts

Posted - March 04 2012 :  06:20:51  Show Profile  Visit manilow's Homepage  Reply with Quote
Whether Javascript is activated or not, should be checked by the function checkjavascriptstatus(). If the specified checkingurl ("shopcheckjavascript.asp") is found, then the session value javascriptstatus should be set to "Yes".

However, by including shopcheckjavascript.asp in the shoppage_header.htm, javascriptstatus is set to "Yes" systematically, javascript activated or not.

I suggest to check javascript compatability by the following changes:

Change in shoppage_header.htm
<body>
to:
<body<%checkJavaScript%>>


Insert in shop$db.asp

Sub checkJavaScript
if session("javascriptstatus")="" then
response.Write(" onload=""javascript:checkjavascriptstatus();""")
end if
end sub


As soon as session("javascriptstatus") is set to "Yes", it will not be checked again at every page load (for quicker responsiveness).

Erik
www.AquaThermia.com

support
Administrator

4266 Posts

Posted - March 05 2012 :  08:23:40  Show Profile  Visit support's Homepage  Reply with Quote
Hi Erik,

Great post. We will look at implementing this into the next release

Thanks!

Cam Flanigan
VP-ASP Cart Support

Follow us on Twitter:
http://www.twitter.com/vpasp

************************************
Did you know VPASP now offers premium Cloud based e-commerce web hosting?

Ask me for more details on how we can help you with a complete solution to your
online needs.
************************************
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000