Hi I want to design my own buttons for the imagebox but I don't know the demenios to use (30px x 30px).
Janet ----- Original Message ----- From: "Tim Gossett" <[EMAIL PROTECTED]> To: "jQuery Discussion." <[email protected]> Sent: Thursday, January 25, 2007 4:32 PM Subject: Re: [jQuery] Interface 1.1.1 - imagebox The short answer is that the dimensions of the next and previous elements are calculated: half the width of the current image, 100% the height. If you have the (uncompressed) source, take a look at imagebox.js around line 515: prevImageEl.css({ left : jQuery.ImageBox.options.border + 'px', top : jQuery.ImageBox.options.border + 'px', width : containerW/2 - jQuery.ImageBox.options.border * 3 + 'px', height : containerH - jQuery.ImageBox.options.border * 2 + 'px' })… and similar for nextImageEl. You can style the close button with #ImageBoxClose (line 240). The only way to change this is the edit imagebox.js yourself. You may want to copy it first, then edit the copy, and include that copy right after you include interface. Take a look at a modification I did at http://mrgossett.com/jQuery/imagebox/ -- Tim is MrGossett On 1/25/07, Janet Weber <[EMAIL PROTECTED]> wrote: > > > > Hi > Dose anyone know what are the demnsions of the next, previous,close images > for imagebox are? > > Janet > _______________________________________________ > jQuery mailing list > [email protected] > http://jquery.com/discuss/ > > > _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/ _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
