Web designs 2008
fully functional in Netscape, FireFox and Internet Explorer !


Klik hier voor het populaire IRC file server script SFCServ : mIRC Scripts !!!


1. Website ontwerpen
      2. Web & banner ontwerpen
            3. Lopende projecten (binnenkort online!)
                  4. Probleem oplossingen / Javascript
                        5. Animated GIF's
                              6. Overig


Probleem oplossingen / Javascript


*** meertalig zeer uitgebreid forum met rss ondersteuning
(en IP blokkades, random afbeeldingen, meest recente overzicht pagina, etc..)

Zoals ondermeer te zien op sandranet.com



*** Eenvoudige versie, verjaardags script:

<!-- verjaardag script -->
<script language="JavaScript" type="text/javascript">
<!--
var date = new Date("Jan 01 1976");
var $name = "My Name"
var description = "birthday from" + $name;
var now = new Date();
var diff = date.getTime() - now.getTime();
var days = Math.floor(diff / (1000 * 60 * 60 * 24));
var alldays = Math.floor (days + 1);

if (days > 1) {
          document.write(alldays + " days until the " + description);
          }

else if (days == 1) {
          document.write("Two days until the " + description);
          }

else if (days == 0) {
          document.write("Tomorrow is the " + description);
          }

if (alldays < -1) {
          document.write(alldays + " days ago was the " + description);
          }

else if (alldays == 0) {
          document.write("Today is the " + description + "!");
          }

else if (alldays == -1) {
          document.write("Yesterday was the " + description);
          }

// -->
</script>
<!-- end of verjaardag script -->



*** E-mail crawlers protector script (SPAM protection):

<p align="center"><font color="100090">Email</font><font color="#000000">
<script language=javascript>
<!--
var contact = "account"
var aan = "@"
var label = "provider"
var country = ".loc"
document.write("!!! <a href=" + "mail" + "to:" + label + aan + contact + country + ">" + label + aan + contact + country + "</a> !!!")
//-->
</script>



*** picture generator & picture switch:

(zoals gemaakt voor 'the Sleevography website'),

<!-- Arno's random picture script -->
var thumbs = new Array(
    'picture-a',
    'picture-b',
    'picture-c',
...
    'picture-x',
    'picture-y',
    'picture-z'
);

var max = thumbs.length;

var pictures = new Array();

    for(var i=0;i<25;i++){
        var num = Math.floor((Math.random() * max));
        pictures[pictures.length] = thumbs[num];
    }

ShowPictures();

function MoveArrayLeft() {
    var tijdel = pictures[0];
    for(var i=0;i<24;i++){
        pictures[i] = pictures[i+1];
    }
    pictures[24] = tijdel;
    RefreshPictures();
}

function MoveArrayRight() {
    var tijdel = pictures[24];
    for(var i=24;i>0;i--){
        pictures[i] = pictures[i-1];
    }
    pictures[0] = tijdel;
    RefreshPictures();
}

function RefreshPictures() {
    document.images['afb12'].src = "images/si-"+pictures[12]+".jpg";
    for(var i=0;i<12;i++){
        document.images['afb'+i].src = "thumbs/thmb-si-"+pictures[i]+".jpg";
    }
    for(var i=13;i<25;i++){
        document.images['afb'+i].src = "thumbs/thmb-si-"+pictures[i]+".jpg";
    }
}

function ShowPictures() {
    document.write("<p><center><table border=0 cellpadding=0 cellspacing=0 width=975><tr><td colspan=5 align=center>");
    for(var i=0;i<5;i++){
        document.write("<IMG SRC=\"thumbs/thmb-si-"+pictures[i+14]+".jpg\" name=\"afb"+(i+14)+"\" height=75 alt=''>");
    }
    document.write("</td></tr><tr><td width=300 valign=center>");
    for(var i=0;i<4;i++){
        document.write("<IMG SRC=\"thumbs/thmb-si-"+pictures[i]+".jpg\" name=\"afb"+i+"\" height=75 alt=''>");
    }
    document.write("</td><td width=75 valign=top>");
        document.write("<IMG SRC=\"thumbs/thmb-si-"+pictures[13]+".jpg\" name=\"afb13\" height=75 alt=''>");
        document.write("<IMG SRC=\"thumbs/thmb-si-"+pictures[4]+".jpg\" name=\"afb4\" height=75 alt=''>");
        document.write("<IMG SRC=\"thumbs/thmb-si-"+pictures[5]+".jpg\" name=\"afb5\" height=75 alt=''>");
    document.write("</td><td width=225 height=225 align=center>");
        document.write("<IMG SRC=\"images/si-"+pictures[12]+".jpg\" name=\"afb12\" height=200 alt=''>");
    document.write("</td><td width=75 valign=top>");
        document.write("<IMG SRC=\"thumbs/thmb-si-"+pictures[19]+".jpg\" name=\"afb19\" height=75 alt=''>");
        document.write("<IMG SRC=\"thumbs/thmb-si-"+pictures[20]+".jpg\" name=\"afb20\" height=75 alt=''>");
        document.write("<IMG SRC=\"thumbs/thmb-si-"+pictures[11]+".jpg\" name=\"afb11\" height=75 alt=''>");
    document.write("</td><td width=300 valign=center>");
    for(var i=0;i<4;i++){
        document.write("<IMG SRC=\"thumbs/thmb-si-"+pictures[i+21]+".jpg\" name=\"afb"+(i+21)+"\" height=75 alt=''>");
    }
    document.write("</td></tr><tr><td colspan=5 align=center>");
    for(var i=0;i<5;i++){
        document.write("<IMG SRC=\"thumbs/thmb-si-"+pictures[i+6]+".jpg\" name=\"afb"+(i+6)+"\"height=75 alt=''>");
    }
    document.write("</td></tr><tr><td colspan=2 align=center>");
    document.write("<a href=\"javascript:MoveArrayLeft();\" onmouseover=\"window.status='Move sleeves to the left'; return true;\" onmouseout=\"window.status=''; return true;\"> <img src=\"left-arrow.gif\" height=15 border=0> </a>");
    document.write("<a href=\"javascript:MoveArrayRight();\" onmouseover=\"window.status='Move sleeves to the right'; return true;\" onmouseout=\"window.status=''; return true;\"> <img src=\"right-arrow.gif\" height=15 border=0> </a>");
    document.write("<td></td></td><td colspan=2 align=center>");
    document.write("<a href=\"splash.htm\" onmouseover=\"window.status='Re-shuffle the sleeves'; return true;\" onmouseout=\"window.status=''; return true;\"> <img src=\"curved-arrow.gif\" height=15 border=0> </a>");
    document.write("</td><tr></table></center>");
}

function picture2() {
    var num = Math.floor((Math.random() * max));
    var msg="<a href=\"javascript:OpenSleeveWindow('vinyl.html','Sitename','scrollbars=no,width=1024,height=700');\" onmouseout=\"window.status=''; return true;\" onmouseover=\"window.status='Enter'; return true;\" ><IMG SRC=\"images/si-"+thumbs[num]+".jpg\" height=200 border=0 alt=''></a>";
    document.write(msg);
}

function OpenSleeveWindow(theURL,winName,features) {
    window.open(theURL,winName,features);
}

<!-- end of Arno's random picture script -->



*** Eenvoudig 'gastenboek',:

zoals te zien op the Sleevography site


©Arno, Web-Designs 1997...2008