jquery - Fancybox options not having any effect -
I'm using fancybox 1.2.1 to open an iframe. My problem is that my width, height and scrolling options do not really do anything, am I forgetting something? It just opens at the default size.
calls:
$ (document) .ready (function () {$ ('a [rel = gallery]'). Faxbox ({'width' : 920, 'height': 700, 'scrolling': 'no'});
});
And looks at the link in the page:
& lt; One class = "iframe" href = "http://www.myiframedomain.com/page.jsp" rel = "gallery" & gt; & Lt; Img src = "/ img / content / button.png" width = "210" height = "115" alt = "" /> & Lt; / A & gt;
Thanks.
You are not using the correct option name. Defined in width
and height
version 1.3+.
Use 1.2.1 for framewidth
and frameshite
. See all the options (and note that no one is in scrolling
1.2.1).
The post you posted is completely okay even though it is okay in 1.3.1, so I recommend that you can upgrade if you can.
Comments
Post a Comment