Показать сообщение отдельно
  #10 (permalink)  
Старый 06.09.2011, 00:03
Интересующийся
Отправить личное сообщение для Kanzaki Посмотреть профиль Найти все сообщения от Kanzaki
 
Регистрация: 02.09.2011
Сообщений: 18

Вот. что мне ответил автор этого скрипта:
Цитата:
We popup preview window by this way:

this.popupWindow.openPopupAtScreen(x,y);

Popup a window will make sure preview windows always overlay on web page.

There are some limit when popup window :
window must small than your screen. If your image large than your screen, image will be cropped.
Another problem is : when [popup location y] < [image.height] will get a wrong window size.

If want to fix these problems:
(1) When image large than your screen, we MUST scale image.
(2) When [image.heigh] > [mouse.pos.y] we need set [popup location y] to image.heigh.
Это должно помочь. Я знаю, что тут написано. А в последних строках и конкретный способ решения проблемы. Мне нужна помощь исправить.
Ответить с цитированием