Harvesting the Web!!


Niche Sites Auctions Adsense Web site basics Affiliates Joint Ventures
  • HOME
  • Niche Sites
  • Affiliates
  • Joint Ventures
  • Adsense
  • Auctions
  • Web Tools
  • Autoresponder
  • Blogging Basics

  • Java Scripts!

    Instant Date Display NEW!

    Quickly create an automated day and date display for your website, sales leter or order page in less
    than 5 minutes.

    No HTML or Javascript coding involved. Instant Date Display automatically creates your code for you. You
    won't find a better, less expensive webmaster tool around.

    See it in action here:

     

    Easy to use and set up.  Only three quick steps: Click here to download this software  

      Remember, this can be used on any or all of your webpages!!

    Automatic Print Script
    This is a super-easy little script that you can use to form an automatic print-page link on your site. Just insert this script where you want the link to display and your visitors can choose to print the page they are viewing.

    <a href='javascript:;' onClick='window.print();return false'>Print this page.</a>

    This is an example. Print this page.

     

    No Right Click
    Place this script between the head tags. You can change the wording in Red. Just be aware that these "no right click" type scripts only deter the inexperienced user. There are many ways around them.

    <script LANGUAGE="JavaScript">
    <!--
    function click() {
    if (event.button==2) {
    alert('Right Click Option Not Available!');
    }
    }
    document.onmousedown=click
    // -->
    </script>

     

    Bookmark Page
    Paste this snippet in the body of your document where you want the link to appear. Change the script in Red.

    <a href="javascript:window.external.AddFavorite('http://www.yoursite.com/', 'My Site Title');">Bookmark This Site!</a>

    This script only works for IE5+ browsers

     

     

     

     

     

    Updating Copyright Notice
    This copyright notice palces the current year on the page so that copyright notices are always current. Once it's on your page there is no need to update the script.

    <script language = 'JavaScript'>
    <!--
    function y2k(number) { return (number < 1000) ? number + 1900 : number; }
    var today = new Date();
    var year = y2k(today.getYear());
    document.write('© '+year+' all rights reserved');
    //-->
    </script>

     

    Back to Top of Page link
    Use this script if you have a long page.

    <a href="javascript:window.scrollTo(0,0);">Back to top of page</a>

    Example Back to top of page

     

     

     

     

    Highlight the Background of Text

    <span style="background-color:ff0000;">Put Your Text Here</span>

    Add a Title Attribute to Text Links
    This will popup a small description like that used in "alt" for your graphics.

    <A HREF="http://www.sawpit.net" TITLE="Great Website Tools!">Your Text Here</a>

    Hover your cursor over this link for an example.Sawpit.net Webmaster Tools

     


     

     

     

     

     

     

    Show users where on your site they currently located.

    Example: You are here: > C: > Documents%20and%20Settings > HP_Owner > Local%20Settings > Temp > e > 88786-030417-105434-78.a2k > quick.html

    The results you get from a page on your hard drive will obviously be different to those from your web site.

    Insert the following code in the body of each document where you want the information to appear. No code changes are necessary.

    <script language="JavaScript">
    <!--
    thePath = '';
    loc = '' +location.href;
    paths = loc.substring(7).split('/');
    for (i=0, n=paths.length;i<n;i++)
    thePath += '> ' + paths[i] + ' ';
    document.write('<font color="#ff0000"><b>You are here: ' +
    thePath.substring(1)+'</b></font>');//-->
    </script>

    A Colorful Teletype Message.

    Copy and paste this script into the body of your document where you want the effect to appear. Then just change the code in RED eg. var message, the typingbasecolor and the typingtextcolor for a great effect. You can also change blinkspeed, fontface and fontsize to further personalise the script. The rest of the script should remain unchanged.

    <script language="JavaScript1.2">
    var message="A Colorful Teletype Message."
    var typingbasecolor="ececec"
    var typingtextcolor="ff00ff"
    var blinkspeed=100
    var fontface="arial,geneva,helvetica"
    var fontsize="5"
    var n=0
    if (document.all){
    document.write('<font face="'+fontface+'" size="'+fontsize+'" color="'+typingbasecolor+'">')
    for (m=0;m<message.length;m++)
    document.write('<span id="typinglight">'+message.charAt(m)+'</span>')
    document.write('</font>')
    var tempref=document.all.typinglight
    }
    else
    document.write(message)
    function typing(){
    if (n==0){
    for (m=0;m<message.length;m++)
    tempref[m].style.color=typingbasecolor
    }
    tempref[n].style.color=typingtextcolor
    if (n<tempref.length-1)
    n++
    else{
    n=0
    clearInterval(blinking)
    setTimeout("starttyping()",1500)
    return
    }
    }
    function starttyping(){
    if (document.all)
    blinking=setInterval("typing()",blinkspeed)
    }
    starttyping()
    </script>

     

     

     

     

     

     

     

    Add a Title Attribute to Text Links
    This will popup a small description like that used in "alt" for your graphics.

    <A HREF="http://www.sawpit.net" TITLE="Great Website Tools!">Your Text Here</a>

    Hover your cursor over this link for an example.Sawpit.net Webmaster Tools

     


     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    Bookmark Page
    Paste this snippet in the body of your document where you want the link to appear. Change the script in Red.

    <a href="javascript:window.external.AddFavorite('http://www.yoursite.com/', 'My Site Title');">Bookmark This Site!</a>

    This script only works for IE5+ browsers