TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,230
  • Total Topics: 21,353
  • Online today: 446
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 333
  • Total: 333

Page (code) is shown inside an article but not inside a block.

Started by ianus, April 15, 2009, 05:27:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ianus

Quote from: JPDeni on April 15, 2009, 08:18:33 PM
QuoteIf I put the same code into a block, it will show only the pictures

I don't know what that means. I see links along with the pictures. What do you need that is different?

OK, I see.
As emntioned before, the code is working inside an Article. In fact, you have seen, the expected result.
But...

If you have seen my frontpage, maybe you have noticed the wheel has overlapped the Plain Testbox. (The wheel is simply overlapping every contend.) An error which makes the whole thing useless.
And I want a different position and therefor I need a block and not an Article.

Now.
I have deleted the Article from the front-page and put the html-block there instead.
Maybe this will make the problem more obvious.

The Artikel you have seen before is under this link.
http://www.firopolis.de/forum/index.php?page=73

On the new frontpage you will see the same code, but this time it is in a html-bock.
http://www.firopolis.de/forum/index.php.


JPDeni

When I look at the source code for the page with the html block, I see that quite a bit of the code is not there. You need to put in all of the code that I posted earlier.

ianus

Shame on me. With rewriting the Portal the sourcecode looks horrid.

I put your code inside the html block, and have redone this just before this post.

<div class="titlebg" style="padding: 4px; font-weight: bold;"><a href="http://www.firopolis.de/forum/index.php?action=tpadmin;blockeditf=138;sesc=b01fea7ca2d66510aaee324bed883877"><img border="0" style="margin-right: 4px;" align="right" src="http://www.firopolis.de/forum/Themes/Polis_main/images/tp-edit.gif" alt="" /></a>Wheel Test 2
</div>
<div class="windowbg" style="padding:4px; " id="block138"><link rel="stylesheet" type="text/css" href="http://www.firopolis.de/forum/wheel/styles.css" /> &nbsp;&nbsp;&nbsp;<script type="text/javascript" &nbsp;src="http://www.firopolis.de/forum/wheel/mootools-1.2.1-core-yc.js" ></script> &nbsp;&nbsp;&nbsp;<script type="text/javascript" &nbsp;src="http://www.firopolis.de/forum/wheel/mootools-1.2-more.js" ></script> &nbsp;&nbsp;&nbsp;<script type="text/javascript" &nbsp;src="http://www.firopolis.de/forum/wheel/pbb-magicwheel-1.0.js" ></script> &nbsp;&nbsp;&nbsp;<style type="text/css"><!--<br />&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;/*<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Magic Wheel CSS<br />&nbsp;&nbsp;&nbsp;*/<br />&nbsp;&nbsp;&nbsp;.loading {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background: url('wheel-loader.gif') center center no-repeat;<br />&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;#magicwheel {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;position: absolute;<br />&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;.tip {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;position: absolute;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;visibility: hidden;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;top: 0;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;left: 0;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background: url('arrow.png') bottom center no-repeat;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;z-index: 1000;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;padding-bottom: 6px;<br />&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;.tip span {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;padding: 1px 10px;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background: black;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;color: #fff;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;font-weight: bold;<br />&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;#magicwheel .icon, #magicwheel .ref {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;position: absolute;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;border: none;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;visibility: hidden;<br />&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;/*<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Settings CSS<br />&nbsp;&nbsp;&nbsp;*/<br />&nbsp;&nbsp;&nbsp;.box {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;position: absolute;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;color: #666;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;margin: 10px;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;padding: 0px 7px 5px 7px;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background: #f1f1f1;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;width: 280px;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;z-index: 1000;<br />&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;.slider {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background: #D8D8D8;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;height: 10px;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;margin-bottom: 7px;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cursor: pointer;<br />&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;.knob {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background: #666;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;width: 20px;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;height: 10px;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cursor: pointer;<br />&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;--></style> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;<script type="text/javascript" ><br />&nbsp;&nbsp;&nbsp;window.addEvent('domready', function(){<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var MyMW = new PBB_MagicWheel($('magicwheel'));<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var SLIDEuserIconWidth = new Slider($('SLIDEuserIconWidth'), $('KNOBuserIconWidth'), {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;range: [MyMW.options.iconMinWidth, MyMW.options.iconMaxWidth],<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;steps: MyMW.options.iconMaxWidth,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wheel: true,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;onChange: function(pos){<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MyMW.options.userIconWidth = pos;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MyMW.checkSettings();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}).set(MyMW.options.userIconWidth);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var SLIDEuserIconMinWidth = new Slider($('SLIDEuserIconMinWidth'), $('KNOBuserIconMinWidth'), {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;range: [MyMW.options.iconMinWidth, MyMW.options.iconMaxWidth],<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;steps: MyMW.options.iconMaxWidth,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wheel: true,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;onChange: function(pos){<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(pos > MyMW.options.userIconWidth)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.set(MyMW.options.userIconWidth);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MyMW.options.userIconMinWidth = pos;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MyMW.checkSettings();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}).set(MyMW.options.userIconMinWidth);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var SLIDEuserWidth = new Slider($('SLIDEuserWidth'), $('KNOBuserWidth'), {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;range: [MyMW.options.minWidth, MyMW.options.maxWidth],<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;steps: 100,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wheel: true,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;onChange: function(pos){<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(pos > MyMW.options.maxWidth - MyMW.options.userIconWidth)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.set(MyMW.options.maxWidth - MyMW.options.userIconWidth);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MyMW.options.userWidth = pos;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MyMW.checkSettings();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}).set(MyMW.options.userWidth);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var SLIDEuserHeight = new Slider($('SLIDEuserHeight'), $('KNOBuserHeight'), {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;range: [MyMW.options.minHeight, MyMW.options.maxHeight],<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;steps: 100,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wheel: true,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;onChange: function(pos){<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MyMW.options.userHeight = pos / MyMW.icons.length;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MyMW.checkSettings();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}).set(MyMW.options.userHeight * MyMW.icons.length);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var SLIDEuserSpeed = new Slider($('SLIDEuserSpeed'), $('KNOBuserSpeed'), {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;range: [-1000, 1000],<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;steps: 200,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wheel: true,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;onChange: function(pos){<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MyMW.options.userSpeed = pos / 1000;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MyMW.checkSettings();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}).set(MyMW.options.userSpeed * 1000);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var SLIDEuserIconOpacity = new Slider($('SLIDEuserIconOpacity'), $('KNOBuserIconOpacity'), {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;range: [0, 10],<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;steps: 10,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wheel: true,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;onChange: function(pos){<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MyMW.options.userIconOpacity = pos / 10;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MyMW.checkSettings();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}).set(MyMW.options.userIconOpacity * 10);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var SLIDEuserIconMinOpacity = new Slider($('SLIDEuserIconMinOpacity'), $('KNOBuserIconMinOpacity'), {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;range: [0, 10],<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;steps: 10,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wheel: true,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;onChange: function(pos){<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(pos / 10 > MyMW.options.userIconOpacity)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.set(MyMW.options.userIconOpacity * 10);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MyMW.options.userIconMinOpacity = pos / 10;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MyMW.checkSettings();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}).set(MyMW.options.userIconMinOpacity * 10);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var SLIDEuserRefOpacity = new Slider($('SLIDEuserRefOpacity'), $('KNOBuserRefOpacity'), {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;range: [0, 10],<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;steps: 10,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wheel: true,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;onChange: function(pos){<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MyMW.options.userRefOpacity = pos / 10;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MyMW.checkSettings();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}).set(MyMW.options.userRefOpacity * 10);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$('add').addEvent('click', function(e){<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;e.stop();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MyMW.addIcon('icons/new.png', 'icons/new.png', 'Hey i\' the new icon !');<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;});<br />&nbsp;&nbsp;&nbsp;});<br />&nbsp;&nbsp;&nbsp;</script><br /><div id="magicwheel" class="loading"> &nbsp;&nbsp;&nbsp;<a href="http://www.firopolis.de/forum/index.php/board,45.0.html" title="Risen"><img alt="" class="icon" src="http://www.firopolis.de/forum/Themes/default/images/post/Oblivion-48x48.png" /></a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.firopolis.de/forum/index.php/board,78.0.html" title="Risen"><img alt="" class="icon" src="http://www.firopolis.de/forum/Themes/default/images/post/mic_risen.gif" /></a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.firopolis.de/forum/index.php/board,85.0.html" title="Fallout"><img alt="" class="icon" src="http://www.firopolis.de/forum/Themes/Polis_main/images/post/mic_fallout.gif" /></a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.firopolis.de/forum/index.php/board,91.0.html" title="Dragon Age"><img alt="" class="icon" src="http://www.firopolis.de/forum/Themes/default/images/post/mic_dragonage.gif" /></a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.firopolis.de/forum/index.php/board,40.0.html" title="Gothic 3"><img alt="" class="icon" src="http://www.firopolis.de/forum/Themes/default/images/post/mic_g3.gif" /></a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.firopolis.de/forum/index.php/board,82.0.html" title="Sacred 2"><img alt="" class="icon" src="http://www.firopolis.de/forum/Themes/default/images/post/mic_sacred2.gif" /></a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.firopolis.de/forum/index.php/board,65.0.html" title="The Witcher"><img alt="" class="icon" src="http://www.firopolis.de/forum/Themes/default/images/post/mic_twitch.gif" /></a> &nbsp;&nbsp;&nbsp;&nbsp;</div></div></div><div class="tborder" style="margin-bottom: 20px;">

<div class="windowbg" style="padding:4px; " id="block131"><script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>



It's all there, but in a looong row. Pfff.
Looks strange also.


edit.
Have deleted the damm &nbsp;

<div class="titlebg" style="padding: 4px; font-weight: bold;"><a href="http://www.firopolis.de/forum/index.php?action=tpadmin;blockeditf=138;sesc=b01fea7ca2d66510aaee324bed883877"><img border="0" style="margin-right: 4px;" align="right" src="http://www.firopolis.de/forum/Themes/Polis_main/images/tp-edit.gif" alt="" /></a>Wheel Test 2
</div>
<div class="windowbg" style="padding:4px; " id="block138"><link rel="stylesheet" type="text/css" href="http://www.firopolis.de/forum/wheel/styles.css" /><br /><script type="text/javascript" &nbsp;src="http://www.firopolis.de/forum/wheel/mootools-1.2.1-core-yc.js" ></script><br /><script type="text/javascript" &nbsp;src="http://www.firopolis.de/forum/wheel/mootools-1.2-more.js" ></script><br /><script type="text/javascript" &nbsp;src="http://www.firopolis.de/forum/wheel/pbb-magicwheel-1.0.js" ></script><br /><style type="text/css"><!--<br /><br />/*<br />Magic Wheel CSS<br />*/<br />.loading {<br />background: url('wheel-loader.gif') center center no-repeat;<br />}<br /><br />#magicwheel {<br />position: absolute;<br />}<br /><br />.tip {<br />position: absolute;<br />visibility: hidden;<br />top: 0;<br />left: 0;<br />background: url('arrow.png') bottom center no-repeat;<br />z-index: 1000;<br />padding-bottom: 6px;<br />}<br /><br />.tip span {<br />padding: 1px 10px;<br />background: black;<br />color: #fff;<br />font-weight: bold;<br />}<br /><br />#magicwheel .icon, #magicwheel .ref {<br />position: absolute;<br />border: none;<br />visibility: hidden;<br />}<br /><br />/*<br />Settings CSS<br />*/<br />.box {<br />position: absolute;<br />color: #666;<br />margin: 10px;<br />padding: 0px 7px 5px 7px;<br />background: #f1f1f1;<br />width: 280px;<br />z-index: 1000;<br />}<br /><br />.slider {<br />background: #D8D8D8;<br />height: 10px;<br />margin-bottom: 7px;<br />cursor: pointer;<br />}<br /><br />.knob {<br />background: #666;<br />width: 20px;<br />height: 10px;<br />cursor: pointer;<br />}<br />--></style><br /><br /><script type="text/javascript" ><br />window.addEvent('domready', function(){<br />var MyMW = new PBB_MagicWheel($('magicwheel'));<br /><br />var SLIDEuserIconWidth = new Slider($('SLIDEuserIconWidth'), $('KNOBuserIconWidth'), {<br />range: [MyMW.options.iconMinWidth, MyMW.options.iconMaxWidth],<br />steps: MyMW.options.iconMaxWidth,<br />wheel: true,<br />onChange: function(pos){<br />MyMW.options.userIconWidth = pos;<br />MyMW.checkSettings();<br />}<br />}).set(MyMW.options.userIconWidth);<br /><br />var SLIDEuserIconMinWidth = new Slider($('SLIDEuserIconMinWidth'), $('KNOBuserIconMinWidth'), {<br />range: [MyMW.options.iconMinWidth, MyMW.options.iconMaxWidth],<br />steps: MyMW.options.iconMaxWidth,<br />wheel: true,<br />onChange: function(pos){<br />if(pos > MyMW.options.userIconWidth)<br />this.set(MyMW.options.userIconWidth);<br />else<br />MyMW.options.userIconMinWidth = pos;<br />MyMW.checkSettings();<br />}<br />}).set(MyMW.options.userIconMinWidth);<br /><br />var SLIDEuserWidth = new Slider($('SLIDEuserWidth'), $('KNOBuserWidth'), {<br />range: [MyMW.options.minWidth, MyMW.options.maxWidth],<br />steps: 100,<br />wheel: true,<br />onChange: function(pos){<br />if(pos > MyMW.options.maxWidth - MyMW.options.userIconWidth)<br />this.set(MyMW.options.maxWidth - MyMW.options.userIconWidth);<br />else<br />MyMW.options.userWidth = pos;<br />MyMW.checkSettings();<br />}<br />}).set(MyMW.options.userWidth);<br /><br />var SLIDEuserHeight = new Slider($('SLIDEuserHeight'), $('KNOBuserHeight'), {<br />range: [MyMW.options.minHeight, MyMW.options.maxHeight],<br />steps: 100,<br />wheel: true,<br />onChange: function(pos){<br />MyMW.options.userHeight = pos / MyMW.icons.length;<br />MyMW.checkSettings();<br />}<br />}).set(MyMW.options.userHeight * MyMW.icons.length);<br /><br />var SLIDEuserSpeed = new Slider($('SLIDEuserSpeed'), $('KNOBuserSpeed'), {<br />range: [-1000, 1000],<br />steps: 200,<br />wheel: true,<br />onChange: function(pos){<br />MyMW.options.userSpeed = pos / 1000;<br />MyMW.checkSettings();<br />}<br />}).set(MyMW.options.userSpeed * 1000);<br /><br />var SLIDEuserIconOpacity = new Slider($('SLIDEuserIconOpacity'), $('KNOBuserIconOpacity'), {<br />range: [0, 10],<br />steps: 10,<br />wheel: true,<br />onChange: function(pos){<br />MyMW.options.userIconOpacity = pos / 10;<br />MyMW.checkSettings();<br />}<br />}).set(MyMW.options.userIconOpacity * 10);<br /><br />var SLIDEuserIconMinOpacity = new Slider($('SLIDEuserIconMinOpacity'), $('KNOBuserIconMinOpacity'), {<br />range: [0, 10],<br />steps: 10,<br />wheel: true,<br />onChange: function(pos){<br />if(pos / 10 > MyMW.options.userIconOpacity)<br />this.set(MyMW.options.userIconOpacity * 10);<br />else<br />MyMW.options.userIconMinOpacity = pos / 10;<br />MyMW.checkSettings();<br />}<br />}).set(MyMW.options.userIconMinOpacity * 10);<br /><br />var SLIDEuserRefOpacity = new Slider($('SLIDEuserRefOpacity'), $('KNOBuserRefOpacity'), {<br />range: [0, 10],<br />steps: 10,<br />wheel: true,<br />onChange: function(pos){<br />MyMW.options.userRefOpacity = pos / 10;<br />MyMW.checkSettings();<br />}<br />}).set(MyMW.options.userRefOpacity * 10);<br /><br />$('add').addEvent('click', function(e){<br />e.stop();<br />MyMW.addIcon('icons/new.png', 'icons/new.png', 'Hey i\' the new icon !');<br />});<br />});<br /></script><br /><br /><div id="magicwheel" class="loading"><br /><a href="http://www.firopolis.de/forum/index.php/board,45.0.html" title="Risen"><img class="icon" src="http://www.firopolis.de/forum/Themes/default/images/post/Oblivion-48x48.png" /></a><br /><a href="http://www.firopolis.de/forum/index.php/board,78.0.html" title="Risen"><img class="icon" src="http://www.firopolis.de/forum/Themes/default/images/post/mic_risen.gif" /></a><br /><a href="http://www.firopolis.de/forum/index.php/board,85.0.html" title="Fallout"><img class="icon" src="http://www.firopolis.de/forum/Themes/Polis_main/images/post/mic_fallout.gif" /></a><br /><a href="http://www.firopolis.de/forum/index.php/board,91.0.html" title="Dragon Age"><img class="icon" src="http://www.firopolis.de/forum/Themes/default/images/post/mic_dragonage.gif" /></a><br /><a href="http://www.firopolis.de/forum/index.php/board,40.0.html" title="Gothic 3"><img class="icon" src="http://www.firopolis.de/forum/Themes/default/images/post/mic_g3.gif" /></a><br /><a href="http://www.firopolis.de/forum/index.php/board,82.0.html" title="Sacred 2"><img class="icon" src="http://www.firopolis.de/forum/Themes/default/images/post/mic_sacred2.gif" /></a><br /><a href="http://www.firopolis.de/forum/index.php/board,65.0.html" title="The Witcher"><img class="icon" src="http://www.firopolis.de/forum/Themes/default/images/post/mic_twitch.gif" /></a><br /><br /></div></div></div><div class="tborder" style="margin-bottom: 20px;">

<div class="windowbg" style="padding:4px; " id="block131"><script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>



But this ist strange.
url('arrow.png'

Looks like a wrong encoding of character entities to me.

ZarPrime

If it's working in an article, and you want to be able have it in a block so that you can place it, why not just use a single article block?

Now I'll shut up and let you guys get back to it. ;)

ZarPrime

JPDeni

I really don't know. I'm sorry I can't help any more. I should just stick to php. :)

ianus

Greetings!

Single article block sounds logical. I have tried this already before posting initially with no positive result.

This wheel looks so beautiful, and I thought, that there could be a simple error and I am missing a simple "close this" or "add a >'; here".
I have to struggle with it a bit more, I think.

Anyway. I am deeply grateful for your time and thoughtfulness.


Edit

Well, I think, I have an idea.

The script is fetching the screen size.
I have added another example with some colors to make clear what happens.
http://www.firopolis.de/forum/index.php?page=75

Now, this is no longer a TP problem but a question of the js-script.
(Enter some rude words here)

Thanks for your time – again.

ianus

Sorry for the double post, but this one seem to be worth it.

Finally I have solved the problem.

First:
I deleted the this.screenSize settings and functions in the js-file.
Then I changed the predefined height & width settings in the script.

Second:
I changed the positioning in the css-file.

Third:
I create an html-article for the code and links andââ,¬Â¦

(An html-block is still showing nothing. Really strange.)

Fourth:
I create an ââ,¬Å"one articleââ,¬Â block.

Result:
http://www.firopolis.de/forum/index.php

Done.

Really nice imho

I canââ,¬â,,¢t say how much I appreciated your patience and your kind helpfulness.
Thanks a lot for your help while this process.

JPDeni

Very cool!  8)

Sometimes it just helps to explain the problem to someone else in order to help get your own brain working.

I'm really pleased that you solved it. Looks very nice.  :)

ed_m2

actually.... thats quite impressive... i like.
well done.

DarkAngel612

this is a great item and would be great to promote our store within our site but how can I get my hands on the one that you actually got to work?

or exactly the files you edited and the exact edits...did that make sense?

This website is proudly hosted on Crocweb Cloud Website Hosting.