The Exiled Ninja
Please log in or register.

The Exiled Ninja

A gamers clan for just about everything with a focus on Runescape
HomeHome  PortalPortal  FAQFAQ  MemberlistMemberlist  RegisterRegister  Log inLog in  Runescape  Generators  

Share | 

 [javascript] lights off effect

Go down 

Posts : 16
Points : 46
Reputation : 0
Join date : 2010-10-21
Age : 27
Location : at the desk

PostSubject: [javascript] lights off effect   Wed Apr 20, 2011 12:06 pm

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript" src=""></script>
<script type="text/javascript">
   var im2 = new Image();
   im2.src = '';
      var w = $(window), dimmer = $('<div style="position:fixed;z-index:-1;top:0;left:0;display:none;background-color:#000;"><\/div'),
      im1 = $('#onoff').toggle(lightsOut, lightsOn).css({zIndex: 11, position: 'relative', cursor: 'pointer'}).attr('src');
      function dresize(){dimmer.css({height: w.height(), width: w.width()});}
      function lightsOut(){this.title = this.alt = 'Lights On'; this.src = im2.src; dimmer.stop().css({zIndex: 10}).animate({opacity: 0.65, duration: 'slow'});}
      function lightsOn(){this.title = this.alt = 'Lights Off'; this.src = im1; dimmer.stop().css({zIndex: -1}).animate({opacity: 0, duration: 'slow'});}
      $('body').append(dimmer.css({opacity: 0, display: 'block'}));
<img id="onoff" src="" alt="Lights Off" title="Lights Off"><br>
<a href="">Google</a>

Notice:I do not own Runescape or Jagex Ltd. Never tell the admin on this site your Runescape password. I am not responsible for stolen accounts or any lose of items in the game. This is pk it happen to everyone im sorry to say. The clan in the game will try to give you a safe exit out. we will have the clan bless and/or repair your grave if worst comes to worst. If anyone on the site ever asks for you password please pm me directly. i will personally review the evidence and issue a punishment
Back to top Go down
View user profile
[javascript] lights off effect
Back to top 
Page 1 of 1
 Similar topics
» JavaScript Chess
» Programming A Chess Engine In Pure Javascript! (youtube)
» P4wn (new javascript chess engine)
» Odd Huffing Sound

Permissions in this forum:You cannot reply to topics in this forum
The Exiled Ninja :: Coding and Programing :: HTML-
Jump to: