Hi,
I ran into deep problems using scrollbar features shown at
http://www.aldenta.com/examples/script.aculo.us/.
The scripts work as expected, but if i use the separate window effect
(based on prototype and script aculo us, too)
shown at
http://prototype-window.xilinus.com
the scrollbar doesn''t work anymore.
I tried and studied the source code for both subprojects but i have
really no idea why the scrollbars dont''t work in a separate window.
I did not use an iFrame for the window (simple div).
Here is my code:
window effect from : http://prototype-window.xilinus.com/
// generates a nice window with <div> inside.
win = new Window({Id: "mywindow", name:"mywindow",
className:
"mac_os_x", title: "Mainboard", width:400, resizable:false,
height:
500, destroyOnClose: true, recenterAuto:false});
win.keepMultiModalWindow=true;
// generateComponentChooserAsHTML() gives only simple html code back.
win.setHTMLContent(generateComponentChooserAsHTML());
win.showCenter();
win.refresh();
Now I update the div inside the window via Ajax which works fine. (But
even without updateing the scrollbar won''t work)
Now I have an example for the scrollbar like
http://www.aldenta.com/examples/script.aculo.us/slider-scrollbar.html.
If I try to put the divs into the separate windows the scrollbars
won''t work. Does anybody have an idea why?
Source code for the scrollbars: ( I do not post the css & js because I
didn''t change it.)
<div id="scrollable1">
... some very long text....
</div>
<div id="track1"><div
id="handle1"></div></div>
<div id="track2"><div
id="handle2"></div></div>
Of cource all necessary includes habe been added (css & js)
Thanks for any suggestions!
Christian
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---