Hello Joe,
 
This infact is a strange IE6 bug.
 
This I think is related to the DOM implementation in IE.
 
Coming to the solution -
 
Just move the script tag outside the table and it will start working.
 
IE6 doesn't like script tags within table.
 
Hope this helps!
 
Thank you,
Mandy.
 
 

<table>
<tr>
  <td>
  <input type="hidden" id="slider_id" name="slider" value="34"/>
  <div id="track_8499" 
style="width:100px;height:16px;background:url(/test/images/slider_bg.gif);">
    <img id="handle_8499" style="cursor: move" 
src="/test/images/slider_handle.gif"/>
  </div>
  </td>
</tr>
</table>

<script language="javascript">
  new Control.Slider('handle_8499','track_8499',{
  onChange:function(v){v=v*100; $('slider_id').value=v.toFixed(2);},
  sliderValue:"0.34"});
</script>

<<winmail.dat>>

_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to