|
Posted by phill.luckhurst@googlemail.com on 11/18/07 21:14
I haven't a clue with PHP so please spoon feed me.
In the middle of a script that I have been looking at there is this
code which I have extracted to run on it's own
<?php
include "flashthumb.php";
?>
<script type="text/javascript" src="mootools.js"></script>
<script type="text/javascript" src="slideshow.js"></script>
<div id="my_slideshow" class="slideshow">
<img src="images/vote.jpg" alt="A picture" width="400" height="300" /
>
</div>
....
<script type="text/javascript">
myShow = new Slideshow('my_slideshow', {hu: 'images/', images:
['vote.jpg','thumb_rar.jpg','thumb_wav.jpg']});
</script>
<?
?>
Now flashthumb.php generates a list of filenames in the variable
$url[1], $url[2], $url[3] etc
how would I use those in the myshow line instead of
'vote.jpg','thumb_rar.jpg','thumb_wav.jpg'
or am I totally barking mad and getting it wrong?
Navigation:
[Reply to this message]
|