Page 1 of 1

bubble_tooltipjs

PostPosted: Tue Sep 02, 2008 6:55 am
by ykariv2
I am trying to add minor function to bubble_tooltip by dynamically changing the bottom gif
here is the added code:
after the following statement I added:
var obj2 = document.getElementById('bubble_tooltip_content');

var obj3 = document.getElementById('bubble_tooltip_bottom');
obj3.style.backgroundImage ="url('../images/new gif)";

it looks that it being ignored and the js did not use the new value, did not get any error either
Somebody has idea why?
Thanks
Yoram

PostPosted: Tue Sep 02, 2008 7:52 am
by ykariv2
forgot to mention that I added (changed) the folowing HTML
<div class="bubble_bottom"><span id="bubble_tooltip_bottom"></span></div>
***********************