login  Naam:   Wachtwoord: 
Registreer je!
 Scripts:

Scripts > JS > Vensters en Frames > JavaS-Explorer

JavaS-Explorer

Auteur: STEELEAGLE - 24 oktober 2004 - 22:51 - Gekeurd door: Dennisvb - Hits: 4989 - Aantal punten: 1.50 (4 stemmen)




Deze is simpel gewoon code kopieren en plakken in kladblok en opslaan als .html, dit is dus een explorer in javascript onderaan in die balk kun je aan URL ingeven wel met http:// ! en zo kun je dus ook site's afgaan.

Code:
  1. <HEAD>
  2. <SCRIPT LANGUAGE="JavaScript">
  3.  
  4. <!-- Begin
  5. function writeLayer(text) {
  6. document.frames['myFrame'].location.href = text;
  7. document.addrForm.location.value = text;
  8. }
  9. function setLayer(text) {
  10. if (text.indexOf("http://",0) <= 0)
  11. text = "" +text;
  12. document.frames['myFrame'].location.href = text;
  13. document.addrForm.location.value = text;
  14. }
  15. function onLoad(text) {
  16. if (text != "Microsoft Internet Explorer") {
  17. alert("netscape not supported");
  18. history.back();
  19. }
  20. return true;
  21. }
  22. // End -->
  23. </script>
  24. </HEAD>
  25.  
  26.  
  27. <BODY onLoad="onLoad(navigator.appName)">
  28.  
  29. <iframe src="about:blank" width=100% height=100% id=myFrame></iframe>
  30. <center>
  31. <form name=addrForm>
  32. <input type=button value="SiteMasters" onClick="writeLayer('http://www.sitemasters.be')">
  33. <input type=button value="TestSite" onClick="writeLayer('http://users.telenet.be/funteam/jodie')">
  34. <br>URL Link:
  35. <input type=text name=location value="Tip Hier Een URL Waar Je Naartoe wil" onFocus="this.value=''" size=35>
  36. <input type=button value="Go" onClick="setLayer(document.addrForm.location.value)">
  37. </form>
  38. </center>
Download code! Download code (.txt)

Download dit script! Bekijk een voorbeeld van dit script!
 Stemmen
Niet ingelogd.

 Reacties
Post een reactie
Lees de reacties (6)
© 2002-2024 Sitemasters.be - Regels - Laadtijd: 0.023s