Tip: Click lines to highlight, hold ctrl/cmd to multi-select

http://codedumper.com/ehaca (23-Jul @ 12:23)

Syntax Highlighted Code

  1. <!doctype transitional//en 4.01 -//w3c//dtd public html>
  2.  
  3. <!--  Created with the CoffeeCup HTML Editor 2008  -->
  4. <!--           http://www.coffeecup.com/           -->
  5. <!--        Brewed on 7/12/2008 6:37:17 AM         -->
  6. <script language="JavaScript1.2">
  7. // Author: Ron Grafe grafer@columbus.rr.com http://www.gdevresources.com/Pages/Scripts/BottomSlider/bottomslider.htm
  8. // Courtesy of SimplytheBest.net - http://simplythebest.net/scripts/
  9.  <!-- Browser Check -->
  10. iens6=document.all||document.getElementById
  11. ns4=document.layers
  12. <!--GLOBAL VARIABLES-->
  13. var thename
  14. var theobj
  15. var thetext
  16. var winHeight
  17. var winPositionFromTop
  18. var winWidth
  19. var startH=2
  20. var openTimer
  21. <!--END GLOBAL VARIABLES-->
  22. <!--DEFINE MOUSEOVER CONTENT-->
  23. var textArray = new Array
  24. textArray[1]="<font face="Arial" size="2"><strong>SimplytheBest DHTML Scripts & Javascripts</strong><br>A collection of the best scripts on the Internet. You'll find ready-to- go DHTML Scripts & Javascript.<br><br>You get the message....you can put just about anything in here that describes the link. This has an active link, if you click it you will go to the site.<br>In this example textArray element number 1 is passed to the function to define the text we want. Default width and height are used.</font><br>"
  25. textArray[2]="<font face="Arial" size="2"><h2>Information</h2>Using it this way would allow you to enter any type of help/text information. \(i.e. menu help, form help, etc.. \).<br><br>In this example textArray element number 2 is passed to the function to define the text we want. Then we overrode the default width/height setting by passing the word 'override' and providing the new width and height values to the function.<br>"
  26. textArray[3]="<img border="0" width="146" src="http://planmagic.com/images/plmbiz.jpg" height="50" align="left"><font face="Arial" size="3"><b> PlanMagic Business<br> </font><font face="Arial" size="2">Professional business planning software</b><br><br>This example uses it like an Ad Box. You can add any graphics and text combination in the window.<br>In this example textArray element number 3 is passed to the function to define the text we want. Width and height are defined.</font><br>"
  27. <!--END DEFINE MOUSEOVER CONTENT-->
  28. <!--GLOBAL FUNCTIONS-->
  29. function setObj(elementpos,theswitch,inwidth,inheight) {
  30.    thetext=textArray[elementpos]
  31.    if(iens6){
  32.        thename = "viewer"
  33.        theobj=document.getElementById? document.getElementById(thename):document.all.thename
  34.        winHeight=100
  35.            if(iens6&&document.all) {
  36.                winPositionFromTop=document.body.clientHeight
  37.                winWidth=(document.body.clientWidth-document.body.leftMargin)
  38.            }
  39.            if(iens6&&!document.all) {
  40.                winPositionFromTop=window.innerHeight
  41.                winWidth=(window.innerWidth-(document.body.offsetLeft+20))
  42.            }
  43.            if(theswitch=="override") {
  44.                winWidth=inwidth
  45.                winHeight=inheight
  46.            }
  47.        theobj.style.width=winWidth
  48.        theobj.style.height=startH
  49.            if(iens6&&document.all) {
  50.                theobj.style.top=document.body.scrollTop+winPositionFromTop
  51.                theobj.innerHTML = ""
  52.                theobj.insertAdjacentHTML("BeforeEnd","<table border="1" cellspacing="0" width="+winWidth+" height="+winHeight+"><tr><td valign="top" width="100%"><font style="color:black;font-weight:normal" size="2" type="times">"+thetext+"</font></td></tr></table>")
  53.             }
  54.             if(iens6&&!document.all) {
  55.                theobj.style.top=window.pageYOffset+winPositionFromTop
  56.                theobj.innerHTML = ""
  57.                theobj.innerHTML="<table border="1" cellspacing="0" width="+winWidth+" height="+winHeight+"><tr><td valign="top" width="100%"><font style="color:black;font-weight:normal" size="2" type="times">"+thetext+"</font></td></tr></table>"
  58.             }
  59.     }
  60.     if(ns4){
  61.         thename = "nsviewer"
  62.         theobj = eval("document."+thename)
  63.         winPositionFromTop=window.innerHeight
  64.         winWidth=window.innerWidth
  65.         winHeight=100
  66.             if(theswitch=="override") {
  67.                 winWidth=inwidth
  68.                 winHeight=inheight
  69.             }
  70.         theobj.moveTo(0,eval(window.pageYOffset+winPositionFromTop))
  71.         theobj.width=winWidth
  72.         theobj.clip.width=winWidth
  73.         theobj.document.write("<table border="1" cellspacing="0" width="+winWidth+" height="+winHeight+"><tr><td valign="top" width="100%"><font style="color:black;font-weight:normal" size="2" type="times">"+thetext+"</font></td></tr></table>")
  74.         theobj.document.close()
  75.     }
  76.     viewIt()
  77. }
  78.  
  79. function viewIt() {
  80.     if(startH<=winHeight) {
  81.         if(iens6) {
  82.             theobj.style.visibility="visible"
  83.                 if(iens6&&document.all) {
  84.                     theobj.style.top=(document.body.scrollTop+winPositionFromTop)-startH
  85.                 }
  86.                 if(iens6&&!document.all) {
  87.                     theobj.style.top=(window.pageYOffset+winPositionFromTop)-startH
  88.                 }
  89.             theobj.style.height=startH
  90.             startH+=2
  91.             openTimer=setTimeout("viewIt()",10)
  92.         }
  93.         if(ns4) {
  94.             theobj.visibility = "visible"
  95.             theobj.moveTo(0,(eval(window.pageYOffset+winPositionFromTop)-startH))
  96.             theobj.height=startH
  97.             theobj.clip.height=(startH)
  98.             startH+=2
  99.             openTimer=setTimeout("viewIt()",10)
  100.         }
  101.     }else{
  102.         clearTimeout(openTimer)
  103.     }
  104. }
  105.  
  106. function stopIt() {
  107.     if(iens6) {
  108.         theobj.innerHTML = ""
  109.         theobj.style.visibility="hidden"
  110.         startH=2
  111.     }
  112.     if(ns4) {
  113.         theobj.document.write("")
  114.         theobj.document.close()
  115.         theobj.visibility="hidden"
  116.         theobj.width=0
  117.         theobj.height=0
  118.         theobj.clip.width=0
  119.         theobj.clip.height=0
  120.         startH=2
  121.     }
  122. }
  123. <!--END GLOBAL FUNCTIONS-->
  124. </script>
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132. <layer style="border-width:thin;z-index:1" name="nsviewer" bgcolor="#EAFFF4"></layer>
  133. <script language="JavaScript1.2">
  134. if (iens6){
  135. document.write("<div id="viewer" style="background-color:#EAFFF4;marginleft:0;visibility:hidden;position:absolute;width:0;height:0;z-index:1;overflow:hidden;border:2px ridge white"></div>")
  136. }
  137. if (ns4){
  138.     hideobj = eval("document.nsviewer")
  139.     hideobj.visibility="hidden"
  140. }
  141. </script>
  142.  
  143.  
  144. <a onmouseover="setObj(1)" onmouseout="clearTimeout(openTimer);stopIt()"
  145. href="http://clickonbux.blogspot.com/">SimplytheBest DHTML Scripts & Javascripts</a></!doctype>

Plain Code

<!doctype transitional//en 4.01 -//w3c//dtd public html>

<!--  Created with the CoffeeCup HTML Editor 2008  -->
<!--           http://www.coffeecup.com/           -->
<!--        Brewed on 7/12/2008 6:37:17 AM         -->
<script language="JavaScript1.2">
// Author: Ron Grafe grafer@columbus.rr.com http://www.gdevresources.com/Pages/Scripts/BottomSlider/bottomslider.htm
// Courtesy of SimplytheBest.net - http://simplythebest.net/scripts/
 <!-- Browser Check -->
iens6=document.all||document.getElementById
ns4=document.layers
<!--GLOBAL VARIABLES-->
var thename
var theobj
var thetext
var winHeight
var winPositionFromTop
var winWidth
var startH=2
var openTimer
<!--END GLOBAL VARIABLES-->
<!--DEFINE MOUSEOVER CONTENT-->
var textArray = new Array
textArray[1]="<font face="Arial" size="2"><strong>SimplytheBest DHTML Scripts & Javascripts</strong><br>A collection of the best scripts on the Internet. You'll find ready-to- go DHTML Scripts & Javascript.<br><br>You get the message....you can put just about anything in here that describes the link. This has an active link, if you click it you will go to the site.<br>In this example textArray element number 1 is passed to the function to define the text we want. Default width and height are used.</font><br>"
textArray[2]="<font face="Arial" size="2"><h2>Information</h2>Using it this way would allow you to enter any type of help/text information. \(i.e. menu help, form help, etc.. \).<br><br>In this example textArray element number 2 is passed to the function to define the text we want. Then we overrode the default width/height setting by passing the word 'override' and providing the new width and height values to the function.<br>"
textArray[3]="<img border="0" width="146" src="http://planmagic.com/images/plmbiz.jpg" height="50" align="left"><font face="Arial" size="3"><b> PlanMagic Business<br> </font><font face="Arial" size="2">Professional business planning software</b><br><br>This example uses it like an Ad Box. You can add any graphics and text combination in the window.<br>In this example textArray element number 3 is passed to the function to define the text we want. Width and height are defined.</font><br>"
<!--END DEFINE MOUSEOVER CONTENT-->
<!--GLOBAL FUNCTIONS-->
function setObj(elementpos,theswitch,inwidth,inheight) {
    thetext=textArray[elementpos]
    if(iens6){
        thename = "viewer"
        theobj=document.getElementById? document.getElementById(thename):document.all.thename
        winHeight=100
            if(iens6&&document.all) {
                winPositionFromTop=document.body.clientHeight
                winWidth=(document.body.clientWidth-document.body.leftMargin)
            }
            if(iens6&&!document.all) {
                winPositionFromTop=window.innerHeight
                winWidth=(window.innerWidth-(document.body.offsetLeft+20))
            }
            if(theswitch=="override") {
                winWidth=inwidth
                winHeight=inheight
            }
        theobj.style.width=winWidth
        theobj.style.height=startH
            if(iens6&&document.all) {
                theobj.style.top=document.body.scrollTop+winPositionFromTop
                theobj.innerHTML = ""
                theobj.insertAdjacentHTML("BeforeEnd","<table border="1" cellspacing="0" width="+winWidth+" height="+winHeight+"><tr><td valign="top" width="100%"><font style="color:black;font-weight:normal" size="2" type="times">"+thetext+"</font></td></tr></table>")
            }
            if(iens6&&!document.all) {
                theobj.style.top=window.pageYOffset+winPositionFromTop
                theobj.innerHTML = ""
                theobj.innerHTML="<table border="1" cellspacing="0" width="+winWidth+" height="+winHeight+"><tr><td valign="top" width="100%"><font style="color:black;font-weight:normal" size="2" type="times">"+thetext+"</font></td></tr></table>"
            }
    }
    if(ns4){
        thename = "nsviewer"
        theobj = eval("document."+thename)
        winPositionFromTop=window.innerHeight
        winWidth=window.innerWidth
        winHeight=100
            if(theswitch=="override") {
                winWidth=inwidth
                winHeight=inheight
            }
        theobj.moveTo(0,eval(window.pageYOffset+winPositionFromTop))
        theobj.width=winWidth
        theobj.clip.width=winWidth
        theobj.document.write("<table border="1" cellspacing="0" width="+winWidth+" height="+winHeight+"><tr><td valign="top" width="100%"><font style="color:black;font-weight:normal" size="2" type="times">"+thetext+"</font></td></tr></table>")
        theobj.document.close()
    }
    viewIt()
}

function viewIt() {
    if(startH<=winHeight) {
        if(iens6) {
            theobj.style.visibility="visible"
                if(iens6&&document.all) {
                    theobj.style.top=(document.body.scrollTop+winPositionFromTop)-startH
                }
                if(iens6&&!document.all) {
                    theobj.style.top=(window.pageYOffset+winPositionFromTop)-startH
                }
            theobj.style.height=startH
            startH+=2
            openTimer=setTimeout("viewIt()",10)
        }
        if(ns4) {
            theobj.visibility = "visible"
            theobj.moveTo(0,(eval(window.pageYOffset+winPositionFromTop)-startH))
            theobj.height=startH
            theobj.clip.height=(startH)
            startH+=2
            openTimer=setTimeout("viewIt()",10)
        }
    }else{
        clearTimeout(openTimer)
    }
}

function stopIt() {
    if(iens6) {
        theobj.innerHTML = ""
        theobj.style.visibility="hidden"
        startH=2
    }
    if(ns4) {
        theobj.document.write("")
        theobj.document.close()
        theobj.visibility="hidden"
        theobj.width=0
        theobj.height=0
        theobj.clip.width=0
        theobj.clip.height=0
        startH=2
    }
}
<!--END GLOBAL FUNCTIONS-->
</script>
  
  
  
  
  


<layer style="border-width:thin;z-index:1" name="nsviewer" bgcolor="#EAFFF4"></layer>
<script language="JavaScript1.2">
if (iens6){
document.write("<div id="viewer" style="background-color:#EAFFF4;marginleft:0;visibility:hidden;position:absolute;width:0;height:0;z-index:1;overflow:hidden;border:2px ridge white"></div>")
}
if (ns4){
    hideobj = eval("document.nsviewer")
    hideobj.visibility="hidden"
}
</script>


<a onmouseover="setObj(1)" onmouseout="clearTimeout(openTimer);stopIt()" 
href="http://clickonbux.blogspot.com/">SimplytheBest DHTML Scripts & Javascripts</a></!doctype>

Permalink: http://codedumper.com/ehaca