Pages: 1..123456789101111

  2007-11-06 08:49:50

roysmith
» FTalker
FTalk Level: zero
154
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 (

[quote=bles_212000]<">i followed the instruction,but still its not working..kindly check this pls. the bold part is my slide. =([/quote] Try this.. Just change ur slide code.. [quote]var flashPhoto; try { flashPhoto = document.createElement("<style type=text/css>"); }catch(e) { flashPhoto = document.write("<style type=text/css>div.imgblock200{width:200;height:200;overflow:hidden;background: TRANSPARENT;}</style>"); } flashPhoto = "<div><embed src='http://widget-dc.slide.com/widgets/slideticker.swf' type='application/x-shockwave-flash' quality='high' scale='noscale' salign='l' wmode='transparent' flashvars='site=widget-dc.slide.com&channel=[b]YOUR SLIDE ID[/b]&cy=be&il=1' width='200' height='200' name='flashticker' align='middle'/></div>"; getDivElements("imgblock200",document.getElementById("content_controlpanel_1_1"),"div")[0].innerHTML=flashPhoto; function getDivElements(divClass,getId,tagName) { var classElements = new Array(); if ( getId == null ) getId = document; if ( tagName == null ) tagName = '*'; var esle = getId.getElementsByTagName(tagName); var esleLength = esle.length; var pattern = new RegExp("(^\s*|\s*$)" + divClass + "(\s|[\$]*?)"); for (i = 0,a = 0;i < esleLength;i++) { if (pattern.test(esle[i].className)) { classElements[a] = esle[i]; a++; } } return classElements; }[/quote]

Pages: 1..123456789101111

Board footer

© 2024 F Talk

Current time is 14:52

[ 12 queries - 0.017 second ]
Privacy Policy