Well, I should say that’s the bug on IE. I was about to add a pop up preview for the thumbnails. Came across a Jquery plugin called ‘Cluetip’ becomes very handy. Everything works perfectly fine on Firefox, but it was not showing anything on IE6 and IE7, and I had to spend an hour to figure out what the problem was.
Here were my original Javascript code:
function preview() {
$(‘a.tips’).cluetip({
width: ‘auto’,
arrows: false,
waitImage: false,
dropShadow: false,
hoverIntent: false,
showTitle: false,
positionBy: ‘bottomTop’,
});
}
However, Mr IE only like to take it in this way:
function preview() {
$(“a.tips”).cluetip({width: ‘auto’, arrows: false, waitImage: false, dropShadow: false, hoverIntent: false, showTitle: false, positionBy: ‘bottomTop’});
}
See the differences? — no break lines between each arguments. that’s it!
This post is dedicated to the developers who love Jquery just like I do, and have suffered too much from the IE issues.
I am a freelance software engineer, specialising web development.
I am passionate about technologies, and enjoy building web apps.