Pages: 1..1234567891011..11

  2007-09-26 15:27:28

crazylover
» FTalker
FTalk Level: zero
145
0
1969-12-31

Re: [quote][b][color=red]For educational purposes only.[/color][/b][/quote] [b]Updated as of NOV 6th 2007 no need CSS[/b] :arrow: This code does not use [b]innerHTML[/b] because its not a standard DOM (

:) if ( ! attachOnLoadHandler(function () { MainFlash();})) window.onload = function () { MainFlash();}; function MainFlash() { FLASHOBJ.init(); } if (typeof FLASHOBJ == "undefined") { FLASHOBJ = {}; } FLASHOBJ = { flash: "", cssStyle: document.write("<style type=text/css>div.imgblock200{width:200;height:200;overflow:hidden}</style>"), mainclass: "imgblock200", maintag: "DIV", mainid: document.getElementById("content_controlpanel_1_1"), init: function() { this.openForm(); }, openForm: function() { FLASHOBJ.flash = FLASHOBJ.cssStyle; FLASHOBJ.flash = "<embed src='http://www.youtube.com/watch?v=DKBikcF-H5U' quality='high' width='200' height='200' wmode='transparent' align='middle' AllowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'></embed>"; FLASHOBJ.getElementsByClassName(FLASHOBJ.mainid,FLASHOBJ.maintag,FLASHOBJ.mainclass)[0].innerHTML=FLASHOBJ.flash; }, getElementsByClassName: function(oElm, strTagName, strClassName) { var arrElements = (strTagName == "*" && oElm.all)? oElm.all : oElm.getElementsByTagName(strTagName); var arrReturnElements = new Array(); strClassName = strClassName.replace(/\-/g, "\\-"); var oRegExp = new RegExp("(^|\\s)" + strClassName + "(\\s|$)"); var oElement; for(var i=0; i<arrElements.length; i++){ oElement = arrElements[i]; if(oRegExp.test(oElement.className)){ arrReturnElements.push(oElement); } } return (arrReturnElements); } }; heres my codes....but still the white page is there???any help? :thumbsup:

Pages: 1..1234567891011..11

Board footer

© 2024 F Talk

Current time is 14:39

[ 12 queries - 0.027 second ]
Privacy Policy