29-03-2007, 22:46
|
|
|
חבר מתאריך: 10.09.06
הודעות: 92
|
|
אני אשמח...
השתמשתי בקוד הזה וזה לא עזר....
קוד:
function createFlashMarkup(width,height,uri,replaceid){
var embed = document.createElement('embed');
embed.setAttribute('width',width);
embed.setAttribute('height',height);
embed.setAttribute('src',uri);
var div = document.getElementById(replaceid);
document.getElementById('ParentElement').replaceCh ild(embed,div);
}
window.onload = function(){
createFlashMarkup('770','594','loadme.swf','replac eme');
}
|