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

FancyBox attach more href
fancybox open iframe when clicking different element
Fancy box will not work
Deeper documentation for Fancybox2?
“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)?

Categories

HOME
zeromq
tizen
react-virtualized
stock
bpmn
setup-deployment
yahoo-oauth
yarn
electronics
fsm
fancybox
spring-kafka
dax
collectd
nhibernate-envers
grails3
java-3d
tibco-mdm
php-openssl
jndi
lcd
traffic
strncpy
primitive
nameservers
.net-4.0
data-manipulation
exuberant-ctags
siesta-swift
google-sites-2016
grails-3.1
vsts-build-task
overlap
dosbox
document.write
dism
ensembles
cubic-spline
auto-update
qsslsocket
theming
celery-task
windows-iot-core-10
knpmenubundle
iso8601
quartz-composer
probability-density
google-web-starter-kit
plottable.js
simplewebrtc
bgp
pickadate
natvis
lemon
quicklisp
interrupted-exception
sailfish-os
mmc
bridge.net
apache-commons-net
xc16
markers
flask-cors
aapt
rebol3
srs
industrial
terminal-services
ms-project-server-2010
.aspxauth
html4
django-nonrel
ember-app-kit
manchester-syntax
ticoredatasync
whoosh
zpt
appender
xfbml
h.323
asp.net-mvc-areas
sproutcore-2
dentrix
nintendo-ds
virtual-functions
noscript
nerddinner
port-number
commodore

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App