sub
02-08-2009, 06:31 PM
1) Script Title: Facebox image and content viewer (v 1.1)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/facebox/index.htm
3) Describe problem: I am trying to invoke Facebox from a link on an area map, and it appears that rel="facebox" is being ignored in that situation.
Here is the code i am using:
<div class="panel">
<img src="wp-content/themes/default/images/bragi.png" width="210" height="118" alt="DrBragi" usemap="#Map4" />
<map name="Map4">
<area shape="circle" coords="185,106,9" href="wp-content/themes/default/sheets/bragi.html" rel="facebox" />
</map>
<a href="wp-content/themes/default/sheets/bragi.html" rel="facebox">LINK</a>
</div>
If you notice in that code, i have a regular text link at the bottom which is there for testing, and it works with no problem, so i am fairly confident that i have Facebox itself set up and working properly.
In other words this problem only occurs when i am linking from an area map applied to an image.
I found someone else here having a similar problem with Lightbox:
http://www.dynamicdrive.com/forums/archive/index.php/t-18039.html
Their fix seemed to be a tweak of the .js which is well beyond my experience...
Any help would be hugely welcome and very appreciated.
Many thanks to all of you.
:)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/facebox/index.htm
3) Describe problem: I am trying to invoke Facebox from a link on an area map, and it appears that rel="facebox" is being ignored in that situation.
Here is the code i am using:
<div class="panel">
<img src="wp-content/themes/default/images/bragi.png" width="210" height="118" alt="DrBragi" usemap="#Map4" />
<map name="Map4">
<area shape="circle" coords="185,106,9" href="wp-content/themes/default/sheets/bragi.html" rel="facebox" />
</map>
<a href="wp-content/themes/default/sheets/bragi.html" rel="facebox">LINK</a>
</div>
If you notice in that code, i have a regular text link at the bottom which is there for testing, and it works with no problem, so i am fairly confident that i have Facebox itself set up and working properly.
In other words this problem only occurs when i am linking from an area map applied to an image.
I found someone else here having a similar problem with Lightbox:
http://www.dynamicdrive.com/forums/archive/index.php/t-18039.html
Their fix seemed to be a tweak of the .js which is well beyond my experience...
Any help would be hugely welcome and very appreciated.
Many thanks to all of you.
:)