Interferes with Javascript
-
On pages where the tooltips are enabled, my custom javascript breaks. Below is a simplified code sample that is broken by Tooltips:
<style type=”text/css”>
#canvas_container_container{width: 560px; border: 8px solid #30b;}
</style>
<script type=”text/javascript” src=”https://cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js”></script>
<script type=”text/javascript”>
window.onload = function() {
var paper = new Raphael(document.getElementById(‘canvas_container’), 500, 500);
paper.text(360, 440, “Steam”).attr({‘fill’: ‘#b30’});
}
</script>
<div id=”canvas_container_container”>
<div id=”canvas_container”></div>
</div>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Interferes with Javascript’ is closed to new replies.