PDA

View Full Version : Content slider



WEBstar
11-11-2009, 05:07 PM
http://www.dynamicdrive.com/dynamicindex17/featuredcontentslider.htm

Hi, i'm using this 1. slider.. is it possible to put picture instead this numbers?

ddadmin
11-11-2009, 09:47 PM
Sure, if you look at the 4th demo on the script page, you'll see that the navigation links in that case are image thumbnails. To do this, just set the "toc" option to "markup", so you can use arbitrary HTML for each of the navigation link's markup.

WEBstar
11-12-2009, 12:08 AM
i'm noob.. i changed it but nothing is happening :S

where to put picture's?

i have one more question.. can i intergrate some news into this slider?

example: cutenews

http://cutephp.com/

WEBstar
11-13-2009, 01:57 AM
please help :S

ddadmin
11-13-2009, 06:25 AM
Please read the "toc: markup" section on the supplementary page (http://www.dynamicdrive.com/dynamicindex17/contentslider_suppliment.htm)- it explains how to use images as the pagination links in detail. Basically the images would be defined as regular IMG tags within the pagination DIV and each carrying a CSS class of "toc":


<a href="#" class="toc" style="margin-left: 35px"><img src="horses_thumb.jpg" /></a> <a href="#" class="toc someclass"><img src="pine_thumb.jpg" /></a> <a href="#" class="toc someotheclass"><img src="ocean_thumb.jpg" /></a> <a href="#" class="toc someotheclass"><img src="sushi2_thumb.jpg" /></a>