Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #5696 (new defect)

Opened 4 years ago

Slider sizing problem in IE

Reported by: abe.gillespie@gmail.com Assigned to: thomas@fesch.at
Priority: high Milestone:
Component: script.aculo.us Version:
Severity: normal Keywords:
Cc:

Description

I have divs (slider and track) with images as their backgrounds. In FF it works correctly, in IE the slider div seems to be resized and thusly foobars the slider's increments. Since I can't send attachments, I'll do my best here:

<style type="text/css">
#track
{
  width: 17px;
  height: 189px;
  background-image: url(track.png);
}
    
#handle
{
  width: 17px;
  height: 9px;
  background-image: url(slider.png);
}
</style>

<div id="track">
  <div id="handle"></div>
</div>

<script type="text/javascript" language="javascript">
new Control.Slider('handle','track',{axis:"vertical",range:$R(0,12),
                        values:[0,1,2,3,4,5,6,7,8,9,10,11,12]});
</script>

I assigned this as "high" priority since it's blocking my progress right now. Sorry. :(

Thanks for the help! -Abe