Skip to content

Commit afdf752

Browse files
committed
Merge pull request #27 from ThibWeb/patch-3
Add Libscore badge & syntax highlighting to README
2 parents 66ba716 + b933f3d commit afdf752

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

readme.markdown

+15-15
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Iframe Height Jquery Plugin
1+
Iframe Height Jquery Plugin [![](http://api.libscore.com/badge/$.fn.iframeHeight.svg)](http://libscore.com#$.fn.iframeHeight)
22
=============
33
(Version 1.2.5) - 09.10.2013
44

@@ -25,38 +25,38 @@ Compressed Version : 6.28KB (2KB gzipped)
2525

2626
__Basic Usage__ :
2727

28-
```
28+
```javascript
2929
$(document).ready(function(){
3030
$('#autoIframe').iframeHeight();
3131
});
3232
```
3333

3434
or
3535

36-
```
36+
```javascript
3737
$(document).ready(function(){
3838
$.iframeHeight('#autoIframe');
3939
});
4040
```
4141

4242
__Debug Mode Usage__ :
4343

44-
```
44+
```javascript
4545
$('#autoIframe').iframeHeight({
4646
debugMode : true
4747
});
4848
```
4949

5050
__Full Options Usage__ :
5151

52-
```
52+
```javascript
5353
$('#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 : "",
6060
debugMode : false,
6161
visibilitybeforeload : true,
6262
blockCrossDomain : true,
@@ -236,7 +236,7 @@ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
236236
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
237237
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
238238
OTHER DEALINGS IN THE SOFTWARE.
239-
239+
240240
**GPL License**
241241

242242
Copyright (c) 2012 İlker Güller
@@ -268,7 +268,7 @@ Important thing is, if you change default options (in your base website), you mu
268268

269269
*when using it in your base website*
270270

271-
```
271+
```javascript
272272
$('#autoIframe').iframeHeight({
273273
debugMode : true,
274274
minimumHeight: 450,
@@ -278,7 +278,7 @@ $('#autoIframe').iframeHeight({
278278

279279
*then set it in your external site*
280280

281-
```
281+
```javascript
282282
$.iframeHeightExternal({
283283
debugMode : true,
284284
minimumHeight: 450,
@@ -288,7 +288,7 @@ $.iframeHeightExternal({
288288

289289
*If you want to trigger from any element to update iframe*
290290

291-
```
291+
```javascript
292292
var iframeExt = $.iframeHeightExternal({
293293
debugMode : true,
294294
minimumHeight: 450,

0 commit comments

Comments
 (0)