PDA

View Full Version : DHTML Billboard Script Newbie Question



fmv503
07-07-2008, 10:19 PM
1) Script Title: DHTML Billboard Script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex2/dhtmlbillboard.htm

3) Describe problem: The ids, billboard0 etc. - I do not see/understand how or where they are declared or defined in the CSS. It is a small item I am missing, I am sure. If I need to define it - what exactly would the #id look like?

Many thanks,
Frieda :confused:

<style type="text/css">

/*Modify attributes of #contentwrapper below as desired*/
#contentwrapper{
width: 230px;
height: 200px;
border: 1px solid black;
background-color: #C6FFC6;
padding: 5px;
}

.billcontent{
width: 100%;
display:block;
}

</style>

jscheuer1
07-07-2008, 11:53 PM
You don't need to define them in the css. Just follow the installation instructions for the script and it will be fine. For your information, these id's are only used by the script to fetch each block of billboard content. Some styling of them may be done in the style section, but is not required. If you want to do this, they would be selected:


#billboard0 {
rules here
}
#billboard1` {
rules here
}

And so on. If you do this though, be careful not to override the:


.billcontent{
width: 100%;
display:block;
}

styles. And if anything you do does mess it up, just get rid of that part.

fmv503
07-08-2008, 12:49 AM
Thank, John! I am going to try it!

Many thanks!

Frieda