Multimedia and Web Design Firm
Flash replacement

Coda Style JQuery Bubble – Now works in IE !

After finding the Coda Bubble article i was keen to implement it on my site. Its a really cool effect that can add a lot to the web page with limited room to add in all the desired content. Its also a really attractive bit of candy that gives that little extra wow factor.

There are a few problems to the solution however:

  • The main being it doesnt work in any version of IE ( See image below )
  • Its riddled with inline tables and the code is a mess
  • Any text within the pop gets anti aliased by IE making it ugly

Problems in IE

I thought that it would be a shame to waste the original authors time and my own after taking a few hours to get it working. Is there a solution to get round these three problems?

Yes there certainly is: Very simple just use a gif image with transparency. View the demo.

While this solution isnt ideal* it works in all browsers, and the code is so much cleaner. To make the method accessible either add an “alt” or “longdesc” tag with a description of what’s in your pop up box.

*You are of course limited to colours with gif images but in most cases its generally text thats going to go in the pop up box anyway.

Did it work for you? Leave a comment…

One Response to “Coda Style JQuery Bubble – Now works in IE !”

  1. John Boxall Says:

    I extended the functionality of this snippet into a plugin to make it a bit more versatile, check it out:

    http://gist.github.com/86956

Leave a Reply

Telephone:

+44 (0)1224 582948

Office Address:

Second Floor,
35a Union Street,
Aberdeen,
Scotland,
AB11 5BN