views:

1323

answers:

2

Hi, in the fancybox homepage (http://fancybox.net/home) there is an exemple that opens an iFrame dimensioned as the 75% of the screen.

I cant get it by modifing the width and height properties on the .js file as described on the site.

Someones can help me?

thaaanks

A: 

You should try this:

$('iframeLink').fancybox({
'width':300,
'height':200,
'type':'iframe',
'autoScale':'false'
});
A: 

Nope, not working for me :s are you sure false should be in quotes? Even when it's not i don't get the anticipated result... It just shows the default dimensions :S

LarZ