Advertisement
Guest User

site2

a guest
Nov 26th, 2014
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5.69 KB | None | 0 0
  1.  
  2. PASTEBIN  |  #1 paste tool since 2002
  3. create new pastetoolsapiarchivefaq
  4. PASTEBIN     Search...
  5.  create new paste      trending pastes
  6. sign uploginmy alertsmy settingsmy profile
  7. Want more features on Pastebin? Sign Up, it's FREE!
  8. Public Pastes
  9. site
  10. HTML | 56 sec ago
  11. Untitled
  12. 3 sec ago
  13. Untitled
  14. 22 sec ago
  15. for an D
  16. JavaScript | 36 sec ago
  17. Untitled
  18. 53 sec ago
  19. Untitled
  20. 48 sec ago
  21. Untitled
  22. Bash | 1 min ago
  23. eryty
  24. 1 min ago
  25. 0
  26. 0
  27. Guest
  28. site
  29. BY: A GUEST ON NOV 26TH, 2014  |  SYNTAX: HTML  |  SIZE: 3.74 KB  |  VIEWS: 0  |  EXPIRES: NEVER
  30. DOWNLOAD  |  RAW  |  EMBED  |  REPORT ABUSE  |  PRINT
  31.    
  32.  
  33. <!DOCTYPE html>
  34. <html>
  35.         <head>
  36.                         <link rel="stylesheet" href="main.css" />
  37.                 <title>Xenon</title
  38.  
  39.        </head>
  40.         </body>
  41.        
  42.                 <div class="nav">
  43.                         <ul>
  44.                                 <li><a id="l1" target="_blank" title="Google" href="https://www.google.com"><img width="35px" height="35px" src="http://www.themodernstory.com/wp-content/uploads/2014/03/google-logo.png" /></a></li>
  45.                                
  46.                                 <li><a id="l2" target="_blank" title="Gmail" href="https://mail.google.com/"><img width="35px" height="35px" src="http://wcdn4.dataknet.com/static/resources/icons/set109/f4b7e096.png" /></a></li>
  47.                                
  48.                                 <li><a id="l3" target="_blank" title="YouTube" href="https://www.youtube.com"><img width="35px" height="35px" src="http://www.bookandkitchen.com/wp-content/uploads/2014/07/logo_youtube_square.png" /></a></li>
  49.                                
  50.                                 <li><a id="l4" target="_blank" title="Xenon Games" href="http://games.kindust.com"><img width="35px" height="35px" src="http://blog.flamingtext.com/blog/2014/11/17/flamingtext_com_1416268123_318078387.png" /></a></li>
  51.                                
  52.                                 <li><a id="l10" target="_blank" title="Youtube;)" href="http://collegeonline43.xyz/browse.php?u=mqnuWlEyOnkuriq7hs9uTTOi&b=3&f=norefer"><img width="35px" height="35px" src="http://www.bookandkitchen.com/wp-content/uploads/2014/07/logo_youtube_square.png" /></a></li>
  53.                                
  54.                                 <li><a id="l5" target="_blank" title="Edmodo" href="https://www.edmodo.com"><img width="35px" height="35px" src="https://m1.behance.net/rendition/modules/53447683/disp/fec19d87e7ea2d469f10237083a3119d.png" /></a></li>
  55.                                
  56.                                 <li><a id="l6" target="_blank" title="Quizlet" href="http://www.quizlet.com"><img width="35px" height="35px" src="http://quizlet.com/a/i/icons/512.EBT7.jpg" /></a></li>
  57.                                
  58.                                 <li><a id="l7" target="_blank" title="Coolmath" href="http://coolmath.com/"><img width="35px" height="35px" src="http://www.coolmath4kids.com/polyhedra/images/polyhedra-truncated-cuboctahedron.gif" /></a></li>
  59.                                
  60.                                 <li><a id="l8" target="_blank" title="Usa Test Prep" href="http://www.usatestprep.com/Member-Login"><img width="35px" height="35px" src="http://static3cdn.echalk.net/www/sumter17_shs/images/usatestprep.png" /></a></li>
  61.                                
  62.                                 <li><a id="l9" target="_blank" title="Powerschool" href="https://onslow.powerschool.com/public/home.html"><img width="35px" height="35px" src="http://www.atafordpas.org/images/PowerSchool-Logo.gif" /></a></li>
  63.                
  64.                
  65.                
  66.                
  67.                
  68.                 </div>
  69.                
  70.                
  71.                                         <br />
  72.                         <br />
  73.                         <br />
  74.                         <br />
  75.                         <br />
  76.                         <center><img src="logoforown.png" /></center>
  77.                         <br />
  78.                         <br />
  79.                         <center><input class="search" id="search" type="text" value=" " onclick="if(this.value=='Google Search') {this.value='Google Searchf';}"></input><input type="button" value="Search" onclick="search();" /></center>
  80.                 </div>
  81.         </body>
  82. </html>
  83.  
  84. <script>
  85.         function search() {
  86.                 var text = document.getElementById("switch").innerHTML;
  87.                 if(text == "Window") {
  88.                         window.location = "http://www.google.com/?gws_rd=ssl#q=" + ((document.getElementById("search").value).replace(" ", "+") + "&safe=active");
  89.                 } else {
  90.                         var win = window.open("http://www.google.com/?gws_rd=ssl#q=" + ((document.getElementById("search").value).replace(" ", "+") + "&safe=active"), '_blank');
  91.                 }
  92.         }
  93.        
  94.         function sw() {
  95.                 var text = document.getElementById("switch").innerHTML;
  96.                 if(text == "Window") {
  97.                         text = "New Tab";
  98.                         for(var i=1;i<=10;i++) {
  99.                                document.getElementById("l" + i).target = "_blank";
  100.                        }
  101.                } else {
  102.                        text = "Window";
  103.                        for(var i=1;i<=10;i++) {
  104.                                document.getElementById("l" + i).target = "";
  105.                        }
  106.                }
  107.                document.getElementById("switch").innerHTML = text;
  108.        }
  109.      
  110.        $(document).ready(function() {
  111.            $('#search').keydown(function(event) {
  112.                if (event.keyCode == 13) {
  113.                   search();
  114.                 }
  115.            });
  116.        });
  117. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement