baysidegraphics
07-27-2007, 08:15 PM
I am using the DHTNL Slide Show script at http://www.dynamicdrive.com/dynamici...dhtmlslide.htm
and would like to pull images from my database in a php call.
The current java script reads:
===============================================
<script type="text/javascript">
/***********************************************
* DHTML slideshow script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice must stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
var photos=new Array()
var photoslink=new Array()
var which=0
//define images. You can have as many as you want:
photos[0]="gallery/front.jpg"
photos[1]="gallery/front2.jpg"
photos[2]="gallery/corner1.jpg"
photos[3]="gallery/corner2.jpg"
=================================================
I want to replace the "gallery/front.jpg" statements with"
<#ITEMVALUE55>
I have tried many variations including:
photos[0]="<#ITEMVALUE55>"
or
photos[0]='<#ITEMVALUE55>'
but none work! ANy thoughts??
and would like to pull images from my database in a php call.
The current java script reads:
===============================================
<script type="text/javascript">
/***********************************************
* DHTML slideshow script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice must stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
var photos=new Array()
var photoslink=new Array()
var which=0
//define images. You can have as many as you want:
photos[0]="gallery/front.jpg"
photos[1]="gallery/front2.jpg"
photos[2]="gallery/corner1.jpg"
photos[3]="gallery/corner2.jpg"
=================================================
I want to replace the "gallery/front.jpg" statements with"
<#ITEMVALUE55>
I have tried many variations including:
photos[0]="<#ITEMVALUE55>"
or
photos[0]='<#ITEMVALUE55>'
but none work! ANy thoughts??