Image map and Firefox
February 1, 2008 - 1:30am — jack
| Project: | Facebox |
| Version: | 1.0.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
I have used Facebox successfully with normal images inside , but now I am trying to use it from an image map. It will work in IE 6, but not in Firefox.
With the code below, the Facebox starts to display, but then the browser goes to a new page showing just the image. I have reproduced this problem with Firefox 2.0.0.10 on Linux and Firefox 2.0.0.5 and 2.0.0.11 on Win). The error message is
Error: this.rel has no properties
Source File: http://DOMAIN/slib/script/jquery.plugin/facebox/facebox.js
Line: 125
HTML:
JavaScript:
jQuery(document).ready(function()
{
jQuery('area[rel*=facebox]').facebox();
});