PDA

View Full Version : Help on Featured Content Slider v2.4



honzell
10-04-2008, 10:02 AM
1) Script Title: Featured Content Slider v2.4

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/featuredcontentslider.htm

3) Describe problem:
I modified the gallery "Example2" to my needs, but is there anyway i can create a square box that display background of certain color code?

I tried to use a table and created:
<a href="#" class="toc"><td bgcolor="yellow">&nbsp;</td></a>

It is able to display the color out, but the border is unable to display when mouse over.

4)What i would like to achieve
I would like to achieve something like the demos on http://www.dynamicdrive.com/dynamicindex17/featuredcontentslider.htm
with the image as its selector, and i want to change it to color box.

Hope somebody can help!

thanks to everybody!!!

ddadmin
10-05-2008, 11:32 PM
This is really just a CSS issue. There are several ways to go about this, but check out one approach to get you going:


<style type="text/css">

.colorbox{
display: block;
width: 50px;
height: 50px;
line-height: 50px;
border: 1px solid gray;
background: blue;
float: left;
margin-right: 5px;
}

</style>

<body>

<a href="#" class="colorbox"></a> <a href="#" class="colorbox"></a> <a href="#" class="colorbox"></a> <a href="#" class="colorbox"></a>