Add to Favorites    Make Home Page 8960 Online  
 Language Categories  
 Our Services  

Home » ASP Home » Misc. Home » Easy Floater


Search Projects & Source Codes:

Title Easy Floater
Description This script is like my other floater script, but it is much easier to configure and understand. This code won't baffle you like many other floaters. Complete instructions included.
Category ASP » Misc.
Hits 348687
Code Select and Copy the Code
<HTML> <HEAD> <TITLE>Floating Menu</TITLE> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin // Instructions: // This Is a fairly simple code To Get running. There are // a few things that you need To Do, however. First, you // need To Set a value For the setTimeout() method near the // bottom of the code. Don't forget to add the onLoad event // handler To the <BODY> tag. Then go take a look down below // the <BODY> tag. You'll have to change a couple values for // the <DIV> tag. Those values are "left:10px" And "top:10px". // The value For Left defines how many pixels that floating // stuff should be from the Left edge of the screen, And // the value For top Is the number of pixels the stuff should // be from the top edge. The final thing you have To Do In this // code Is tell it what To float. Typically, this would be // a table Or image, acting As a navigational menu. But, whatever // you place between the <DIV>...</DIV> tags will float. // I commented out various lines below To help the script's // readibility. If you have any problems, please e-mail Me at: // // Good Luck! // First, Declare the variables var mover = Null var object = "menu" // Check If browser Is Netscape. If it Is, assign a certain value To "mover" If (navigator.appName.indexOf("Netscape") != -1) { var mover = " = window.pageYOffset" } // If the browser Is Not Netscape, assign a different value To "mover" Else { var mover = " = document.body.scrollTop" } // Now the Function Function check() { object = "menu" eval(mover) setTimeout("check()", 10) // The number after "check()" Is In milliseconds (lower number = less lag time) } // End of the code --> </SCRIPT> </HEAD> <!-- Don't forget the onLoad event handler --> <BODY onLoad="check()"> <!-- Here's the div tag; refer to the instructions at the top for more info --> <DIV id="menu" style="position:absolute; visibility:show; left:10px; top:10px; z-index:0"> This Text will scroll. </div> <!-- The line breaks below are just To give the page some depth, so the effect can be seen. --> <br><br><br><br> See the source of this page For instructions On how To Set it up. <br> Also, please pay a visit To: <br> <a href=""> </a>   (my site) <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> </BODY> </BODY>

Related Source Codes

Script Name Author
ııııııııııııııııııııı VyomWorld
Resistor color code reader A.Chermarajan.
Telephone Directory dhivya
card swapping game (Mini Project) nityanand
simple hangman-pascalsource Seabert
college dirtectory (Mini Project) msridhar
Poll Application John van Meter
ASP Daily Hit Counter. Tejaskumar Gandhi
To avoid null in asp environment using sql Sami
Maklumbalas webmaster
poll John van Meter
EasyASP Template Engine. TjoekBezoer
Basic Calculator using HTML & Javascript. Patrick M. D Souza
What servers support ASP ? VyomWorld
What is ASP? VyomWorld


Google Groups Subscribe to SourceCodesWorld - Techies Talk

Free eBook - Interview Questions: Get over 1,000 Interview Questions in an eBook for free when you join JobsAssist. Just click on the button below to join JobsAssist and you will immediately receive the Free eBook with thousands of Interview Questions in an ebook when you join.

New! Click here to Add your Code!

ASP Home | C Home | C++ Home | COBOL Home | Java Home | Pascal Home
Source Codes Home Page


Google Search


Source Codes is a part of Vyom Network.

Vyom Network : Web Hosting | Dedicated Server | Free SMS, GRE, GMAT, MBA | Online Exams | Freshers Jobs | Software Downloads | Interview Questions | Jobs, Discussions | Placement Papers | Free eBooks | Free eBooks | Free Business Info | Interview Questions | Free Tutorials | Arabic, French, German | IAS Preparation | Jokes, Songs, Fun | Free Classifieds | Free Recipes | Free Downloads | Bangalore Info | Tech Solutions | Project Outsourcing, Web Hosting | GATE Preparation | MBA Preparation | SAP Info | Software Testing | Google Logo Maker | Freshers Jobs

Sitemap | Privacy Policy | Terms and Conditions | Important Websites
Copyright ©2003-2024, All Rights Reserved.
Page URL:

Download Yahoo Messenger | Placement Papers | Free SMS | C Interview Questions | C++ Interview Questions | Quick2Host Review