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]--> Link to comment https://forums.phpfreaks.com/topic/189751-help-with-interpreting-these-html-lines/ 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? Link to comment https://forums.phpfreaks.com/topic/189751-help-with-interpreting-these-html-lines/#findComment-1001427 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.