The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
YUI Problem
Maybe, here are some yui coder^^
I want to center my Popup which i make like this: Code:
function init() { YAHOO.pmbox.myPanel = new YAHOO.widget.Panel("myPanel", { width:"500px", visible:true, draggable:true,fixedcenter:true, effect:[{effect:YAHOO.widget.ContainerEffect.FADE,duration:0.5}, {effect:YAHOO.widget.ContainerEffect.SLIDE,duration:0.5}] } ); YAHOO.pmbox.myPanel.center(); YAHOO.pmbox.myPanel.render(); } YAHOO.util.Event.onDOMReady(init); when i scroll, then it goes into the middle here a video of what i mean: http://www.ragtek.org/tutorials/pmfalsch.htm |
#2
|
|||
|
|||
Well that is exactly what fixedcenter property is; try setting draggable to false and see if that does anything.
|
#3
|
|||
|
|||
no with draggable:false its the same result, its just not draggable^^
--------------- Added [DATE]1196412494[/DATE] at [TIME]1196412494[/TIME] --------------- here's the solutiuon http://tech.groups.yahoo.com/group/y.../message/21632 |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|