I changed the z-index values as you instructed and that did not seem to have any effect. I am almost positive this is somehow related to the div being hidden initially. The weird thing is that it DID work before and only stopped working since I started using the prototype class. so that doesnt make any sense.
Look at this: http://dev.rubyonrails.org/ticket/4011 Ofcourse I am still lost on what to do next. :( On Apr 3, 11:32 am, Walter Lee Davis <[EMAIL PROTECTED]> wrote: > Is the prototype window lying above the handles in the z-axis? It > might be stealing the click events that the handles need to see. Try > moving the handles above with a temporary style change -- z-axis:1000 > or more -- and see if that fixes it. Then you can dig into the > prototype window and see if you can get it to disappear more > thoroughly when it's not needed. Maybe set it to be off-screen or > zero height or negative z-axis until it's called for. > > Walter > > On Apr 3, 2008, at 11:38 AM, 2 Levels Above wrote: > > > > > See I am not hiding it anywhere in a div. > > > It used to work fine but since I started using the prototype window > > the handles would just not work anymore. > > > This used to be my old code that would work fine: > > > new Dialog.Box('ShareOptions'); > > $('ShareOptions').show(); > > > and i replaced it with > > > Dialog.info($('ShareOptions').innerHTML, {className:"alphacube",width: > > 650}); > > > and now the handles dont move. > > > This sucks as I need it for my job :( :( > > > On Apr 3, 10:10 am, "Andrew Kaspick" <[EMAIL PROTECTED]> wrote: > >> I had it in a div with display:none, made it "show" and the handle > >> didn't work. If I simply left is visible when it initialized it > >> worked fine. > > >> On 4/3/08, 2 Levels Above <[EMAIL PROTECTED]> wrote: > > >>> how do you make the slider visible ? > > >>> Thanks > > >>> On Apr 3, 1:56 am, "Andrew Kaspick" <[EMAIL PROTECTED]> wrote: > > >>>> Working with the slider here myself, I just found out the handle > >>>> doesn't move if the slider is initially hidden. There looks to be > >>>> some initialisation code dependent on some dimensions that aren't > >>>> available while the slider is hidden. > > >>>> On 4/2/08, Andrew Kaspick <[EMAIL PROTECTED]> wrote: > > >>>>> Did you include slider.js? > > >>>>> On 4/2/08, 2 Levels Above <[EMAIL PROTECTED]> wrote: > > >>>>>> Hello, > > >>>>>> We had an application that used the scriptaculous slider with no > >>>>>> problems. We since decided to use integrate prototype window > >>>>>> class > >>>>>> with the slider. > > >>>>>> Everything is fine except for the fact that the handle does > >>>>>> not move. > >>>>>> This is sooooo frustrating. > > >>>>>> This is the code we are using. > > >>>>>> // to use the prototype window > >>>>>> Dialog.info($('ShareOptions').innerHTML, > >>>>>> {className:"alphacube",width: > >>>>>> 550}); > > >>>>>> // slider code > >>>>>> new Control.Slider('PermissionHandle','PermissionSlider',{range: > >>>>>> $R(0,500),values:[152,313,466],onSlide:function(v) > >>>>>> {ChangePermissionGraphic(v);},onChange:function(v) > >>>>>> {ChangePermissionGraphic(v);}}); > > >>>>>> Any ideas as to why the slider handle will not move ? Please > >>>>>> please > >>>>>> help me. > > >>>>>> Thanks a lot --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---