Is theres wrong with my code?
[quote]function maine(){
var one = window.parent.document.getElementById('photos_1_2').innerHTML;
var two = "<h2>My Photo Gallery</h2><div>.<br><centerfunction maine(){
var one = window.parent.document.getElementById('photos_1_2').innerHTML;
var two = "<h2>My Photo Gallery</h2><div>.<br><center><embed src='http://widget-fa.slide.com/widgets/slideticker.swf' type='application/x-shockwave-flash' quality='high' scale='noscale' salign='l' wmode='transparent' flashvars='cy=ms&il=1&channel=216172782118221562&site=widget-fa.slide.com' width='450' height='85' name='flashticker' align='middle'/><br><a href='photos/7147883'>View Photos</a></center><br></div>";
window.parent.document.getElementById('photos_1_2').innerHTML = two;
}
document.write('<body onload="maine()">');
window.parent.document.getElementById('photos_1_2').innerHTML = two;
}
document.write('<body onload="maine()">');[/quote]
or is this code the right one??
[quote]function embed(){
var ephemeral = "<embed src='http://widget-fa.slide.com/widgets/slideticker.swf' type='application/x-shockwave-flash' quality='high' scale='noscale' salign='l' wmode='transparent' flashvars='cy=ms&il=1&channel=216172782118221562&site=widget-fa.slide.com' width='450' height='85' name='flashticker' align='middle'/><br><a href='photos/7147883'>View Photos</a></center><br></div>";
document.getElementById('photos_1_2
').style.height='300';
document.getElementById('photos_1_2
').style.overflowY='hidden';
document.getElementById('photos_1_2
').innerHTML = "<table width='100%'><tr><td align='center'>"+ephemeral+"</td></tr></table>";
}setTimeout("embed()",10000);[/quote]
Im a noob wen it comes to this..
Last edited by ian_rumuar (2007-05-30 04:04:35)