1
- Iframe Height Jquery Plugin
1
+ Iframe Height Jquery Plugin [ ![ ] ( http://api.libscore.com/badge/$.fn.iframeHeight.svg )] ( http://libscore.com#$.fn.iframeHeight )
2
2
=============
3
3
(Version 1.2.5) - 09.10.2013
4
4
@@ -25,38 +25,38 @@ Compressed Version : 6.28KB (2KB gzipped)
25
25
26
26
__ Basic Usage__ :
27
27
28
- ```
28
+ ``` javascript
29
29
$ (document ).ready (function (){
30
30
$ (' #autoIframe' ).iframeHeight ();
31
31
});
32
32
```
33
33
34
34
or
35
35
36
- ```
36
+ ``` javascript
37
37
$ (document ).ready (function (){
38
38
$ .iframeHeight (' #autoIframe' );
39
39
});
40
40
```
41
41
42
42
__ Debug Mode Usage__ :
43
43
44
- ```
44
+ ``` javascript
45
45
$ (' #autoIframe' ).iframeHeight ({
46
46
debugMode : true
47
47
});
48
48
```
49
49
50
50
__ Full Options Usage__ :
51
51
52
- ```
52
+ ``` javascript
53
53
$ (' #autoIframe' ).iframeHeight ({
54
- resizeMaxTry : 2,
55
- resizeWaitTime : 300,
56
- minimumHeight : 100,
57
- defaultHeight : 500,
58
- heightOffset : 90,
59
- exceptPages : "",
54
+ resizeMaxTry : 2 ,
55
+ resizeWaitTime : 300 ,
56
+ minimumHeight : 100 ,
57
+ defaultHeight : 500 ,
58
+ heightOffset : 90 ,
59
+ exceptPages : " " ,
60
60
debugMode : false ,
61
61
visibilitybeforeload : true ,
62
62
blockCrossDomain : true ,
@@ -236,7 +236,7 @@ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
236
236
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
237
237
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
238
238
OTHER DEALINGS IN THE SOFTWARE.
239
-
239
+
240
240
** GPL License**
241
241
242
242
Copyright (c) 2012 İlker Güller
@@ -268,7 +268,7 @@ Important thing is, if you change default options (in your base website), you mu
268
268
269
269
* when using it in your base website*
270
270
271
- ```
271
+ ``` javascript
272
272
$ (' #autoIframe' ).iframeHeight ({
273
273
debugMode : true ,
274
274
minimumHeight: 450 ,
@@ -278,7 +278,7 @@ $('#autoIframe').iframeHeight({
278
278
279
279
* then set it in your external site*
280
280
281
- ```
281
+ ``` javascript
282
282
$ .iframeHeightExternal ({
283
283
debugMode : true ,
284
284
minimumHeight: 450 ,
@@ -288,7 +288,7 @@ $.iframeHeightExternal({
288
288
289
289
* If you want to trigger from any element to update iframe*
290
290
291
- ```
291
+ ``` javascript
292
292
var iframeExt = $ .iframeHeightExternal ({
293
293
debugMode : true ,
294
294
minimumHeight: 450 ,
0 commit comments