Advertisement
Guest User

Ts Slider

a guest
May 29th, 2015
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.19 KB | None | 0 0
  1. <!-- /TS Slider -->
  2. <script src="http://code.jquery.com/jquery-latest.js"></script>
  3.  
  4. <div>
  5. <div id="ts_slider1" class="ts_slider1" style="left: -219px; width: 300px; position: fixed; top: 100px; background: url(http://royal-soldiers.com/public/slider/ts_slider.png) repeat scroll 100% 0% transparent; height: 691px; z-index: 999;">
  6. <div style="position: absolute; top: 14pt; right: 65pt; width: 253px; height: 620px; overflow: auto; color: white">Royal Soldiers<a href="http://royal-soldiers.com">TeamSpeak 3</a></div>
  7. <div style="position: absolute; top: 31pt; right: 73pt; width: 253px; height: 620px; overflow: auto">
  8.  
  9. <div id="ts3viewer_1059841" style="width:; background-color:;"> </div>
  10.  
  11. <script type="text/javascript" src="http://static.tsviewer.com/short_expire/js/ts3viewer_loader.js"></script>
  12.  
  13. <script type="text/javascript">
  14. <!--
  15. var ts3v_url_1 = "http://www.tsviewer.com/ts3viewer.php?ID=1059841&text=ffffff&text_size=12&text_family=1&js=1&text_s_weight=bold&text_s_style=normal&text_s_variant=normal&text_s_decoration=none&text_s_color_h=525284&text_s_weight_h=bold&text_s_style_h=normal&text_s_variant_h=normal&text_s_decoration_h=underline&text_i_weight=normal&text_i_style=normal&text_i_variant=normal&text_i_decoration=none&text_i_color_h=525284&text_i_weight_h=normal&text_i_style_h=normal&text_i_variant_h=normal&text_i_decoration_h=underline&text_c_weight=normal&text_c_style=normal&text_c_variant=normal&text_c_decoration=none&text_c_color_h=525284&text_c_weight_h=normal&text_c_style_h=normal&text_c_variant_h=normal&text_c_decoration_h=underline&text_u_weight=bold&text_u_style=normal&text_u_variant=normal&text_u_decoration=none&text_u_color_h=525284&text_u_weight_h=bold&text_u_style_h=normal&text_u_variant_h=normal&text_u_decoration_h=none";
  16. ts3v_display.init(ts3v_url_1, 1059841, 100);
  17. -->
  18. </script>
  19.  
  20. </div>
  21. </div>
  22.  
  23. <script type="text/javascript">
  24. var state = 0;
  25. var wait = false;
  26.  
  27. function changeSlider1()
  28. {
  29. if(state==1){
  30. $('#ts_slider1').animate({width: 300 }, "slow", function(){state = 0;}
  31. );
  32. }
  33. else
  34. $('#ts_slider1').animate({width: 573 }, "slow", function(){state = 1;}
  35. );
  36. }
  37.  
  38. $('#ts_slider1').click(function(){
  39. changeSlider1();
  40. });
  41. </script>
  42. </div>
  43. <!-- /TS Slider -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement