javascript - XML reading code working on my server but not on my client server -


i have written image slider code. reads image details xml file.i have tested on server works fine , when client putting on server images not loaded seems link xml reading not done . can please me identify cause of ..

below link client have installed code.

http://gulin.sg/andrea/maple/coverflow/webkit.html

$.get('photos.xml', function (xml) {     $('item', xml).each(function (k) {         frontimg.push($(this).find('frontimg').text());         stripimg.push($(this).find('stripimg').text());         fronttext.push($(this).find('fronttxt').text());         ftitle.push($(this).find('title').text());         fcity.push($(this).find('city').text());         fyear.push($(this).find('compyear').text());         floc.push($(this).find('loc').text());         ftype.push($(this).find('type').text());         frole.push($(this).find('role').text());         arrbackimg.push($(this).find('backimg').text());         backtext.push($(this).find('backtxt').text());          frontdiv.push("<h2>" + ftitle[k] + "</h2>" + "<h3>" + fcity[k] + "</h3><hr><h4>year of completion</h4>" + fyear[k] + "<hr><h4>location</h4>" + floc[k] + "<hr><h4>property type</h4>" + ftype[k] + "<hr><h4>mapletree's type</h4>" + frole[k]);           $('#myimageflow').append('<div id="id' + k + '" alt="div' + k + '" class="sliderimage" width="280" height="425" style="visibility:hidden"> <div class="fronttext" id="f' + k + '">' + frontdiv[k] + '</div><div class="borderdiv" id="b' + k + '"></div><div class="borderdiv1" id="bd' + k + '"></div><div class="reflection" id="ref' + k + '"></div>  <div class="overlay" id="o' + k + '"></div></div>');       }); .........................................   }); 

note: in console not getting error , problem.

on server, sure have rights read xml file?

that might problem.


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -