TinyPortal

Development => Support => Topic started by: vader91 on March 12, 2008, 11:01:19 PM

Title: Spring Widgets
Post by: vader91 on March 12, 2008, 11:01:19 PM
I am trying to create a block that contains a Spring Widget. The block shows up fine but if I put it as a front page block I lose all my right side blocks. I tried putting it as a right side block and all the other right side blocks below it were gone. This only happens in IE, not Firefox. Any idea's why? Here is the code in the block:

<div align=center><object allowNetworking="all" allowScriptAccess="always" allowFullScreen="true" type="application/x-shockwave-flash" id="springwidget_0" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="250" height="468" align="middle" data="http://downloads.thespringbox.com/web/wrapper.php?file=Scoreboard.sbw"><param name="movie" value="http://downloads.thespringbox.com/web/wrapper.php?file=Scoreboard.sbw" /><param name="flashvars" value="param_initLeague=nhl&param_skin=http://members.shaw.ca/pt.sawyer/score.jpg&partner_id=0&wiid=0" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><param name="allowNetworking" value="all" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /><param name="bgColor" value="0x000000" /><embed bgColor="0x000000" allowNetworking="all" allowFullScreen="true" allowScriptAccess="always" src="http://downloads.thespringbox.com/web/wrapper.php?file=Scoreboard.sbw" flashvars="param_initLeague=nhl&param_skin=http://members.shaw.ca/pt.sawyer/score.jpg&partner_id=0&wiid=0" quality="high" name="0" wmode="transparent" width="250" height="468" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
Title: Re: Spring Widgets
Post by: IchBin on March 13, 2008, 12:33:54 AM
What type of block are you trying to use? You try the different types like scriptbox instead of HTML/BBC ? Also, HTML elements should have quotes around them. You should put quotes around the <div align="center"> part.
Title: Re: Spring Widgets
Post by: vader91 on March 13, 2008, 01:44:48 AM
Ok, thanks, that lead me to a different solution. I grabbed the JavaScript code for it and used that in the scriptbox. works like a charm. Thank you.