I have created revised instructions for pages 420-421 of Foundation PHP for Dreamweaver 8 in the Tutorials section of this site. The change was necessitated by the withdrawal of MX Looper as a standalone extension following Adobe’s takeover of InterAKT. The new instructions make use of the very handy PHP Horizontal Looper extension created by Tom Muck. The extension is free, but if you find it useful, you might want to buy the more sophisticated commercial version.
Categories
- AJAX/JavaScript (17)
- Apache (3)
- Books (61)
- CSS (12)
- Dreamweaver (56)
- Flash (4)
- General (7)
- MySQL (12)
- phpMyAdmin (4)
- PHP (52)
- Video (3)
Links
- Highlander Dreamweaver training Based in the UK and want me to teach you Dreamweaver?
Archives







Hi David Powers,
‘Foundation PHP for Dreamweaver 8′ is really a great book. I tried several books before this one to get hold on the subject but yours certainly is the best.
I now however reached page 423 and ran into a problem getting the javascript no to work properly on my Mac in both Safari and Firefox
Hitting one of the buttons leads me to the jpeg itself probably due to the PHP code.
On Windows XP and 98 it works properly in IE but not in Firefox.
Is it possible to get it done completely in PHP to avoid differences between javascripts?
Jos Vecht,
The Netherlands
Glad you like the book, Jos. There must be something wrong with the way you have used the JavaScript. I have just tested it in several browsers, including Safari and Firefox in a Mac, and it works perfectly. See for yourself by going to the case study page on my site. Click the link at the bottom of the page and test the gallery.
You are completely right.
I overlooked the excistence of the case study on your site where I can see it perfectely working indeed.
I’ try to find out where I went wrong.
Thanks,
Jos
If the query string is manipulated on your gallery like so:
http://foundationphp.com/dreamweaver8/seasons/gallery.php?pageNum_getPictures=91&totalRows_getPictures=0
it doesn’t really downgrade nicely, ideally if the query string is altered it should at least give a message stating there are no images for the entered row or better still default to page one. It would also be nice to have used mod_rewrite so rather than:
gallery.php?pageNum_getPictures=91&totalRows_getPictures=0
we have
gallery/91_0/
for example
Yes, Peter, you’re right. There are always ways to improve the functioning of a website. However Foundation PHP for Dreamweaver 8 is aimed at teaching readers how to use the PHP server behaviors in Dreamweaver. Using mod_rewrite is not an option for anyone not using an Apache server. It’s also a rather advanced subject for a book aimed at the beginner/intermediate level.