Using the scriptaculous slider for a web form. All was working
beautifully inside valid html until the client came back and said they
need it to work within their site building application which sadly
generates content inside tables. I''ve had to re-jig the templates
orginally sent over to work inside nested tables - everything works
apart from the slider feature. It''s perfect in FF and Safari but no
joy in IE6/7 and I''m tearing my hair out at this stage! Anyone got
any clue as to why it''s not working in ie????
The html code:
<table cellpadding="0" border="1"><tr><td>
<div class="frow">
<label for="result2" class="lbl">Net monthly
income</label>
<div id="track2" class="track">
<div id="handle2" class="handle"></div>
</div>
<p id="result2" class="result">€ 0</p>
<div class="clearBoth"></div>
<script type="text/javascript">
// <![CDATA[
// horizontal slider control with preset values
new Control.Slider(''handle2'', ''track2'', {
range: $R(0, 888),
values: [0,100,200,300,400,500,600,700,800,888],
sliderValue: 1, // won''t work if set to 0 due to a bug(?) in
script.aculo.us
onSlide: function(v){ $(''result2'').innerHTML =
''€ '' + v },
onChange: function(v){ $(''result2'').innerHTML =
''€ '' + v }
});
// ]]>
</script>
</div>
</td></tr></table>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---