Now that you have the four images, lets put them together! Add the information below to your page: Custom StyleSheet
.banner { width: 100%; height: 200px; background: url(http://i259.photobucket.com/albums/hh311/hotwow/themes/styles/hdr_default_bkgd.png) repeat-x; }.titleimg2 { width: 100%; height: 200px; background: url(http://i259.photobucket.com/albums/hh311/hotwow/themes/styles/hdr_default_img.png) right center no-repeat; } .titlenm { width: 100%; height:200px; background: url(http://i259.photobucket.com/albums/hh311/hotwow/themes_old/test-site.png) 50% center no-repeat; }
<div id="titleimg"></div><table class="banner" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="titleimg2"><div class="titlenm"></div></td></tr></tbody></table><script language="javascript"> var cookie = readCookie("image"); var imagenm = cookie ? cookie : "blank"; document.getElementById('setImage').value = imagenm; setImageBox(imagenm); function setImageBox(imagenm) { if (imagenm == "blank") { var a = "<div style='background: url()></div>"; } else { var a = "<div style='position: absolute; left: 1%; height: 200px; width: 250px; background: url("; a += imagenm; a += ") no-repeat;'></div>"; } document.getElementById('titleimg').innerHTML = a; createCookie("image", imagenm, 365); } function readCookie(name) { var nameEQ = name + "="; var ca = document.cookie.split(';'); for(var j=0;j < ca.length;j++) { var c = ca[j]; while (c.charAt(0)==' ') c = c.substring(1,c.length); if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); } return null; } function createCookie(name,value,days) { if (days) { var date = new Date(); date.setTime(date.getTime()+(days*24*60*60*1000)); var expires = "; expires="+date.toGMTString(); } else expires = ""; document.cookie = name+"="+value+expires+"; path=/"; } </script>
<table border="0" cellpadding="0" cellspacing="5" width="100%"> <tbody><tr> <td align="right"> Image: <select id="setImage" onchange="setImageBox(this.value)"> <option value="blank">None </option><option value="http://i259.photobucket.com/albums/hh311/hotwow/themes/styles/img_bear.png">Druid, bear </option><option value="http://i259.photobucket.com/albums/hh311/hotwow/themes/styles/img_cat.png">Druid, cat </option><option value="http://i259.photobucket.com/albums/hh311/hotwow/themes/styles/img_moonkin.png">Druid, moonkin </option><option value="http://i259.photobucket.com/albums/hh311/hotwow/themes/styles/img_tree.png">Druid, tree </option><option value="http://i259.photobucket.com/albums/hh311/hotwow/themes/styles/img_hunter.png">Hunter </option><option value="http://i259.photobucket.com/albums/hh311/hotwow/themes/styles/img_mage.png">Mage </option><option value="http://i259.photobucket.com/albums/hh311/hotwow/themes/styles/img_rogue2.png">Rogue, mace </option><option value="http://i259.photobucket.com/albums/hh311/hotwow/themes/styles/img_rogue1.png">Rogue, swords </option><option value="http://i259.photobucket.com/albums/hh311/hotwow/themes/styles/img_pally.png">Paladin </option><option value="http://i259.photobucket.com/albums/hh311/hotwow/themes/styles/img_priest.png">Priest </option><option value="http://i259.photobucket.com/albums/hh311/hotwow/themes/styles/img_shaman.png">Shaman </option><option value="http://i259.photobucket.com/albums/hh311/hotwow/themes/styles/img_squirrel.png">Squirrel </option><option value="http://i259.photobucket.com/albums/hh311/hotwow/themes/styles/img_warlock.png">Warlock </option><option value="http://i259.photobucket.com/albums/hh311/hotwow/themes/styles/img_warrior1.png">Warrior, DPS </option><option value="http://i259.photobucket.com/albums/hh311/hotwow/themes/styles/img_warrior2.png">Warrior, prot </option></select> </td> </tr></tbody> </table>
Replace this code
function readCookie(name) { var nameEQ = name + "="; var ca = document.cookie.split(';'); for(var j=0;j < ca.length;j++) { var c = ca[j]; while (c.charAt(0)==' ') c = c.substring(1,c.length); if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); } return null; } function createCookie(name,value,days) { if (days) { var date = new Date(); date.setTime(date.getTime()+(days*24*60*60*1000)); var expires = "; expires="+date.toGMTString(); } else expires = ""; document.cookie = name+"="+value+expires+"; path=/"; }
with this code
<script src="http://www.axiomfiles.com/Files/243007/cookies.js"></script>
<style type="text/css">.banner { width: 100%; height: 200px; background: url(http://i259.photobucket.com/albums/hh311/hotwow/themes/styles/hdr_default_bkgd.png) repeat-x; }.titleimg2 { height: 200px; background: url(http://i259.photobucket.com/albums/hh311/hotwow/themes/styles/hdr_default_img.png) right center no-repeat; }.titlenm { height: 200px; background: url(http://i259.photobucket.com/albums/hh311/hotwow/themes_old/test-site.png) 50% center no-repeat; }</style><table border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td align="right">Image:<select id="setImage" onchange="setImageBox(this.value)"><option value="blank">None</option><option value="http://i259.photobucket.com/albums/hh311/hotwow/themes/styles/img_bear.png">Druid, bear</option><option value="http://i259.photobucket.com/albums/hh311/hotwow/themes/styles/img_cat.png">Druid, cat</option><option value="http://i259.photobucket.com/albums/hh311/hotwow/themes/styles/img_moonkin.png">Druid, moonkin</option><option value="http://i259.photobucket.com/albums/hh311/hotwow/themes/styles/img_tree.png">Druid, tree</option><option value="http://i259.photobucket.com/albums/hh311/hotwow/themes/styles/img_hunter.png">Hunter</option><option value="http://i259.photobucket.com/albums/hh311/hotwow/themes/styles/img_mage.png">Mage</option><option value="http://i259.photobucket.com/albums/hh311/hotwow/themes/styles/img_rogue2.png">Rogue, mace</option><option value="http://i259.photobucket.com/albums/hh311/hotwow/themes/styles/img_rogue1.png">Rogue, swords</option><option value="http://i259.photobucket.com/albums/hh311/hotwow/themes/styles/img_pally.png">Paladin</option><option value="http://i259.photobucket.com/albums/hh311/hotwow/themes/styles/img_priest.png">Priest</option><option value="http://i259.photobucket.com/albums/hh311/hotwow/themes/styles/img_shaman.png">Shaman</option><option value="http://i259.photobucket.com/albums/hh311/hotwow/themes/styles/img_squirrel.png">Squirrel</option><option value="http://i259.photobucket.com/albums/hh311/hotwow/themes/styles/img_warlock.png">Warlock</option><option value="http://i259.photobucket.com/albums/hh311/hotwow/themes/styles/img_warrior1.png">Warrior, DPS</option><option value="http://i259.photobucket.com/albums/hh311/hotwow/themes/styles/img_warrior2.png">Warrior, prot</option></select></td></tr></tbody></table> <div id="titleimg"></div><table class="banner" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="titleimg2"><div class="titlenm"></div></td></tr></tbody></table><script src="http://www.axiomfiles.com/Files/243007/cookies.js"></script><script language="javascript">var cookie = readCookie("image");var imagenm = cookie ? cookie : "blank";document.getElementById('setImage').value = imagenm;setImageBox(imagenm);function setImageBox(imagenm) { if (imagenm == "blank") { var a = "<div style='background: url()></div>"; } else { var a = "<div style='position: absolute; left: 1%; height: 200px; width: 250px; background: url("; a += imagenm; a += ") no-repeat;'></div>"; } document.getElementById('titleimg').innerHTML = a; createCookie("image", imagenm, 365);}</script>
Control Panel > Style & Colors > Banner ImageI used my "test-site 4" logo here: Check the "Center image on site pages" box, then click "Save Changes"
<style type="text/css">.PageWrapper { background: url(http://i201.photobucket.com/albums/aa236/Mottie1/testsite/styles/BloodElfLeft.gif) left top no-repeat; }#aspnetForm { background: url(http://i201.photobucket.com/albums/aa236/Mottie1/testsite/styles/BloodElfRight.gif) right top no-repeat; width:98%; margin: 0px auto; }body { background: #000000 url(http://i201.photobucket.com/albums/aa236/Mottie1/testsite/styles/BloodElfTile.gif) center 8px repeat-x; }.BannerArea { background: url(http://i201.photobucket.com/albums/aa236/Mottie1/testsite/styles/BloodElfCenter.gif) center -20px no-repeat; height:350px; }.BannerArea img { position: relative; top:75px;}</style>