Bug Tracker

Opened 12 years ago

Closed 10 years ago

#1150 closed enhancement (invalid)

Imagebox corrections proposal

Reported by: Spyroland Owned by:
Priority: minor Milestone: 1.1.3
Component: plugin Version: 1.1.2
Keywords: imagebox Cc:
Blocked by: Blocking:

Description (last modified by dmethvin)

Here are some change proposals for imagebox:

490,494d489 < center the outercontainer, so you can click on the left < or the right to close the imagebox < outerContainer < .css('width', containerW + 'px') < .css('left', (clientSize.w-containerW)/2 + 'px');

566,573d560 < < if the page does not occupy the whole window, < and the image is taller than the window, < the overlay needs to be extended now (= after resizing the image box itself) < (otherwhise scrolling reveals the original background) < overlay = jQuery('#ImageBoxOverlay'); < pageSize = jQuery.iUtil.getScroll(); < overlay.css ('height', Math.max(pageSize.ih,pageSize.h) + 'px')

Change History (2)

comment:1 Changed 12 years ago by Spyroland

Ooops sorry for the formatting

490,494d489
<	// center the outercontainer, so you can click on the left
<	// or the right to close the imagebox
<	outerContainer
<	.css('width', containerW + 'px')
<	.css('left', (clientSize.w-containerW)/2 + 'px');


566,573d560
<	////
<	// if the page does not occupy the whole window,
< 	// and the image is taller than the window,
< 	// the overlay needs to be extended now (= after resizing the image box itself)
< 	// (otherwhise scrolling reveals the original background)
< 	overlay = jQuery('#ImageBoxOverlay');
< 	pageSize = jQuery.iUtil.getScroll();
< 	overlay.css ('height', Math.max(pageSize.ih,pageSize.h) + 'px')

comment:2 Changed 10 years ago by dmethvin

Description: modified (diff)
Resolution: invalid
Status: newclosed

This is not a jQuery core bug. Please report plugin bugs to the plugin's author, or ask on the jQuery forums. jQuery UI bugs should be reported on the UI bug tracker, http://dev.jqueryui.com .

Note: See TracTickets for help on using tickets.