Hi all,

I had two buttons at each end of a timeline for controlling the
horizontal scroll of the same.


For example:

<[bt]    TIMELINE    [bt]>



It worked in firefox but in internet explorer to check the following
error occurred:


"Error:" tl "is null or not an object"




The javascript code I'm using for the button functionality is this:



<script language="Javascript" type="text/javascript">

           function avancaTimeline(distance) {

                        tl.getBand(0)._autoScroll(distance);

                };

</script>



And I'm calling the function as follows:



  <!-- BT LEFT -->

onclick="javascript:avancaTimeline(500);

  <!-- BT RIGHT -->

onclick="javascript:avancaTimeline(-500);


  <!-- TIMELINE -->

  <div id="stl-mytimeline"><?php stl_simile_timeline(); ?></div>

  <!-- TIMELINE  -->


I appreciate any help.

Att,
Marcos Mendes

-- 
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/simile-widgets?hl=en.

Reply via email to