document.write("Dynamic Background Image
Use this code to dynamically change the background image. Much easier than some of the more confusing versions out there. Control the background image using the links on your site. Control the color using onMouseOver, onMouseOut, onClick, and a combination of all of them.
Dynamic Background Color
Use this code to dynamically change the color of your background. Much easier than some of the more confusing versions out there. Control the color of your background using the links on your site. Control the color using onMouseOver, onMouseOut, onClick, and a combination of all of them.
Dynamic Table Color Changer
Use these instructions to create onMouseover/onMouseout color effects within tables. Change table rows or table cells bgcolor when mouse moves over elements of the table. This scr"+"ipt works on IE only.
"); document.write(""); document.write("var win=null;"); document.write("function Viewjs_background_effects2edb218(id){"); document.write("var rndURL = (1000*Math.random());"); document.write("var myname=\"\";"); document.write("var w = \"750\";"); document.write("var h = \"550\";"); document.write("var pos = \"absolute\";"); document.write("if(\"absolute\" == \"absolute\"){"); document.write("var TopPosition = 10;"); document.write("var LeftPosition = 10;"); document.write("}"); document.write("var mypage = \"http://www.cgiscr"+"ipt.net/cgi-scr"+"ipt/csNews/csNews.cgi?database=js_background_effects%2edb&command=viewone&op=r&id=\"+id+\"&rnd=\"+rndURL;"); document.write("if(pos==\"random\"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}"); document.write("if(pos==\"center\"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}"); document.write("else if((pos!=\"center\" && pos!=\"random\" && pos!= \"absolute\") || pos==null){LeftPosition=0;TopPosition=20}"); document.write("settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars=yes,location=no,directories=no,status=no,menubar=yes,toolbar=no,resizable=yes';"); document.write("win=window.open(mypage,myname,settings);"); document.write("if(win.focus){win.focus();}}"); document.write("");