Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Fancy Box inline with image map - help please

Featured Replies

Hi all,

 

I've been trying to make this Batman infographic interactive

 

The pop up Youtube vids work in all browsers (click on batman's vehicles to see) but the pop up 'inline' text boxes don't work in IE when you click the blue 'i' icons next to the vehicles

 

http://drewphp.zymichost.com/fancyapps-fancyBox-0ffc358/demo/batman.html

 

Can anyone help please?

Not sure why the text boxes don't work in IE

 

Here's all the fancy box code (despite the universal fancy box files/code)

 

 

 

 

 

 

<img src="drew-test-lightbox.jpg" width="720" height="3733" alt="Batman" usemap="#planetmap">

<map name="planetmap">

<area shape="circle" coords="196,1149,99" a class="fancybox-media" href="

"></a>


<area shape="circle" coords="542,1379,99" a class="fancybox-media" href="
"></a>


<area shape="circle" coords="216,1625,99" a class="fancybox-media" href="
"></a>


<area shape="circle" coords="518,1065,55" a class="fancybox" href="#inline1"></a>

<area shape="circle" coords="188,1308,55" a class="fancybox" href="#inline2"></a>

<area shape="circle" coords="570,1533,55" a class="fancybox" href="#inline3"></a>

<area shape="rect" coords="272,3633,1444,5207" href="http://www.moneysupermarket.com" alt="moneysupermarket">

</map>

<map name="planetmap">
<div id="inline1" style="width:400px;display: none;">
<h3>Tumbler</h3>
<p>
Bruce Wayne acquired a shelved Wayne Enterprises military vehicle, called the "Tumbler", to serve as his Batmobile. Originally sporting military desert camouflage paint, Bruce Wayne requested Lucius Fox to have the Tumbler painted black. At that time, Wayne never referred to it as the "Batmobile."
Several days later, Dr. Jonathan Crane poisoned Rachel Dawes after showing her that his toxin was being piped into Gotham's water supply. </p>
<p>She was eventually saved by Batman. The GCPD entered Arkham Asylum and arrested Crane while Batman escaped with Rachel in the Tumbler.

That night, Batman battled Ra's al Ghul aboard a train, then escaped just as Sgt. Jim Gordon, who then drove the Tumbler under Batman's permission, launched the missiles from it, causing Ra's al Ghul to crash with the train to the ground. </p>

<div id="inline2" style="width:400px;display: none;">
<h3>The Batpod</h3>
<p>
The Batpod is intended as a kind of "escape pod" integrated into the Tumbler, it also served an an auxiliary vehicle. Armed with dual front-mounted cannons, machine guns and grappling hooks, the Batpod affords Batman greater mobility at the cost of some protection.
Batman first used the Batpod to escape from the Tumbler after it was critically damaged by an RPG round fired by The Joker. He then used the Batpod to pursue Joker, eventually crashing the Semi truck he was driving. </p>
<p>Batman proceeds to raced down towards The Joker at high speed with Batpod with the intent of running him over as the Joker taunts him to "Hit Me!". However mere moments before the collision, Batman steers out of the way of the Joker's path and crashes. Batman uses the Batpod again when Rachel Dawes & Harvey Dent are kidnapped and placed in two different locations by the mob. Batman races to the location where he thought Rachel was being held only to find Harvey instead who ultimately gets tragically half disfigured facially. Batman would end up taking the fall for Two-Face's crimes becoming a wanted vigilante by the police force. Batman rides off into the night not be seen until he was needed once more.
</p>


<div id="inline3" style="width:400px;display: none;">
<h3>The Bat</h3>
<p>
The Bat is the name given to the aircraft operated by Batman in The Dark Knight Rises.

Bruce Wayne meets with Lucius Fox to discuss the status and business options of a crumbling Wayne Enterprises. After their discussion Lucius is curious as to why Bruce did not inquire about any new equipment (for his Batman activities), noting that their meetings used to "end with an unusual request." Bruce replies that he is retired from his Batman career, but Lucius coerces him to look at some new stuff anyway "just for old time's sake." </p>
<p>They soon enter the Applied Sciences division which has still been kept secret by Fox and he then unveils a new vehicle. Bruce asks Lucius what the vehicle is called to which he replied "it has some long, uninteresting Wayne Enterprises designation", but he simply chose to dub it "The Bat". He also noted that it did indeed "come in black," (a reference to the first film). While mentioning many of its features to Bruce, Lucius notes that he had not designed a functioning auto-pilot, but that someone of Bruce's intellectual caliber would be able to design one.
</p>

Hi.

1. You got some unclosed and stray tags which will likely confuse IE and other browsers. Try to correct the markup.

2.If it still doesn't work try removing the inline styling with the display propperty and place it in styletags or an external stylesheet. Fancybox is using an external stylesheet so your inlinestyle might override that in IE.

3. Check what version your jquery-link points to and check Fancybox documentation if it's compatible with that version.

 

I think number 1 will do the trick

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.