Hi is there a way to change table's cell background colour based on cell content ??
I created a small javascript to do that and it works in a normal browser but I cannot get it running in TiddlyWiki any idea how to do this??? any advice is appreciated here is my script <script> function myFirmware(){ for(var i=0, l2; l2=document.getElementsByClassName("firmware")[i]; i++){ var l2rs = l2.innerHTML; if (l2rs !== "Y") { l2.className += " red"; } else { l2.className += " green"; } } } </script> -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/a2d7992a-e01e-427b-b85a-631750a8d895%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.