Forum Home
Press F1
 
Thread ID: 94676 2008-11-07 07:10:00 How to Dim out a line of HTML code John W (523) Press F1
Post ID Timestamp Content User
718428 2008-11-07 07:10:00 Hi there

Id like to Dim out a line of html code, so I can switch it on and off as I require the scripting code to work.

So, what text do I put before the line of code to get websites to ignore that particular line, and thus switch it off.

Thanks

John in Mosgiel.
John W (523)
718429 2008-11-07 07:18:00 <!-- this is an html comment -->

or

<!--
this is a comment
over multiple
lines
-->
dyewitness (9398)
718430 2008-11-07 10:22:00 <!-- This is a comment for javascript -->

<!--
var arr = new Array(3);
arr[0] = "Jani";
arr[1] = "Hege";
arr[2] = "Stale";

document.write(arr + "<br />");
document.write(arr.push("Kai Jim") + "<br />");
document.write(arr);
-->
tonyluo (14285)
1