Per caricare le mie news dentro un campo unico "contenitore" dinamico da una pagina php uso questo codice e tutto funziona perfettamente
ora vorrei creare su questa lista un link sul titolo della news che mi rimandi al testo completo della singola news. Come si puo fare?codice:on(release) { System.useCodepage = true; loader = new LoadVars(); loader.load("http://localhost/news.php"); loader.onLoad = function(success) { if(success) { if(this.ok) { _root.contenitore.htmlText = ""; for(var j = 1; j <= this.i; j++) { _root.contenitore.html = true _root.contenitore.htmlText += eval("this.titolo" + j); _root.contenitore.htmlText += eval("this.testo" + j); _root.contenitore.htmlText += eval("this.data_news" + j); } _root.output.text = "ok"; } else { _root.contenitore.htmlText = ""; _root.output.text = "error"; } } } }


Rispondi quotando
.
