Chrisj Posted January 25, 2010 Share Posted January 25, 2010 I see these lines in the script I'm using. Can you tell me what they mean and what they do? Thanks <!--[onload_300;block=div;when [var.show_login_box]=1;comm]--> <!--[onload_337;block=div;when [var.show_login_box]!=1;comm]--> Quote Link to comment Share on other sites More sharing options...
manwhoeatsrats Posted January 25, 2010 Share Posted January 25, 2010 Well the <!-- is the start of an HTML comment and the --> is the end of an html comment. so I would guess that it is just a comment; however, HTML comments have been used to hide javaScripts from old web browsers. something like this. <script language="JavaScript"> <!-- Here you put your JS code. Old browsers will treat it as an HTML comment. //--> </script> so the real question is this. do you see a script tag before the comment? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.