Image Rollover =/= Random Title? |
Image Rollover =/= Random Title? |
*Kathleen* |
![]()
Post
#1
|
Guest ![]() |
Before I initiated the rollover on my banner, the random title script worked for me perfectly. Now that I have the rollover effect, it doesn't seem to work.
![]() CODE <html>
<head> <script type='text/javascript'> shuffle = 1; //Replace 1 with 0 if you want to temporarily turn off this script //you can keep adding more titles by copying over, as long as you change the number title=new Array(); title[0] = "i want to have your abortion."; title[1] = "i am jack's smirking revenge."; title[2] = "go ahead, cornelius, you can cry."; title[3] = "candy stripe a cancer ward. it's not my problem."; title[4] = "suddenly you become euphoric, docile."; title[5] = "i felt like destroying something beautiful."; title[6] = "you're not your f**king khakis."; title[7] = "you're the same decaying organic matter as everything else."; title[8] = "on a long enough timeline, the survival rate for everyone drops to zero."; if (shuffle == 1) { var randsg = Math.floor(Math.random()*title.length); document.title = title[randsg]; } </script> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <!-- ImageReady Preload Script (ban.psd) --> <script type="text/javascript"> <!-- function newImage(arg) { if (document.images) { rslt = new Image(); rslt.src = arg; return rslt; } } function changeImages() { if (document.images && (preloadFlag == true)) { for (var i=0; i<changeImages.arguments.length; i+=2) { document[changeImages.arguments[i]].src = changeImages.arguments[i+1]; } } } var preloadFlag = false; function preloadImages() { if (document.images) { aboutme_over = newImage("images/aboutme-over.gif"); layout_over = newImage("images/layout-over.gif"); links_over = newImage("images/links-over.gif"); brushes_over = newImage("images/brushes-over.jpg"); preloadFlag = true; } } // --> </script> <!-- End Preload Script --> </head> <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="preloadImages();"> <!-- ImageReady Slices (ban.psd - Slices: 01, 02, 03, 04, 05, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 23, aboutme, brushes, layout, links) --> <table id="Table_01" width="800" height="425" border="0" cellpadding="0" cellspacing="0"> <tr> <td> <img src="images/img01.jpg" width="132" height="74" alt="" /></td> <td> <img src="images/img02.gif" width="144" height="74" alt="" /></td> <td> <img src="images/img03.gif" width="185" height="74" alt="" /></td> <td colspan="3"> <img src="images/img04.gif" width="149" height="74" alt="" /></td> <td> <img src="images/img05.gif" width="161" height="74" alt="" /></td> <td width="29" height="425" rowspan="8"> <img src="images/spacer.gif" width="29" height="425" alt="" /></td> </tr> <tr> <td> <img src="images/img07.gif" width="132" height="171" alt="" /></td> <td> <img src="images/img08.gif" width="144" height="171" alt="" /></td> <td> <img src="images/img09.gif" width="185" height="171" alt="" /></td> <td colspan="3"> <img src="images/img10.gif" width="149" height="171" alt="" /></td> <td> <img src="images/img11.gif" width="161" height="171" alt="" /></td> </tr> <tr> <td> <img src="images/img12.gif" width="132" height="108" alt="" /></td> <td> <img src="images/img13.gif" width="144" height="108" alt="" /></td> <td> <img src="images/img14.gif" width="185" height="108" alt="" /></td> <td colspan="3"> <img src="images/img15.gif" width="149" height="108" alt="" /></td> <td> <img src="images/img16.gif" width="161" height="108" alt="" /></td> </tr> <tr> <td rowspan="4"> <img src="images/img17.gif" width="132" height="60" alt="" /></td> <td rowspan="4"> <img src="images/img18.gif" width="144" height="60" alt="" /></td> <td rowspan="4"> <img src="images/img19.gif" width="185" height="60" alt="" /></td> <td rowspan="4"> <img src="images/img20.gif" width="27" height="60" alt="" /></td> <td> <a href="http://alluringdejection.retrokill.org/aboutme.html" target="_self" onmouseover="changeImages('aboutme', 'images/aboutme-over.gif'); return true;" onmouseout="changeImages('aboutme', 'images/aboutme.gif'); return true;" onmousedown="changeImages('aboutme', 'images/aboutme-over.gif'); return true;" onmouseup="changeImages('aboutme', 'images/aboutme-over.gif'); return true;"> <img name="aboutme" src="images/aboutme.gif" width="60" height="13" border="0" alt="about me." /></a></td> <td rowspan="4"> <img src="images/img22.gif" width="62" height="60" alt="" /></td> <td rowspan="4"> <img src="images/img23.jpg" width="161" height="60" alt="" /></td> </tr> <tr> <td> <a href="http://alluringdejection.retrokill.org/layout.html" target="_self" onmouseover="changeImages('layout', 'images/layout-over.gif'); return true;" onmouseout="changeImages('layout', 'images/layout.gif'); return true;" onmousedown="changeImages('layout', 'images/layout-over.gif'); return true;" onmouseup="changeImages('layout', 'images/layout-over.gif'); return true;"> <img name="layout" src="images/layout.gif" width="60" height="15" border="0" alt="layout." /></a></td> </tr> <tr> <td> <a href="http://alluringdejection.retrokill.org/links.html" target="_self" onmouseover="changeImages('links', 'images/links-over.gif'); return true;" onmouseout="changeImages('links', 'images/links.gif'); return true;" onmousedown="changeImages('links', 'images/links-over.gif'); return true;" onmouseup="changeImages('links', 'images/links-over.gif'); return true;"> <img name="links" src="images/links.gif" width="60" height="13" border="0" alt="links." /></a></td> </tr> <tr> <td> <a href="http://alluringdejection.retrokill.org/brushes.html" target="_self" onmouseover="changeImages('brushes', 'images/brushes-over.jpg'); return true;" onmouseout="changeImages('brushes', 'images/brushes.jpg'); return true;" onmousedown="changeImages('brushes', 'images/brushes-over.jpg'); return true;" onmouseup="changeImages('brushes', 'images/brushes-over.jpg'); return true;"> <img name="brushes" src="images/brushes.jpg" width="60" height="19" border="0" alt="brushes." /></a></td> </tr> <tr> <td width="771" height="12" colspan="7"> <img src="images/spacer.gif" width="771" height="12" alt="" /></td> </tr> </table> <!-- End ImageReady Slices --> </body> </html> |
|
|
![]() ![]() |