Wat is de beste manier om te zorgen dat mijn website net zo goed(of net zo slecht ) er uit ziet op jou scherm als op mijn scherm?
Oh en en hoe ken ik de er voor zorgen dat mij verwijzing naar ander website geopend worden in een venster of tabblad?
Oh en en hoe ken ik de er voor zorgen dat mij verwijzing naar ander website geopend worden in een venster of tabblad?
PHP:
<html>
<head><title>Combine the basic</title></html><link rel="icon"href="http://imageshack.us/a/img138/2917/logonyu.jpg" type="image/png"/>
<style type="text/css" language="css">
.links
{
margin-left: 0%;
margin-top: 1%;
width:20%;
background-image:url('robzombie.jpg');
height: 30%;
}
.hoofdtitle
{
margin-left: 10%;
margin-top: -20%;
width: 90%;
background-image:url('zombie.jpg');
height: 31%;
}
.menu
{
margin-left: 10%;
margin-top: 2%;
width: 90%;
background-image:url('greenblack.jpg');
height: 100%;
}
p.title
{
font-size: 100px;
font-family: Bodoni MT Black;
margin-left: 450px;
color:red;
}
p.ondertitle
{
font-size: 80px;
font-family: Bodoni MT Black;
margin-left: 120px;
margin-top: -20px;
color:#FFFFFF;
}
p.schrijfmenu
{
font-size: 50px;
font-family: Bodoni MT Black;
margin-left: 0px;
margin-top: -40px;
color:#3ADF00;
}
</style>
<script language="JavaScript">
function Mijbest()
{
beste = window.document.formulier.bestevdw.selectedIndex
window.location.href = window.document.formulier.bestevdw[beste].value;
}
function Mijbest1()
{
beste = window.document.formulier1.bestevdw.selectedIndex
window.location.href = window.document.formulier1.bestevdw[beste].value;
}
function vraagInvoer()
{
var getal = new Array();
var input;
while((input = prompt("Voer het wachtwoord in?", '')) != "basis")
{
getal.push(input*1);
}
return getal;
}
var BrowserDetect = {
init: function () {
this.browser = this.searchString(this.dataBrowser) || "An unknown browser";
this.version = this.searchVersion(navigator.userAgent)
|| this.searchVersion(navigator.appVersion)
|| "an unknown version";
this.OS = this.searchString(this.dataOS) || "an unknown OS";
},
searchString: function (data) {
for (var i=0;i<data.length;i++) {
var dataString = data[i].string;
var dataProp = data[i].prop;
this.versionSearchString = data[i].versionSearch || data[i].identity;
if (dataString) {
if (dataString.indexOf(data[i].subString) != -1)
return data[i].identity;
}
else if (dataProp)
return data[i].identity;
}
},
searchVersion: function (dataString) {
var index = dataString.indexOf(this.versionSearchString);
if (index == -1) return;
return parseFloat(dataString.substring(index+this.versionSearchString.length+1));
},
dataBrowser: [
{
string: navigator.userAgent,
subString: "Chrome",
identity: "Chrome"
},
{ string: navigator.userAgent,
subString: "OmniWeb",
versionSearch: "OmniWeb/",
identity: "OmniWeb"
},
{
string: navigator.vendor,
subString: "Apple",
identity: "Safari",
versionSearch: "Version"
},
{
prop: window.opera,
identity: "Opera"
},
{
string: navigator.vendor,
subString: "iCab",
identity: "iCab"
},
{
string: navigator.vendor,
subString: "KDE",
identity: "Konqueror"
},
{
string: navigator.userAgent,
subString: "Firefox",
identity: "Firefox"
},
{
string: navigator.vendor,
subString: "Camino",
identity: "Camino"
},
{ // for newer Netscapes (6+)
string: navigator.userAgent,
subString: "Netscape",
identity: "Netscape"
},
{
string: navigator.userAgent,
subString: "MSIE",
identity: "Explorer",
versionSearch: "MSIE"
},
{
string: navigator.userAgent,
subString: "Gecko",
identity: "Mozilla",
versionSearch: "rv"
},
{ // for older Netscapes (4-)
string: navigator.userAgent,
subString: "Mozilla",
identity: "Netscape",
versionSearch: "Mozilla"
}
],
dataOS : [
{
string: navigator.platform,
subString: "Win",
identity: "Windows"
},
{
string: navigator.platform,
subString: "Mac",
identity: "Mac"
},
{
string: navigator.userAgent,
subString: "iPhone",
identity: "iPhone/iPod"
},
{
string: navigator.platform,
subString: "Linux",
identity: "Linux"
}
]
};
BrowserDetect.init();
alert("U gebruikt " + BrowserDetect.browser + " " + BrowserDetect.version + " en je besturing systeem is " + BrowserDetect.OS);
alert( "De som van alle ingevoerde getallen is: "+som(vraagInvoer()) );
</script>
</head>
<body bgcolor="#B40404">
<div class="links">
<font color="#0404B4" size="5px"><b> Menu:</b></font>
<br>
<FORM NAME="formulier1"><font color="#D7DF01" size="3px"> Andere interne pagina:<br><br></font>:
<select name="bestevdw" onChange="Mijbest1()">
<option value="j5.html" name="Maak een keuze!">Kies gerust!.</a>
<option value="http://www.google.nl" name="google">pagina2</a>
<option value="" name="http://www.google.nl">pagina1</a>
<br>
</select>
</form>
<FORM NAME="formulier">
<form name="formulier"><font color="#D7DF01" size="3px"> Andere externe pagina:<br><br></font>:
<select name="bestevdw" onChange="Mijbest()">
<option value="j5.html" name="Maak een keuze!">Kies gerust!.</a>
<option value="http://www.google.nl" name="google" >Google</a>
<option value="http://nl.hardware.info/" name="DOS">Nlhardware.info</a>
<option value="http://tweakers.net/" name="tweakers">Tweakers</a>
<option value="http://nl.hardware.info/" name="DOS">Nlhardware.info</a>
<option value="http://www.codecademy.com/" name="codeacademy">Codecademy</a>
<option value="http://nl.hardware.info/" name="DOS">Nlhardware.info</a>
<
</select>
</form>
<form name="bgcolorForm"><font color="#D7DF01"> Kleurachtergrond:<br> <Br></font>
<select onChange="if(this.selectedIndex!=0)
document.bgColor=this.options[this.selectedIndex].value">
<option value="choose">Kies achtergrond kleur
<option value="#B40404">Basis kleur
<option value="#F7FE2E">Geel
<option value="#0000FF">Blauw
<option value="#01DF01">Groen
<option value="#A4A4A4">Grijs
<option value="310101">Bruin
<option value="#2E2E2E">Donker Grijs
<option value="#0B1907">Donker Groen
<option value="#070719">Donker Blauw
<option value="#AEB404">Geel/groen
<option value="#3B0B0B">Donker Rood
<option value="#000000">Zwart
<option value="#FFFFFF">Wit
<option value="#61210B">Donker Oranje
</select></form>
</div>
<div class="hoofdtitle">
<p class="title">Hoofdpagina</p>
<p class="ondertitle">HTML,CSS,JAVA in deze website</p>
</div>
<div class="menu">
<p class="schrijfmenu">
<br>
<br><br>
<p class="schrijfmenu">Voorlopige is er op dit moment nog geen tekst<br>
<hr><br><br>
<p class="schrijfmenu">
Nog steeds bezig met de website.
Zoals youtube zou zeggen: team of highly trained monkeys has been dispatched to deal with this situation
<hr>
<p class="schrijfmenu"><br>
Links kent u de achtergrond kleur aanpassen<br>
Ook kent u daar naar een andere pagina<br>
</p>
</div>
</body>
</html>