PDA

View Full Version : DHTML Billboard Script



donelian
08-15-2007, 07:34 PM
I am trying to use the DHTML Billboard Script. In the demo, there is an image file ddmouse.gif in use. I cannot find where to out the img src code in the script, so that when the .html runs, the image displays.

http://www.dynamicdrive.com/dynamicindex2/dhtmlbillboard.htm

Please help.

John

jscheuer1
08-16-2007, 03:02 AM
This style was added to the on page stylesheet:


.demoimages{
margin-right: 8px;
}

This markup was used:


<div id="contentwrapper">

<div id="billboard0" class="billcontent">
<img src="../dynamicindex17/ddmouse1.gif" align="left" class="demoimages">JavaScript is a scripting language originally developed by Netscape to add interactivity and power to web documents.
</div>

<div id="billboard1" class="billcontent">
<img src="../dynamicindex17/ddmouse2.gif" align="left" class="demoimages">Java is completely different from JavaScript- it's more powerful, more complex, and unfortunately, a lot harder to master.
</div>

<div id="billboard2" class="billcontent">
<img src="../dynamicindex17/ddmouse3.gif" align="left" class="demoimages">Real life billboards use interesting transtional effects in between messages to catch viewers' attention. Well, so does this DHTML script!
</div>

</div>