Home | Help | Site Map | Mail    
TOP SITE:   Hostdebut.com Elite quality co-located virtual servers

Dbase
» Dbase SourceCode
» Dbase Inc.
» DbaseProgrammers
» Dbase News Groups
PHP
» PHP SourceCode
» Apache Software
» PHP
MySQL
» MySQL Help
» MySQL AB
*HTML
» Validate links
JavaScript
» JavaScript Help
Networking
» Windows commands
» Subnet Math
» Port Assignments
» Telnet connect
» Wireless
Other
» Find a Monster Job
» Find a Dbase Job
» Compare your Salary
» InfoSec Pros
» $9.99 domains
» NT0 Web-Hosting
» 
Cheap Flowers Web-Hosting

SourceCode for DbaseProgrammers.com

Javascript splashpage sample see a sample

<div id="splashcontainer" style="position:absolute;width:350"></div>
<layer id="splashcontainerns" width=450></layer>

<script>


//configure delay in miliseconds between each message (default: 2 seconds)
var intervals=2000
//configure destination URL
var targetdestination="http://www.dbaseprogrammers.com"

//configure messages to be displayed
var splashmessage=new Array()
var openingtags='<font face="Arial" size="4">'
splashmessage[0]="Welcome to Dbaseprogrammers.com"
splashmessage[1]="Visit us for all you xbase and ecommerce needs."
splashmessage[2]="Opensource projects for dbase and xbase users"
splashmessage[3]="Please stand by..."
var closingtags='</font>'

//Do not edit below this line


var i=0

function displaysplash_ie(){
if (i<splashmessage.length){
sc_ie.style.visibility="hidden"
sc_ie.innerHTML='<b><center>'+openingtags+splashmessage[i]+closingtags+'</center></b>'
sc_ie.style.top=document.body.scrollTop+document.body.clientHeight/2-sc_ie.offsetHeight/2
sc_ie.style.visibility="visible"
i++
}
else{
window.location=targetdestination
return
}
setTimeout("displaysplash_ie()",intervals)
}

function displaysplash_ns(){
if (i<splashmessage.length){
sc_ns.visibility="hide"
sc_ns.document.write('<b>'+openingtags+splashmessage[i]+closingtags+'</b>')
sc_ns.document.close()

sc_ns.left=pageXOffset+window.innerWidth/2-sc_ns.document.width/2
sc_ns.top=pageYOffset+window.innerHeight/2-sc_ns.document.height/2

sc_ns.visibility="show"
i++
}
else{
window.location=targetdestination
return
}
setTimeout("displaysplash_ns()",intervals)
}

function positionsplashcontainer(){
if (document.all){
sc_ie=document.all.splashcontainer
sc_ie.style.left=document.body.scrollLeft+document.body.clientWidth/2-sc_ie.offsetWidth/2
sc_ie.style.top=document.body.scrollTop+document.body.clientHeight/2-sc_ie.offsetHeight/2
displaysplash_ie()
}
else if (document.layers){
sc_ns=document.splashcontainerns
sc_ns.left=pageXOffset+window.innerWidth/2-sc_ns.document.width/2
sc_ns.top=pageYOffset+window.innerHeight/2-sc_ns.document.height/2
sc_ns.visibility="show"
displaysplash_ns()
}
else
window.location=targetdestination
}
window.onload=positionsplashcontainer

</script>





PHP OpenSource | Dbase OpenSource | MySQL Help | Home | Contact

The code of the week
Members Area
Society News
DbaseProgrammers.com is currently working on a new PHP admin and Dbase admin for account administration
More Links
 
Whitepapers
ServerWatch
SQL Class
ICANN
IANA
RFC
W3C
Internet.com
NSA-SNAC
Foxnews
  Copyright DbaseProgrammers.com Aug. 2003