WebSite
You are browsing the WebSite tag archive.
Building a Site
Want to build a successful website?
Before building a website you should take a few minutes to build a solid plan that you want the site to achieve. Thoroughly think it through before you start creating a website. The few hours you spend planning your site content will determine how successful you’ll be. You’ll spend less [...]
Get A Website Today
Basics of what you need to start your own website
Register a unique domain name.
Give it a home on the web with affordable, reliable web hosting.
Publish a compelling website. Our website builder tools will help you create your custom website.
Get found online, and drive new business to your website. With our traffic tools, you can [...]
WebSite Tonight
With WebSite Tonight - and its more than 800 easy-to-use templates - you can build your own Web site even if you have no technical skills. Just open your Internet browser, select your images and type your text. Just like that, your site gets built or updated. Plus, we’ve even included Hosting (with 99.9% uptime [...]
Make this page your start page code
Want an option for visitors to make your page their start page?
Place this code where you would like the link to appear on your site and change yourdomain to your domain name. Only works with Internet Explorer browser.
<!– Start Make Homepage Code –>
<!–[if IE]>
<a HREF onClick=”this.style.behavior=’url(#default#homepage)’;this.setHomePage(’http://www.yourdomain.com’);”>Click here to make this site your start page!</a></font>
<![endif]–>
<!– End Make Homepage Code –>
Add To Your Favorites Link
Add this code to your page and when clicked it will help others to add your site to their favorites list.
Place this code into the head of your page:
<script language=”JavaScript”>
function bookmark(url, description)
{
netscape=”Netscape User’s hit CTRL+D to add a bookmark to this site.”
if (navigator.appName==’Microsoft Internet Explorer’)
{
window.external.AddFavorite(url, description);
}
else if (navigator.appName==’Netscape’)
{
alert(netscape);
}
}
//–>
</SCRIPT>
Place this in your body of your page where you want the link to appear:
<a href=”javascript:bookmark(’http://www.yourdomain.com’,'Name of your site’);”>Click here to add this site to your favorites list!</A>
Colored Scrollbars
Add this to your css style sheet or if you don’t have one you can add it to your head tags.
Change the colors to that of your own likings.
BODY
{
scrollbar-arrow-color: #FFFFFF;
scrollbar-track-color: #FFFFFF;
scrollbar-face-color: #444444;
scrollbar-highlight-color: #FFFFFF;
scrollbar-3dlight-color: #000000;
scrollbar-darkshadow-color: #000000;
scrollbar-shadow-color: #444444;
}
Graphic Hovering Effect On Links
When you mouse over links in our forums you will see a graphical hovering effect. Here is the code to get this same results on your website.
Code:
a:hover, a:active { background: url(http://www.yourdomain.com/images/yourgraphic.gif); }
You must replace yourdomain with your own website address.
You must have a graphic to use for the hovering effect and change the path to [...]
Shakey Images
This code will make an image shake when you hover over it with your mouse.
Place this into the head of your webpage:
<style>
.shakeimage{
position:relative
}
</style>
<script language=”JavaScript1.2″>
/*
Shake image script (onMouseover)-
© Dynamic Drive (www.dynamicdrive.com)
For full source code, usage terms, and 100’s more DHTML scripts, visit http://dynamicdrive.com
*/
//configure shake degree (where larger # equals greater shake)
var rector=3
///////DONE EDITTING///////////
var stopit=0
var a=1
function init(which){
stopit=0
shake=which
shake.style.left=0
shake.style.top=0
}
function rattleimage(){
if ((!document.all&&!document.getElementById)||stopit==1)
return
if (a==1){
shake.style.top=parseInt(shake.style.top)+rector
}
else if (a==2){
shake.style.left=parseInt(shake.style.left)+rector
}
else if (a==3){
shake.style.top=parseInt(shake.style.top)-rector
}
else{
shake.style.left=parseInt(shake.style.left)-rector
}
if (a<4)
a++
else
a=1
setTimeout(”rattleimage()”,50)
}
function stoprattle(which){
stopit=1
which.style.left=0
which.style.top=0
}
</script>
Place this where you want your shakable image to appear and replace the image url to that of your own:
<img src=”http://www.yourdomain.com/imagepath/imagename” class=”shakeimage” onMouseover=”init(this);rattleimage()” onMouseout=”stoprattle(this);top.focus()” onClick=”top.focus()”>
No Right Click On Images Only
Don’t want visitors to be able to right click on your images?
Paste this into the head of your webpage:
<script language=”JavaScript1.2″>
/*
Disable right click script II (on images)- By Dynamicdrive.com
For full source, Terms of service, and 100s DTHML scripts
Visit http://www.dynamicdrive.com
*/
var clickmessage=”Right click disabled on images!”
function disableclick(e) {
if (document.all) {
if (event.button==2||event.button==3) {
if (event.srcElement.tagName==”IMG”){
alert(clickmessage);
return false;
}
}
}
else if (document.layers) {
if (e.which == 3) {
alert(clickmessage);
return false;
}
}
else if (document.getElementById){
if (e.which==3&&e.target.tagName==”IMG”){
alert(clickmessage)
return false
}
}
}
function associateimages(){
for(i=0;i<document.images.length;i++)
document.images[i].onmousedown=disableclick;
}
if (document.all)
document.onmousedown=disableclick
else if (document.getElementById)
document.onmouseup=disableclick
else if (document.layers)
associateimages()
</script>
No Right Click Without A Warning
Don’t want visitors to be able to right click on your page yet you don’t like giving them a popup warning either?
Paste this code into the head of your webpage:
<script language=JavaScript>
<!–
//Disable right click script III- By Renigade ( \n
<!–
var prefix = ‘ma’ + ‘il’ + ‘to’;
var path = ‘hr’ + ‘ef’ + ‘=’;
var [...]



