Hi,
Could anyone shed any light as to why my updater function doesn't seem to be working on this webpage:
http://www.artystafineart.co.uk/testing/gallery.php
the function i'm using, when a thumbnail is clicked (in order to bring up details of the image on the left-hand side), is:
Code:
function getGallery(i) {
var url = 'gallery-generator.php';
var pars = 'ItemID=' + i;
var myAjax = new Ajax.Updater(
{success:'galleryitems'},
url,
{
method:'get',
parameters: pars,
onFailure: reportError,
});
document.getElementById('temptext').style.display = "none";
}
... where "i" is the itemID of the thumb.
The whole thing works great in Firefox, but not in IE7 or Opera.
Please, please, please help if you can!!!
Thanks,
Poggs