Jquery Lightbox HTML Iframe Problem. HELP NEEDED!

Đang Thực Hiện Đã đăng vào May 23, 2011 Thanh toán khi bàn giao
Đang Thực Hiện 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!

CSS HTML JavaScript jQuery / Prototype PHP

ID dự án: #1071518

Về dự án

6 đề xuất Dự án từ xa May 23, 2011 đang mở

6 freelancer chào giá trung bình$30 cho công việc này

BittLoader

please check your PM

$30 USD trong 0 ngày
(124 Nhận xét)
6.8
cristisst

I can help you out in 5 min.

$30 USD trong 0 ngày
(130 Nhận xét)
6.3
phankhanh

Please check your PMB.

$30 USD trong 0 ngày
(24 Nhận xét)
4.6
kohsa4u

Please check pm.

$30 USD trong 0 ngày
(8 Nhận xét)
4.2
phpjquery

Please check PMB.

$30 USD trong 1 ngày
(20 Nhận xét)
3.2