Title: Inline Call
Last modified: August 21, 2016

---

# Inline Call

 *  [Dani-Girl](https://wordpress.org/support/users/dani-girl/)
 * (@dani-girl)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/inline-call/)
 * I’m trying to implement an inline call in the Extended Call sections, but it 
   seems not to be working properly.
 * Here is my JS:
 *     ```
       jQuery("a#inline").fancybox({
       	'overlayOpacity': "0.9",
       	'overlayColor': "#000000",
       	'titleShow': true,
       	'titlePosition': 'float',
       	'enableEscapeButton': true,
       	'showCloseButton': true,
       	'showNavArrows': true,
       	'hideOnOverlayClick': true,
       	'hideOnContentClick': false,
       	'width': 560,
       	'height': 340,
       	'transitionIn': "fade",
       	'transitionOut': "fade",
       	'centerOnScroll': true,
       	'type': 'inline'
       });
       ```
   
 * Here is my a href link:
    `<a id="inline" href="#data"><img src="somefile.jpg"
   border="0"></a>`
 * And My div:
 *     ```
       <div id="data" style="width: 600px; height: 150px; display: none; position: absolute; z-index: 10;">
       <h2>Alert</h2>
       <p>TEST!! TEST !!!</p>
   
       <p>Would you still like to continue?<br>
       <a href="#">YES!</a> | <a href="#">No!</a></p>
   
       </div>
       ```
   
 * However, when clicking on the link, the fancybox only creates a small 10 px x
   10 px white box, with no content.
 * anyone can help?
 * [http://wordpress.org/extend/plugins/fancybox-for-wordpress/](http://wordpress.org/extend/plugins/fancybox-for-wordpress/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [flojnel](https://wordpress.org/support/users/flojnel/)
 * (@flojnel)
 * [13 years ago](https://wordpress.org/support/topic/inline-call/#post-3672720)
 * I was looking for the code to put in the extended call section and used yours(
   modified for my settings) and it worked. What’s different in mine is that the“
   data” div is wrapped in another div:
    `<div style="display:none">` I think that
   might be all you need to add.
 *  [flojnel](https://wordpress.org/support/users/flojnel/)
 * (@flojnel)
 * [13 years ago](https://wordpress.org/support/topic/inline-call/#post-3672721)
 * And thanks btw!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Inline Call’ is closed to new replies.

 * ![](https://ps.w.org/fancybox-for-wordpress/assets/icon-256x256.jpg?rev=1864321)
 * [FancyBox for WordPress](https://wordpress.org/plugins/fancybox-for-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/fancybox-for-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/fancybox-for-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/fancybox-for-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fancybox-for-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fancybox-for-wordpress/reviews/)

## Tags

 * [div](https://wordpress.org/support/topic-tag/div/)

 * 2 replies
 * 2 participants
 * Last reply from: [flojnel](https://wordpress.org/support/users/flojnel/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/inline-call/#post-3672721)
 * Status: not resolved