Forum Moderators: open
No matter what I do, we have a box about 150/100 (to prelaunch a chat application) that hangs over the content. It's transparent, but it won't let you click links. It varies resolution to resolution the position of it.
var swf_url = webpath + dameonFilename + "?init_user=" + init_user+"&init_surl=" + init_surl;if(checkInterval!= null){
swf_url += "&checkInterval="+checkInterval;
}
if (NS4) {document.write('<LAYER NAME="floatlayer" bgcolor="#000000" width="200" height="115" LEFT="'+floatX+'" TOP="'+floatY+'">');}
if ((IE4) ¦¦ (NS6)){
document.write('<div id="floatlayer" style="width:1px; height=1px; margin-left:200px;margin-top:200px; position:absolute; left:'+floatX+'; top:'+floatY+';">');
}
var swfhtmlcode = '<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="201" HEIGHT="115" id="myFlash">\n';
swfhtmlcode += ' <PARAM NAME=movie VALUE="' + swf_url + '"> \n';
swfhtmlcode += ' <param name="wmode" value="transparent" /> \n';
swfhtmlcode += ' <PARAM NAME=quality VALUE=high>\n';
swfhtmlcode += ' <EMBED src="' + swf_url + '" quality=high wmode="transparent" WIDTH="20" HEIGHT="15" NAME="myFlash" swLiveConnect="true" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>\n';
swfhtmlcode += '</OBJECT>\n';
document.write(swfhtmlcode);
if (NS4){
document.write('</LAYER>');
}
if ((IE4) ¦¦ (NS6)){
document.write('</DIV>');
}
I really need to get this behind the content, and the width/height params have no real affect. Would a z-index help with this or would that need other things setup on the page to allow the normal html content to be on top?