Jquery Lightbox HTML Iframe Problem. HELP NEEDED!
$30-250 USD
Thanh toán khi bàn giao
Quick Project for $30 Only <---- $30 ONLY
I'm having problems with this page:
[url removed, login to view]
As you can see I have added a lightbox script to the page.
When you click the image it opens up a lightbox which is a simple iframe which opens a video located on another page.
The problem is... The iframe dimensions is set to percentage - % - and it displays differently with different screen resolutions. So on my laptop the lightbox is perfectly sized around the video, but if I try it on my desktop PC with a larger screen the lightbox is half the size of the video and has scroll bars.
I need the lightbox dimensions to be set in pixels not percentage.
This part of the code sets the dimensions:
$("#various3").fancybox({
'width' : '45%',
'height' : '70%',
'autoScale' : false,
'transitionIn' : 'none',
'transitionOut' : 'none',
'type' : 'iframe'
});
I tried changing the height and width to:
'width' : '560px',
'height' : '325px',
But it doesn't work!
HELP!
ID dự án: #1071518