From d33464946a2f92f64833c112f934e7b4d5c24773 Mon Sep 17 00:00:00 2001 From: "David J. Bradshaw" Date: Mon, 22 Dec 2014 23:35:00 +0000 Subject: [PATCH] Typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a277076e0..54c99fade 100644 --- a/README.md +++ b/README.md @@ -258,7 +258,7 @@ Not having a valid [HTML document type](http://en.wikipedia.org/wiki/Document_ty ``` ###IFrame not resizing -The most common cause of this is not placing the ([iframeResizer.contentWindow.min.js](https://raw.github.com/davidjbradshaw/iframe-resizer/master/js/iframeResizer.contentWindow.min.js)) script inside the iFramed page. If the other page is on a domain outside your control and you can not add JavaScript to that page. Now is the time to give up all hope of ever getting the iFrame to size to the content; As it is impossible to work out the size of the contained page, without using JavaScript on both the parent and child pages. +The most common cause of this is not placing the [iframeResizer.contentWindow.min.js](https://raw.github.com/davidjbradshaw/iframe-resizer/master/js/iframeResizer.contentWindow.min.js) script inside the iFramed page. If the other page is on a domain outside your control and you can not add JavaScript to that page, then now is the time to give up all hope of ever getting the iFrame to size to the content. As it is impossible to work out the size of the contained page, without using JavaScript on both the parent and child pages. ###IFrame not detecting CSS :hover events If your page resizes via CSS `:hover` events, these won't be detect by default. It is however possible to create `mouseover` and `mouseout` event listeners on the elements that are resized via CSS and have these events call the [parentIFrame.size()](##parentiframesize-customheight-customwidth) method. With jQuery this can be done as follows, once you have set the [enablePublicMethods](#enablepublicmethods) option to **true**.