fancybox-2


Fancybox2 api open() ignores options?


The fancybox2 docs for the API call open() says
$.fancybox.open( [group], [options] )
However the docs go into detail about [ group ] and say nothing about the format expected for the [ options ]
Furthermore the options seem to be ignored.
When I use
$.fancybox.open([{ href : '#popup_panel' }], [ { 'title' : 'Title Two', 'minWidth' : 500 }] );
or
$.fancybox.open([{ href : '#popup_panel' }], [ { title : 'Title Two', minWidth : 500 }] );
Fancybox seems to ignore the options... it opens, but there is no title and the minWidth is ignored.
I'm using v2.1.5 if the fancybox javascript.
The fancybox documentation is wrong; options go inside the [group] apparently:
$.fancybox.open([{ href : '#popup_panel', title : 'Title Two', minWidth : 500 }], [] );

Related Links

“Clicking” to advance image on a mobile device
Open image in Fancybox 2 in fullscreen not sized [SOLVED]
Fancybox 2 multiple titles
Fancybox 2.1.5 doesn't show close button on mobile
Images will not pop up in FancyBox.
Fancybox2 api open() ignores options?
fancyBox 2 Vimeo embedding not working
Jquery Fancybox-media prev and next buttons need three clicks to work
Fancybox quicktimes loading properly locally but not on server
Skip 404 links with fancybox2
Fancybox data-fancybox-type=“iframe” and Strict XHTML Doctype
Fancybox 2 Title “Inside” on YouTube (iframe)?
fancy box prev and next buttons // how to show in some and not others
Fancybox 2 not showing when calling .open()
Audio continues after fancyBox closes
fancybox 2 & IE8 - no background overlay

Categories

HOME
vim
c#-4.0
kde
google-play
office365api
rsyslog
framework7
setup-deployment
spring-cloud-stream
google-oauth
graphql
gps
callback
ezpublish
yum
azure-storage-tables
metatrader4
iron-router
highlight.js
windows-7-x64
google-static-maps
jtextfield
xlsxwriter
wkwebview
dcevm
django-storage
kannel
uninstall
windows-error-reporting
dbclient
nat
microsoft-chart-controls
xquery-3.0
semantic-versioning
contact-form
catch-all
hexo
fusionpbx
appfabric
vxworks
disassembling
leading-zero
galen
avro4s
ibpy
isbn
fakeiteasy
executenonquery
angular-resource
scrollable
appcompat
prolog-setof
fancybox-2
topbeat
wdf
gridpane
home-directory
merge-conflict-resolution
qpid
asp.net5
freedesktop.org
spim
icu4j
atk4
libressl
splash
dundas
formatjs
html-helper
onactivityresult
phpthumb
xceed-datagrid
prettify
apc
gwt-rpc
armcc
viewswitcher
qtkit
netbeans-6.9
hgsubversion
libc++
html-input
vc90
iweb

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App