Bruno Tavares website

Hello and welcome to my website

You've stumbled in my website... This website is the place where I'll put my thoughts, CV, scripts, tutorials and hopefully speak about me. I make a promise to myself to write at least one post per week and you can help me with your regular visits! Hope you enjoy it as much I enjoy sharing this texts with you! Stay arround...

Sweet Titles on Internet Explorer

Topic: Resources|

Hi all,

I use Sweet Titles for fading tooltips on this website, however in Internet Explorer (IE) it didn’t work. As you see its working now on IE and Netscape based browsers.

I just have to change the following lines on the function tipOver : function(e) that’s on line 64:

switch:

sweetTitles.obj = this;

for:

if(navigator.appName != “Netscape”){
       //IE based
      if (!e) var e = window.event;
      sweetTitles.obj = e.srcElement;
    }else{
       //netscape based
    sweetTitles.obj = this;
  }

Basically in IE the sweetTitles.obj is fill by sweetTitles because this doesn’t return the mouse over object.

The Sweet Titles error on Internet Explorer is solved.

Share/Save/Bookmark



 

close Reblog this comment
blog comments powered by Disqus

 


Entry Navigation