schwiminator
02-28-2012, 04:30 AM
1) Script Title: Background Image Carousel
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/bgcarousel.htm
3) Describe problem: Is there any chance to add a second description-container to this script?
what i tried to success:
- i added a second div.slide div.desc2 in the head-section
- i tried several things in the .js-file.
i think the important point in the script to change is this point:
+ ((imgref[1])? '<div class="desc" style="display:none">' + imgref[1] + '</div>\n' : '')
+ ((imgref[2])? '<div class="desc2" style="display:none">' + imgref[2] + '</div>\n' : '')
+ '</div>'
A pity I have no idea, what "imgref" does...
Thanks a lot for help in advance! :)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/bgcarousel.htm
3) Describe problem: Is there any chance to add a second description-container to this script?
what i tried to success:
- i added a second div.slide div.desc2 in the head-section
- i tried several things in the .js-file.
i think the important point in the script to change is this point:
+ ((imgref[1])? '<div class="desc" style="display:none">' + imgref[1] + '</div>\n' : '')
+ ((imgref[2])? '<div class="desc2" style="display:none">' + imgref[2] + '</div>\n' : '')
+ '</div>'
A pity I have no idea, what "imgref" does...
Thanks a lot for help in advance! :)