I need to load timeplot using jQuery due to environment rules and have
found that if I do not use the:
<body onload="onLoad();" onresize="onResize();">
construct but instead use:
<script type="text/javascript">
var timeplot;
var timer = null;
$(document).ready(function(){
var eventSource = new Timeplot.DefaultEventSource();
...
}
$(window).resize(function(){
if (timer == null) {
timer = window.setTimeout(function() { timer = null;
timeplot.repaint(); }, 100);
}
});
</script>
The plot lines will not render in IE8. It works fine in Firefox. Our
requirement to use jQuery to load TimePlot is pretty difficult to work
around due to many other scripts/plugins being used in the application
so I need to resolve this by understanding why IE has difficulty with
the canvas when TimePlot is loaded with jQuery.
Incidentally, IE can draw the axis, labels and even the value bubbles
and text, just not the graph lines and dots. There must be some
conflict in the rendering mechanism with something in jQuery.
If anyone can shed some light on where I should be debugging, it would
be appreciated.
I have uploaded some examples to demonstrate what I am talking about:
http://groups.google.co.uk/group/simile-widgets/web/tp.zip
Cheers,
Rob
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---