Concept SoftwareConcept Software Forum
  Home | Log In | Register | Calendar | Search | Help
   
Concept Software Forum > SOLO > Suggestions & Feedback > javascript before doctype  
Forum Quick Jump
 
New Topic Post Reply Printable Version
[ Next Thread >> | Show Newest Post First ]

mwernsing
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined May 2004
Total Posts : 2
 
   Posted 5/27/2004 12:31 PM (GMT -5)    Quote This PostAlert An Admin About This Post.
Your application inserts the JavaScript below before the doctype I am entering in the custom html for my products: Authors -> Storefront -> Custom HTML
<SCRIPT LANGUAGE="JavaScript">
 var bNextButtonEnabled = false;
 var bNextButtonClicked = false;
 var bUsePreContinueHandling = false;
 function FormSubmitted()
 {
  PreContinue();
 }
</SCRIPT>
Any content before the doctype will trigger a bug in Internet Explorer 6 that results in pages being rendered in "quirks mode". This causes IE6 to emulate the incorrect box model of IE5.x/win. Ironic, a bug that unintentionally resurrects a bug from an older product that has been fixed in the current.
 
Regardless, as far as I can tell the JavaScript seems to be superfluous at least on the page I am looking at. http://www.softwarekey.com/products/product.asp?P=12520
 
It may be difficult to insert the script in the <head> portion of the doc where it really belongs. Alternatively, it could be inserted before your generated content in the <body> portion of the document. This will result in a document that will not validate with many doctypes but will not trigger this bug. The document in it's present form will not validate anyway.
 
Thanks,
 
Mike
Back to Top
 

woz
Forum Moderator



Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Jan 2004
Total Posts : 357
 
   Posted 5/31/2004 10:36 PM (GMT -5)    Quote This PostAlert An Admin About This Post.
I'll look into this. The code looks familiar...


Mike Wozniak
President

Concept Software, Inc.

Back to Top
 

woz
Forum Moderator



Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Jan 2004
Total Posts : 357
 
   Posted 6/1/2004 3:10 PM (GMT -5)    Quote This PostAlert An Admin About This Post.
Ok, we remember why this is there. We will get it removed in a future version of SOLO. It was used for a customer who wanted a shopping cart abandonment popup. We quickly prototyped it and used it for a while, but are not using it now.


Mike Wozniak
President

Concept Software, Inc.

Back to Top
 

mwernsing
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined May 2004
Total Posts : 2
 
   Posted 6/1/2004 3:17 PM (GMT -5)    Quote This PostAlert An Admin About This Post.
Thanks for your quick response!
Back to Top
 

woz
Forum Moderator



Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Jan 2004
Total Posts : 357
 
   Posted 10/21/2004 9:14 AM (GMT -5)    Quote This PostAlert An Admin About This Post.
This code has finally been removed from SOLO. If you have any other problems, let us know.


Mike Wozniak
President

Concept Software, Inc.

Back to Top
 
New Topic Post Reply Printable Version