Dece
Legacy Member
Quicklinks voor deze thread:
Volg de onderstaande video om te zien hoe je onze site als web-app op je startscherm installeert.
Opmerking: Deze functie is mogelijk niet beschikbaar in sommige browsers.
) <html> vervangen door <html Dir=RTL>
<meta http-equiv="expires" content="no-cache">
<meta http-equiv="refresh" content="5;url">
<iframe scr="bestandspagina.html" frameborder="0" width="***px " height= "***px" name="iframe"scrolling="auto"></iframe>
de link:
<a href=”iframepagina.html” target=”iframe”>kijk de link opent zich in het iframe</a>
<a href="#" onclick="history.go(-aantal stappen)">keer terug</a>
<span style="display:none">.......code.....</span>
<html>
<head>
<title>my vertical rulez</title>
</head>
<style type="text/css">
.vertRule {
width: 3px;
vertical-align: top;
margin-left: 3px;
margin-right: 5px;
}
</style>
</head>
<body>
hier <span class="vertRule" style="height:100%;border:3px gold inset;"></span>
zie <span class="vertRule" style="height:100%;border:3px gold outset;"></span>
je een<span class="vertRule" style="height:100%;border:3px olive groove;"></span>
paar <span class="vertRule" style="height:100%;border:3px tan ridge;"></span>
voorbeelden<span class="vertRule" style="height:100%;border:3px #c0c0c0 double;"></span>
ervan
</body>
</html>
body {
scrollbar-face-color : #******;
scrollbar-highlight-color : #******;
scrollbar-shadow-color : #******;
scrollbar-3dlight-color : #******;
scrollbar-arrow-color : #******;
scrollbar-track-color : #******;
scrollbar-darkshadow-color : #******;
}
a:link {color: #******; text-decoration: none}
a:visited {color: #******; text-decoration: none}
a:hover {color: #******; text-decoration: underline}
a:active {color: #******; text-decoration: none}
mogelijke decoraties zijn:
none; underline; overline; blink; line-through
p {
text-indent: ** px;
}
body {
background-image: url(......);
background-position: center center;
background-repeat: no-repeat;
}
table {
border: 1px solid #******;
}
.positie_******* {
position: absolute;
left: ***px;
top: ***px
/* left en top kan je eventueel ook vervangen door right en bottem */
height: ***px;
width: ***px;
}
Dit is de inhoud van de css
Dit is je html code
<html>
<head>
[b]<link rel="stylesheet" type="text/css" href="mncss.css" />[/b]
<title>mn eerste site met css files</title>
</head>
<body>
[b]<div class="positie_******">[/b]<wat code></wat code>[b]</div>[/b]
</body>
</html>
ik heb de dingen die je moet invoegen vetjes gezet!
<html>
<head>
<style type="text/css">
.positie_content {
position: absolute;
left: ***px;
top: ***px
height: ***px;
width: ***px;
}
</style>
<title>titel</title>
</head>
<body>
<div class="positie_content">kijk dit is mijn content pagina</div>
</body>
</html>
.gecentreerd
{
position:absolute;
left:50%;
top:50%;
width:498px;
height:164px;
margin-left:-249px;
margin-top:-82px;
background-color:none;
}
...
<body>
<div class='gecentreerd'>
<img ... >
</div>
</body>
...
<script language="JavaScript" type="text/javascript">
<!--
image = new Array(2);
image[0] = "1.jpg";
image[1] = "2.jpg";
image[2] = "3.jpg";
index = Math.floor(Math.random() * image.length);
document.write("<img src='" + image[index] + "' />");
// -->
</script>
<html>
<head>
<script language="javascript">
var img1 = new Image();
img1.src = "493.jpg";
var img2 = new Image();
img2.src = "494.jpg";
function verander(name){
document[name].src = "494.jpg";
}
function terug(name){
document[name].src = "493.jpg";
}
</script>
</head>
<body>
<img src="493.jpg" name="pic1" onmouseover="verander('pic1')" onmouseout="terug('pic1')">
//------------------------------------------------
/* JavaScript file Copyright */
/* Written by Johan Janssens (=(X)=RaVen=) 2003 */
//------------------------------------------------
/* Deze functies worden enkel in index.htm gebruikt dus zitten in een aparte .js file */
//-----------------
// Preload Script |
//-----------------
var arrPreload = new Array( // De array met de preloadbar animatie voor in de statusbalk
"[| ]" ,
"[|| ]" ,
"[||| ]" ,
"[|||| ]" ,
"[||||| ]" ,
"[|||||| ]" ,
"[||||||| ]" ,
"[|||||||| ]" ,
"[||||||||| ]" ,
"[||||||||||]" );
// Alle images die in de site voorkomen
var arrImg = new Array(
"img1.gif" ,
"img2.gif" ,
"img3.gif" ,
"img4.gif" ,
"img5.gif" ,
"img6.gif" ,
"img7.gif" ,
"img8.gif" ,
"img9.gif" );
var iAantalFotos = arrImg . length ; // Het aantal images in de array
var arrGeladenImg = new Array( iAantalFotos ); // Een array om de ingeladen images in te zetten
var iTel = 0 ; // Globale teller
function laadImg () { // Alle images inladen en in een array steken
for ( i = 0 ; i < iAantalFotos ; i ++) {
arrGeladenImg [ i ] = new Image ();
arrGeladenImg [ i ]. onload = imgGeladen ;
arrGeladenImg [ i ]. src = "img/" + arrImg [ i ];
}
}
function imgGeladen () { // Als er een prentje ingeladen is, moet het in de array
iTel ++;
toonVooruitgang ();
}
function toonVooruitgang () {
var tekstvak = document . getElementById ( 'preload' );
with ( Math ) { //Berekening van de stand van de progressbar
iProcent = round (( iTel * 100 )/ iAantalFotos );
iIndex = ceil ( iProcent / 10 )- 1 ; // Positie van de preloader
}
// Voortgang tonen in de statusbalk
tekstvak . innerText = "De afbeeldingen worden nu ingeladen: " + arrPreload [ iIndex ] + " " + iProcent + "%" ;
if ( iTel >= iAantalFotos ) { // Als hij klaar is
iTel = 500 ; // stoppen
tekstvak . innerText = "Alle afbeeldingen zijn met succes ingeladen!" ;
}
}
In de html zet je dan: < span id = "preload" ></ span >
En dan komt daarin dus de tekst
<?php
session_start();
?>