![]() |
Message
on Top Javascript | |
Always On Top JavascriptThis floating message javascript is very useful, especially if you want the visitor to see a prominent advertising banner, etc, where the message is always on top of other page content. I'm sure you can think of some very good uses for this script. The good part of the floating message script is that as you scroll the page, the message scrolls with it, hence the name of "always on top". The message can either flash on and off, as in the example, or be static and you can add all normal html attributes such as links,font type and color, etc. The floating message javascript is a breeze to set up. Of course your colors might be a little different than the very bright example on this page. :) STEP 1 Copy the code below and paste this within the <body> and </body> section of your html document. Configure the floating message etc, to suit, at the top of the script. All necessary instructions are contained at the top of the script, showing what and where you can change to suit your needs and site design.
|
|