rilpoint_mw113

Template:Tech Events

(Difference between revisions)
Line 45: Line 45:
function customizePage(){
function customizePage(){
var headingsArray = document.getElementsByTagName('h3');
var headingsArray = document.getElementsByTagName('h3');
 +
alert("0");
var pageType=document.getElementsByClassName('justToExtractPageType');
var pageType=document.getElementsByClassName('justToExtractPageType');
 +
alert("1");
var pType="Tech Monitor";
var pType="Tech Monitor";
 +
alert("2");
var pType=pageType[0].childNodes[0].nodeValue
var pType=pageType[0].childNodes[0].nodeValue
 +
alert("3");
var eventHeadingColor="#000000";
var eventHeadingColor="#000000";
 +
alert("4");
if(pType=="Biotechnology"){
if(pType=="Biotechnology"){
 +
alert("5");
eventHeadingColor='#017A37';}
eventHeadingColor='#017A37';}

Revision as of 06:13, 29 September 2010

[[_Tech_Events_Archive_}}}|Archive }}}]]
[[Category:]]

[[Category:]]