Home
Dynamic Content
Here
Categories
Partners
DaniWeb is an exciting community for web developers, Internet marketers, and technology enthusiasts.
Other Sections
Compatibility
|
|
FF1+ IE5+ Opr7+
Drop-in content box Author:
Note: Last updated July 10th, 03' for doctype bug. Description: Ensure that particular content on your page gets the attention it deserves, by dropping it into view, using this script. Whether it is an important announcement, an advertisement, or an ode to your pet you feel everyone should read, the choice is yours! Anything that invites attention overtime will become a nuisance. To counter this, this script supports "frequency control", so you can specify how often the content drops in. Demo: Did it hit you? Drop in Again. Directions: Step 1: Select how often you wish the drop-in box to appear. The choices are: Having made your choice, follow the below steps to copy the corresponding code to your site. Make sure you've made your selection above first, as the code differs depending on it. Step 2: Add the below script to the HEAD section of your page: Step 3: Add the below HTML code to the BODY section of your page, at the VERY end: You'll want to edit the code of Step 3 to insert your own content. Be sure to not remove the uttermost DIV tag. |
|