Welcome, Guest ( Customer Panel | Login )




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

manilow
VP-CART New User

France
134 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

4679 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
0 Item(s)
$0.00