[Htmlvalidator-help] Validator button hiding
Brought to you by:
mgueury
From: Tibor B. <bal...@gm...> - 2006-06-23 16:17:06
|
Dear Marc! This code doesn't hide the validate button, the last rows of the validateHtml method of TidyValidate object. 1.) Open the page's source. 2.) Open validator options and set sgml parser. 3.) Open validator options again and set tidy parser. the code: if( res.algorithm=="sp" ) { var button = document.getElementById("tidy-online-button"); button.hidden=false; } fixing: document.getElementById("tidy-online-button").hidden = res.algorithm!="sp"; Regards Tibor, Balogh |