I have used Dynamic Drive to put slideshow in php page I am building with Dreamweaver 3. No matter what I do I cannot get it to centre in the column. It seems to need a big area on the left. This does not happen with simple pics alone.Thanks
I have used Dynamic Drive to put slideshow in php page I am building with Dreamweaver 3. No matter what I do I cannot get it to centre in the column. It seems to need a big area on the left. This does not happen with simple pics alone.Thanks
PHP generates regular HTML. This means there are two steps: 1) determining the output you want; 2) making the PHP generate that output.
This is a question about modifying a dynamic drive script, not about PHP, so it belongs in a different forum. I'll move it there now.
Please include a link to the DD script in question in your post. See this thread for the proper posting format when asking a question.
Also please post a link to your page so we can see what is happening. If this is not a problem on the demo page, then we'll need to see your version.
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
thanks I haven't put it up yet and not sure what the response actually means (I'm a novice at this). Are DD's scripts Linux compatible?
Yes they are. Which DD script are you using?
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
thanks....I'm using the one at http://www.dynamicdrive.com/dynamici...dhtmlslide.htm
In Step 2:
Align the table center and pick a width for it, perhaps the width of your images, perhaps a little wider. On the demo page the images are 170 pixels wide, and 200 turns out to be a good width, so zooming in on the highlighted line from above, add the highlighted:Code:<table border="0" cellspacing="0" cellpadding="0"><tr> <td width="100%" colspan="2" height="22"><center> <script> if (linkornot==1) document.write('<a href="javascript:transport()">') document.write('<img src="'+photos[0]+'" name="photoslider" style="filter:revealTrans(duration=2,transition=23)" border=0>') if (linkornot==1) document.write('</a>') </script> </center></td> </tr> <tr> <td width="50%" height="21"><p align="left"><a href="#" onClick="backward();return false">Previous Slide</a></td> <td width="50%" height="21"><p align="right"><a href="#" onClick="forward();return false">Next Slide</a></td> </tr> </table> <p align="center"><font face="Arial" size="-2">Free DHTML scripts provided by<br> <a href="http://dynamicdrive.com">Dynamic Drive</a></font></p>
Remember you need to pick a width (red in the above) that works for your images. Use their width or like 30 more than their width.Code:<tablealign="center" width="200"border="0" cellspacing="0" cellpadding="0">
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Bookmarks