| .. |
< | S n i p p e t s | > |
| Email met subject | <a href="mailto:scornelissen@wanadoo.nl?subject=Testje">Email met subject</a> | |||||||
| GalleryImage uitzetten in IE6 | <img src="../images/blabla.gif" width="300" height="421"
galleryimg=no > In header : <meta http-equiv="imagetoolbar" content="no"> |
|||||||
| Favicon link | <HEAD> <LINK REL="SHORTCUT ICON" HREF="http://www.suus.nl/favicon.ico"> </HEAD> |
|||||||
| <input type=button value="Close Window" onClick="javascript:self.close();"> | ||||||||
| Meescalen BG Image | <script language="JavaScript"> function makeIm() { NS4=(document.layers); IE4=(document.all); scaleWidth = true; scaleHeight = true; imSRC = "images/background.gif"; <!-- bgimage source --> if (NS4) { origWidth = innerWidth; origHeight = innerHeight;} function reDo() { if (innerWidth != origWidth || innerHeight != origHeight) location.reload();} if (NS4) onresize = reDo; if (IE4) onresize = reDoIE; function reDoIE(){ imBG.width = document.body.clientWidth; imBG.height = document.body.clientHeight;} winWid = (NS4) ? innerWidth : document.body.clientWidth; winHgt = (NS4) ? innerHeight : document.body.clientHeight; imStr = "<div id=elBGim" + " style='position:absolute;left:0;top:0;z-index:-1'>" + "<img name='imBG' border='0' src="+imSRC; if (scaleWidth) imStr += " width="+winWid; if (scaleHeight) imStr += " height="+winHgt; imStr += "></div>"; document.write(imStr);} makeIm(); </script> |
|||||||
| Altijd passende tabel | <table STYLE="table-layout: fixed"> |
|||||||
| Geen scrollbar op pagina | In css : body { overflow: auto; } | |||||||
| Nw Centered window | <a href="javascript:;" onClick="window.open('new.htm','titel','left=' + ((screen.width)/2-160) + ',top=' + ((screen.height)/2-120)+',width=320, height=240, toolbar=no, location=no, status=no, menubar=no, scrollbars=no, resizable=no')">Nieuw window openen zonder alle toolbars scrollbars, etc.. </a> | |||||||
| Table Row Rollover | <tr onMouseOver="this.style.backgroundColor='#336699'; this.style.color='#FFFFFF';"
onmouseout="this.style.background=''; this.style.color='#336699;">
|
|||||||
| Frame Target | <base target="_self"> |
|||||||
| CSS Mouseover Image |
|
|||||||
| Opacity | .rollover a { display:block; width:32px; background-color: #FFFFFF; filter:
Alpha(Opacity=60);} .rollover a:hover { background-color: #336699; filter: Alpha(Opacity=100);} |
|||||||
Gray |
.GrayFilter a { display:block; width:32px; background-color: #FFFFFF;
filter:Gray; } .GrayFilter a:hover { background-color: #FFFFFF; filter: Alpha(Opacity=100); } |
|||||||
Invert |
.InvertFilter a { display:block; width:32px; background-color: #000000;
filter:Invert; } .InvertFilter a:hover { background-color: #FFFFFF; filter: Alpha(Opacity=100); } |
|||||||
Xray |
.XrayFilter a { display:block; width:32px; background-color: #000000;
filter:Xray; } .XrayFilter a:hover { background-color: #FFFFFF; filter: Alpha(Opacity=100); } |
|||||||
|
||||||||
|
||||||||