PEAK XOOPS - tinyd 2.01 in englishin japanese

tinyd 2.01

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum

question tinyd 2.01

msg# 1
Previous post - Next post | Parent - No child | Posted on 2005/1/6 9:26
happyvector  二等兵   Posts: 1
issues when using the spaw editing function of an existing item. the content is there if i just use the html editor but when using the spaw, items disappear.

here is the content of one of those:

<SCRIPT>var startTagFix = '</';
var msie_windows = 0;
if ((navigator.userAgent.indexOf('MSIE') != -1) && (navigator.userAgent.indexOf('Win') != -1)) {
msie_windows = 1;
document.writeln('<script language="VBscript">');
document.writeln('Dim detect_through_vb');
document.writeln('detect_through_vb = 0');
document.writeln('If ScriptEngineMajorVersion >= 2 then');
document.writeln(' detect_through_vb = 1'); //we are running an updated version of IE3 or IE4+
document.writeln('End If');
document.writeln('Function activeXDetect(activeXname)');
document.writeln(' on error resume next');
document.writeln(' If ScriptEngineMajorVersion >= 2 then');
document.writeln(' activeXDetect = False');
document.writeln(' activeXDetect = IsObject(CreateObject(activeXname))');
document.writeln(' If (err) then');
document.writeln(' activeXDetect = False');
document.writeln(' End If');
document.writeln(' Else');
document.writeln(' activeXDetect = False');
document.writeln(' End If');
document.writeln('End Function');
document.writeln(startTagFix+'script>');
}
function flashDetect() {
//only writes flash if plugin is detected & running MSIE on windows
var plugin_undetectable=0, detected=0;
if (msie_windows && detect_through_vb)
plugin_undetectable = 0;
else
plugin_undetectable = 1;
if ((msie_windows == 1) && !plugin_undetectable)
return activeXDetect('ShockwaveFlash.ShockwaveFlash');
else
return 0;
}
function writeFlash(id,filename,w,h,style) {
if (flashDetect()) {
var sFlash = '<div align="center" id='+id+' style="'+style+'">'+'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" ';
sFlash += 'width='+w+' height='+h+'>';
sFlash += '<param name="movie" value="'+filename+'"><param name="quality" value="high"><param name="menu" value="false"><param name="wmode" value="transparent">';
sFlash += '<embed src="'+filename+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" ';
sFlash += 'width='+w+' height='+h+' menu=false></embed></object></div>';
document.write(sFlash);
}
}
function buildFlashOverlay(){
var ie4 = document.all&&navigator.userAgent.indexOf("Opera")==-1;
if (ie4 && navigator.userAgent.indexOf('Win')!=-1){
//pageWidth = document.body.clientWidth;
filename = 'http://www.happyvector.com/planes/melsjet.swf';
var mystyle = 'position:absolute;top:200;width:100%;height:100%;z-index:10;';
writeFlash('myflash',filename,1024,640,mystyle);
}
}
buildFlashOverlay();
</SCRIPT>
For those who love to fly, I am taking steps to make my dreams come true. Currently pursing my private and glider certifications, and then on to bigger and better things.

If anyone is interested in sponsoring me through this journey please feel free to donate.



--------------------------->
not sure if the item is to large or not, but running on xoops 2.0.9.2 with tinyd 2.01

any assistance would be appreciated and again thanks for the great work.
Votes:18 Average:9.44

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!