Hi,
I’m busy with a real estate site and some of the data is coming from a MySql database. It are the three latest properties (three titles, three comments and three Images). I’m using this script:
myData = new LoadVars()
myData.load("properties.php")
myData.ref = this
myData.onLoad = function(succes){
if(succes){
for(var i=0; i<this.cant; i++){
this.ref["Title_txt"+i].htmlText = "<b>"+this["Title"+i]+"</b>"
this.ref["Comments_txt"+i].text = this["Comments"+i]
this.ref["holder_mc"+i].loadMovie(this["Image"+i])
}
}
}
stop()
The information is related to three .cfm pages. So what I need now is a getURL script insite the excisting script. When sombody press the first Image and/or comment newproperty1.cfm should open. and the same for 2 and 3.Is there please somebody who can help me with this?
Thanks in advance