salve devo aprire un link con una funzione popup:
getURL("javascript:centerpopup( 'pippo.html' ,'400','500');void(0);");
Ora come faccio a sostituire quella pagina con il contenuto della pagine xml caricata?
Codice PHP:photo_thumbnail = new Array();
photo_url = new Array();
filepath = "images/";
// Load the photos XML
var flashmo_xml = new XML();
flashmo_xml.ignoreWhite = true;
flashmo_xml.onLoad = function()
{
var nodes:Array = this.firstChild.childNodes;
for(var i=0;i<nodes.length;i++)
{
photo_thumbnail.push(nodes[i].attributes.thumbnail);
photo_url.push(nodes[i].attributes.url);
}
}
flashmo_xml.load(filepath + "images.xml");


Rispondi quotando