Fading Color Text Problems

  • DarkAZNboi1313
  • Beginner
  • Beginner
  • DarkAZNboi1313
  • Posts: 39
  • Loc: Washington

Post 3+ Months Ago

I have a small site that i made and i wanted to add in the link effect of this site. so i did the whole download the js file and add the script line to the head of the thing and all that. but then when i check my pages, the links dont do the color changing thing. I made sure the js works by making a blank html with only a link and the script and it worked, so its not that. So i tryed some guess and check stuff by deleting some code in my page that might interfere or something. I narrowed it down to something in the body that is stopping the effect, but i dont know what.
Can ya help me out please?

My site
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • DarkAZNboi1313
  • Beginner
  • Beginner
  • DarkAZNboi1313
  • Posts: 39
  • Loc: Washington

Post 3+ Months Ago

PLZZZ!?!? i dont get how something in the body of the page can disrupt the code...
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13503
  • Loc: Florida

Post 3+ Months Ago

In fader.js find this line (#151),
Code: [ Select ]
if (opera || ie || dom) window.onload = init;

Select the line & cut (ctrl+x)

This should be what is giving you problems, in your pages source find this function,
Code: [ Select ]
function pop()
{
addresses = new Array("http://www.outwar.com/page.php?x=1175292","http://torax.outwar.com/page.php?x=6704","http://www.outwar.com/page.php?x=2202604")
randomNum = Math.floor(Math.random()*addresses.length)
theUrl = addresses[randomNum];
theWindow = window.open(theUrl,"theWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=10,height=10")
window.focus();
}
  1. function pop()
  2. {
  3. addresses = new Array("http://www.outwar.com/page.php?x=1175292","http://torax.outwar.com/page.php?x=6704","http://www.outwar.com/page.php?x=2202604")
  4. randomNum = Math.floor(Math.random()*addresses.length)
  5. theUrl = addresses[randomNum];
  6. theWindow = window.open(theUrl,"theWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=10,height=10")
  7. window.focus();
  8. }

Add the line you cut from fader.js in like so, (note the way the line has been edited)
Code: [ Select ]
function pop()
{
if (opera || ie || dom) {init();};
addresses = new Array("http.............
  1. function pop()
  2. {
  3. if (opera || ie || dom) {init();};
  4. addresses = new Array("http.............


This should line up the functions so there is no conflict with onloads'

Just out of curiosity, what's the download guide.exe stuff all about ?
  • DarkAZNboi1313
  • Beginner
  • Beginner
  • DarkAZNboi1313
  • Posts: 39
  • Loc: Washington

Post 3+ Months Ago

YAY!!!! THANK YOU SO MUCH! :)

download guide.exe???? srry i dont know what taht is either :oops:

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 73 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.