FB height with ipad (new)

Page: 1

Author Post
Member
Registered: Sep 2012
Posts: 2
Hi, i've got a fb with the height only on the new Ipad.
When i use directly on the head script, it works good on desktop, iphone,
but the height was wrong on the ipad. :evil:
Exemple : http://www.gwendallmavic.fr/index.php/hotels-2.html
<script type="text/javascript">
fbPageOptions = {
width: '85%',
height: '85%',
mobileNewWindow:true
};
</script>

When i use the data-fb-options="width:85% height:85% scrolling:no" directly on the link, all is good. :D
Exemple : http://www.gwendallmavic.fr/index.php/restaurants.html
data-fb-options="width:85% height:85% scrolling:no"

I've got many links to do. So i really want to fixe the width and height in the head script. Any idea to solve the fb ?

Thanks for your help and sorry for my poor english… ;)

Gwendall
Administrator
Registered: Aug 2008
Posts: 3382
The difference in behaviour is likely not a result of where the options are assigned, but rather the fact that on the restaurants page scrolling is set to 'no', while on the hotels page scrolling remains at its default of 'auto'. Add scrolling:'no' to fbPageOptions and I bet you'll get the same behaviour across those two pages. Please let me know if you don't.
Member
Registered: Sep 2012
Posts: 2
Great ! That's OK. Thanks.

Page: 1