Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-03-20 Thread [-Stash-]

Don't forget to SHOUT LOUDLY when that day of work is complete ;)

Luke


Klaus Hartl wrote:
 
 Joel Birch schrieb:
 Anything we can do to lighten the load? I'm sure many of us will  
 agree that this is one of the most exciting and important plugin  
 projects at the moment.
 
 Good luck with everything Klaus.
 
 Joel.
 
 Thanks for your kind offer, Joel! I think I'll be needing just another 
 day of work to be able to announce beta.

-- 
View this message in context: 
http://www.nabble.com/ANNOUNCE%3A-Thickbox-Reloaded-alpha-tf3293077.html#a9573616
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-03-14 Thread Klaus Hartl
Joel Birch schrieb:
 Anything we can do to lighten the load? I'm sure many of us will  
 agree that this is one of the most exciting and important plugin  
 projects at the moment.
 
 Good luck with everything Klaus.
 
 Joel.

Thanks for your kind offer, Joel! I think I'll be needing just another 
day of work to be able to announce beta.


-- Klaus

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-03-13 Thread Mark

hows the development going?

2007/3/2, [-Stash-] [EMAIL PROTECTED]:



Just tried this in IE7 (WinXPSP2) and the overlay is solid black.  Some of
the CSS positioning is also a little out of kilter, but everything works!

Looking forward to this one Klaus :)

Luke


Klaus Hartl wrote:

 Sean O schrieb:
 Klaus,

 Nice job, everything looks great in Firefox 2  IE 7 PC.

 Sean, as I said, I haven't done any testing in IE at all so far. I'm
 truly amazed, that it looks great in IE 7 already. :-)

 -- Klaus

--
View this message in context:
http://www.nabble.com/ANNOUNCE%3A-Thickbox-Reloaded-alpha-tf3293077.html#a9277570
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-03-13 Thread Klaus Hartl
Mark schrieb:
 hows the development going?

I'm sorry, I'm pretty busy at the moment and I'm stuck, but I gathered 
all the feedback and hope to get things further on the weekend... I have 
already started to fix a few bugs in IE.


-- Klaus

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-03-13 Thread Joel Birch
On 14/03/2007, at 3:03 AM, Klaus Hartl wrote:
 Mark schrieb:
 hows the development going?

 I'm sorry, I'm pretty busy at the moment and I'm stuck, but I gathered
 all the feedback and hope to get things further on the weekend... I  
 have
 already started to fix a few bugs in IE.


 -- Klaus

Anything we can do to lighten the load? I'm sure many of us will  
agree that this is one of the most exciting and important plugin  
projects at the moment.

Good luck with everything Klaus.

Joel.

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-03-02 Thread [-Stash-]

Just tried this in IE7 (WinXPSP2) and the overlay is solid black.  Some of
the CSS positioning is also a little out of kilter, but everything works!

Looking forward to this one Klaus :)

Luke


Klaus Hartl wrote:
 
 Sean O schrieb:
 Klaus,
 
 Nice job, everything looks great in Firefox 2  IE 7 PC.
 
 Sean, as I said, I haven't done any testing in IE at all so far. I'm 
 truly amazed, that it looks great in IE 7 already. :-)
 
 -- Klaus

-- 
View this message in context: 
http://www.nabble.com/ANNOUNCE%3A-Thickbox-Reloaded-alpha-tf3293077.html#a9277570
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-03-01 Thread agent2026

I agree, but what bothers me about the loading more is that the entire
Thickbox (other than the overlay) disappears while this is happening.  It
would be less disturbing if the 'ui' stayed - the border, margin/background,
links/txt, etc. - and just the image changed.

I like your idea for the loader too.  IE7 can handle transparent PNGs,
though I haven't tested how well.  Maybe IE6 gets a loadbar instead?

Adam


deadguy wrote:
 
 When using gallery images, the load when switching images is very  
 intrusive. A less disruptive method would place the loading spinner  
 on top of the current image until the next image is loaded (rather  
 than making the current image disappear completely). The downside is  
 IE's poor handling of transparent PNG.
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/ANNOUNCE%3A-Thickbox-Reloaded-alpha-tf3293077.html#a9208801
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-03-01 Thread [-Stash-]


Klaus Hartl wrote:
 [-Stash-] schrieb:
 A simple Cancel link would be superb - I think this is an essential
 addition!
 
 clicking on the overlay while loading will abort loading... that its not 
 working is a bug on my side. is that sufficient?

OK, I just tested with own hacked about version of ThickBox 2.1 and clicking
on the overlay while the loading animation is showing does indeed kill the
TB.  However, clicking on the actual lading animation itself does NOT kill
the TB.  Would it be possible for TB3 to close when you click on the loading
animation?  That way the loading animation can be simply modified to say
loading... click to cancel which is nice and explanatory.


Klaus Hartl wrote:
 [-Stash-] schrieb:
 I like this idea a lot.  Added to this, it would be nice if progressive
 images (JPEG and PNG) could start to display as soon as you have the
 image
 size.
 
 The display of the Box is bound to the load event of the image. I don't 
 think that there is another way to do it except for maybe setting up an 
 interval to check size, but that would mean a lot overhead, so this will 
 not go in, I'm sorry. People already started to complain about file
 size...

I didn't realise this, so I'm quite happy to not have this feature included
as I want TB to remain nice and light as well :)

Thanks for all the hard work Klaus :)

Luke
-- 
View this message in context: 
http://www.nabble.com/ANNOUNCE%3A-Thickbox-Reloaded-alpha-tf3293077.html#a9246757
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-03-01 Thread Klaus Hartl
[-Stash-] schrieb:
 
 Klaus Hartl wrote:
 [-Stash-] schrieb:
 A simple Cancel link would be superb - I think this is an essential
 addition!
 clicking on the overlay while loading will abort loading... that its not 
 working is a bug on my side. is that sufficient?
 
 OK, I just tested with own hacked about version of ThickBox 2.1 and clicking
 on the overlay while the loading animation is showing does indeed kill the
 TB.  However, clicking on the actual lading animation itself does NOT kill
 the TB.  Would it be possible for TB3 to close when you click on the loading
 animation?  That way the loading animation can be simply modified to say
 loading... click to cancel which is nice and explanatory.

Ah, I know why. Because the loading animation is a layer on top of the 
dim, thus the click event of the dim isn't fired of course. I will fix this!



-- Klaus

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-03-01 Thread Klaus Hartl
agent2026 schrieb:
 I agree, but what bothers me about the loading more is that the entire
 Thickbox (other than the overlay) disappears while this is happening.  It
 would be less disturbing if the 'ui' stayed - the border, margin/background,
 links/txt, etc. - and just the image changed.
 
 I like your idea for the loader too.  IE7 can handle transparent PNGs,
 though I haven't tested how well.  Maybe IE6 gets a loadbar instead?
 
 Adam
 
 
 deadguy wrote:
 When using gallery images, the load when switching images is very  
 intrusive. A less disruptive method would place the loading spinner  
 on top of the current image until the next image is loaded (rather  
 than making the current image disappear completely). The downside is  
 IE's poor handling of transparent PNG.


I agree that its not ideal that the box gets hidden when loading the 
next image. I'll see what I can do here. Fore sure, this will add more code.



-- Klaus


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-28 Thread BoOz
Hi,

Klaus Hartl a écrit :

agent2026 schrieb:
  

Very nice Klaus.

One thing I would really like to see added (which I've done with help my
modded version) is circular browsing - 'next' on last image loads first
image, and vice versa - and 'click=next' when clicking on an image in a
Thickbox.



Is clicking on the image will take you to the next image expected 
behavior? I don't think so, but it's not my Thickbox, it's ours. So what 
do the others think?

Same for that circular thing? Feedback please!

Besides, I also planned to implement a slideshow option. Another idea: 
Instead of next/previous links one could (optionally) show mini 
thumbnails... hm, just thinking out loud. After all, the script won't 
get smaller.

I'd like to feed back by showing my own thickbox hacks (most of them are 
already in Klaus version) :

http://spip-zone.info/spip.php?article31 (see the portefolio at the 
bottom of the page)

My hacks :
- Thickbox is setup when finding type=jpeg (or gif or png) in a, or 
on class=thickbox
- When an image is shown, the next one is pre-loading
- Click show next image
- next and previous as logos (rather than text string)
- Slideshow option
- Zoom option for big images
- css a la lightbox
- keyboard focus on slideshow and zoom
- keyboard broasing (tab, enter etc)

I had some feed back with that version : I was asked that it went in 
circles (the last image is followed by the first)

BoOz

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-28 Thread Torbjorn Tornkvist

Some other things:

I've been using Imagebox and are missing a way of Stopping/Unloading it.
Also, a hook when Imagebox closes down would have been very handy.

Perhaps Thickbox3 can remedy this?

Btw: what is the plan here, Thickbox looks very much alike as Imagebox.
It could/is a bit confusing with two so powerful and similar libs.
Why not enhance Imagebox instead of making Thickbox3 ?

Cheers, Tobbe


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-28 Thread agent2026

I like the idea of the zoom feature a lot for larger images. You have some
window resize issues with the overlay though (common issue), as well as if
an image has been zoomed.

The slideshow link is and excellent feature - user configurable.

I agree with the feedback.  I started in the middle, and when I got to the
end clicking the image closed the thickbox when it used to mean next, which
was disturbing.

Adam



BoOz wrote:
 
 My hacks :
 - Thickbox is setup when finding type=jpeg (or gif or png) in  , or 
 on class=thickbox
 - When an image is shown, the next one is pre-loading
 - Click show next image
 - next and previous as logos (rather than text string)
 - Slideshow option
 - Zoom option for big images
 - css a la lightbox
 - keyboard focus on slideshow and zoom
 - keyboard broasing (tab, enter etc)
 
 I had some feed back with that version : I was asked that it went in 
 circles (the last image is followed by the first)
 
 BoOz
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/ANNOUNCE%3A-Thickbox-Reloaded-alpha-tf3293077.html#a9202377
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-28 Thread agent2026

Well for one, it's 17k packed standalone whereas my heavily modified Thickbox
is just 6k packed.  Small file size was one of the top reasons Cody made
Thickbox in the first place, and it's definately a very important factor for
me.

Adam


Torbjorn Tornkvist wrote:
 
 
 Some other things:
 
 I've been using Imagebox and are missing a way of Stopping/Unloading it.
 Also, a hook when Imagebox closes down would have been very handy.
 
 Perhaps Thickbox3 can remedy this?
 
 Btw: what is the plan here, Thickbox looks very much alike as Imagebox.
 It could/is a bit confusing with two so powerful and similar libs.
 Why not enhance Imagebox instead of making Thickbox3 ?
 
 Cheers, Tobbe
 
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/ANNOUNCE%3A-Thickbox-Reloaded-alpha-tf3293077.html#a9203114
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-28 Thread Sam Collett
On 28/02/07, agent2026 [EMAIL PROTECTED] wrote:

 Well for one, it's 17k packed standalone whereas my heavily modified Thickbox
 is just 6k packed.  Small file size was one of the top reasons Cody made
 Thickbox in the first place, and it's definately a very important factor for
 me.

 Adam

It is only in alpha stage at the moment, so perhaps it may shrink in
size by beta or final release.

The file size has probably increased because it has been made more
flexible as a plugin (I would call ThickBox a pseudo-plugin as you
couldn't do $(a.foo).thickbox()).

The original Thickbox, while good, was not very flexible - the page
had to modified to get it to work (via querystring to add with and
height etc, which I think was invalid as well), elements added after
the page was load required extra work (e.g. $(a.thickbox).unbind();
TB_init()), not smooth when you scrolled (would be better if scrolling
was disabled instead), CSS issues etc.

Also, you had to heavily modify thickbox to get it to work for you
(infact I use a version you posted a while back) - you should never
need to do that for a plugin.

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-28 Thread Alexandre Plennevaux

If filesize is to be TB biggest advantage, personally in fact i rarely need
to be able to launch a TB with iframe, ajax and images on the same page, or
even Application.

I guess i'm not the only one to choose before hand at design time how my app
will use TB (ajax/iframe) to display interfaces. I would therefore love to
have 3 different thickbox plugins, so 3 different files. If i need to mix,
just adding the script source link to the related TB version would enable me
to. 

script src=plugin.thickbox.images.js type=text/javascript/script
script src=plugin.thickbox.ajax.js type=text/javascript/script
script src=plugin.thickbox.iframe.js type=text/javascript/script

this would also enable to build more functionalities for specific uses
(gallery, zoom, prev/next only apply to images).


as for feature, proportional dimensions is a must IMO. There is no sense
fixing width and height of thickbox in today's multitude of screen sizes...

thank you!

alex


[-Stash-] wrote:
 
 I agree with this.  Keep it tight and let it do the core things extremely
 well.  Is there any reason you can't have an extension for a plugin? 
 Perhaps all you need is a section in the core file where you can add as
 many lines as yuo like that say enable this extension - path?
 
 

-- 
View this message in context: 
http://www.nabble.com/ANNOUNCE%3A-Thickbox-Reloaded-alpha-tf3293077.html#a9203349
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-28 Thread Klaus Hartl
Sam Collett schrieb:
 On 28/02/07, agent2026 [EMAIL PROTECTED] wrote:
 Well for one, it's 17k packed standalone whereas my heavily modified Thickbox
 is just 6k packed.  Small file size was one of the top reasons Cody made
 Thickbox in the first place, and it's definately a very important factor for
 me.

 Adam
 
 It is only in alpha stage at the moment, so perhaps it may shrink in
 size by beta or final release.

Sam, that's right. I'll try hard to get the file size smaller again. 
I'll have to trade off readability for that though, currently variable 
names and so on are very explicit.

 The file size has probably increased because it has been made more
 flexible as a plugin (I would call ThickBox a pseudo-plugin as you
 couldn't do $(a.foo).thickbox()).

Yes, there are a few additions and improvements that caused the file 
size to increase, for example the form to Thickbox functionality, I18n, 
setting default values and some other things. I also thought about 
making all other types than Image optional modules. That would mean 
extra files on the one hand, but that would also mean an Interface to 
easily extend thickbox with your own builder functions.

This modularity was mentioned on this list once. The basis for this is 
already there and I think it is doable. So if you want it your way, just 
plugin your own builder function and Skin and you're done... What do you 
think of that?

One thing is sure: I'll not be able to implement all the different 
requirements here, and so why not allowing extendibility made easy (I 
like making things as easy to use as possible).


 The original Thickbox, while good, was not very flexible - the page
 had to modified to get it to work (via querystring to add with and
 height etc, which I think was invalid as well), elements added after
 the page was load required extra work (e.g. $(a.thickbox).unbind();
 TB_init()), not smooth when you scrolled (would be better if scrolling
 was disabled instead), CSS issues etc.

Yes, I think, the URLs you had to use were malformed. I wanted that to 
be fixed in ayn case.


-- Klaus

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-28 Thread Alexandre Plennevaux
 One thing is sure: I'll not be able to implement all the different
requirements here, and so why not allowing extendibility made easy (I like
making things as easy to use as possible). 


Right on. The TB website forum can be used to build a knowledge base of
various common extended uses (like refresh page on TB_close, using
callbacks, etc...)

I'm salivating and looking forward to the next TB release !!


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Klaus Hartl
Sent: mercredi 28 février 2007 14:34
To: jQuery Discussion.
Subject: Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

Sam Collett schrieb:
 On 28/02/07, agent2026 [EMAIL PROTECTED] wrote:
 Well for one, it's 17k packed standalone whereas my heavily modified 
 Thickbox is just 6k packed.  Small file size was one of the top 
 reasons Cody made Thickbox in the first place, and it's definately a 
 very important factor for me.

 Adam
 
 It is only in alpha stage at the moment, so perhaps it may shrink in 
 size by beta or final release.

Sam, that's right. I'll try hard to get the file size smaller again. 
I'll have to trade off readability for that though, currently variable names
and so on are very explicit.

 The file size has probably increased because it has been made more 
 flexible as a plugin (I would call ThickBox a pseudo-plugin as you 
 couldn't do $(a.foo).thickbox()).

Yes, there are a few additions and improvements that caused the file size to
increase, for example the form to Thickbox functionality, I18n, setting
default values and some other things. I also thought about making all other
types than Image optional modules. That would mean extra files on the one
hand, but that would also mean an Interface to easily extend thickbox with
your own builder functions.

This modularity was mentioned on this list once. The basis for this is
already there and I think it is doable. So if you want it your way, just
plugin your own builder function and Skin and you're done... What do you
think of that?

One thing is sure: I'll not be able to implement all the different
requirements here, and so why not allowing extendibility made easy (I like
making things as easy to use as possible).


 The original Thickbox, while good, was not very flexible - the page 
 had to modified to get it to work (via querystring to add with and 
 height etc, which I think was invalid as well), elements added after 
 the page was load required extra work (e.g. $(a.thickbox).unbind(); 
 TB_init()), not smooth when you scrolled (would be better if scrolling 
 was disabled instead), CSS issues etc.

Yes, I think, the URLs you had to use were malformed. I wanted that to be
fixed in ayn case.


-- Klaus

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

-- 
Ce message Envoi est certifié sans virus connu.
Analyse effectuée par AVG.
Version: 7.5.447 / Base de données virus: 268.18.4/705 - Date: 27/02/2007
15:24
 


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-28 Thread Klaus Hartl
Alexandre Plennevaux schrieb:
 If filesize is to be TB biggest advantage, personally in fact i rarely need
 to be able to launch a TB with iframe, ajax and images on the same page, or
 even Application.
 
 I guess i'm not the only one to choose before hand at design time how my app
 will use TB (ajax/iframe) to display interfaces. I would therefore love to
 have 3 different thickbox plugins, so 3 different files. If i need to mix,
 just adding the script source link to the related TB version would enable me
 to. 
 
 script src=plugin.thickbox.images.js type=text/javascript/script
 script src=plugin.thickbox.ajax.js type=text/javascript/script
 script src=plugin.thickbox.iframe.js type=text/javascript/script
 
 this would also enable to build more functionalities for specific uses
 (gallery, zoom, prev/next only apply to images).

I just wrote in reply to Sam, that I'm thinking about making TR modular 
exactly like that. The basis is already there. On the other hand, for 
the Ajax example it just saves us 5 lines of code...


 as for feature, proportional dimensions is a must IMO. There is no sense
 fixing width and height of thickbox in today's multitude of screen sizes...

What exactly do you mean by that. Currently if an image is too large for 
the viewport it gets resized. Is it that? I took that from the current 
Thickbox without any changes.


 thank you!

Thank you for feedback. And all the others! I hope we can build a 
Thickbox everybody (ok, hopefully most of us) is satisfied with!

And while I'm at it, thanks to cody for letting us do this!


-- klaus



-- klaus

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-28 Thread Dylan Verheul
On 2/28/07, Klaus Hartl [EMAIL PROTECTED] wrote:
 Alexandre Plennevaux schrieb:
  as for feature, proportional dimensions is a must IMO. There is no sense
  fixing width and height of thickbox in today's multitude of screen sizes...

 What exactly do you mean by that. Currently if an image is too large for
 the viewport it gets resized. Is it that? I took that from the current
 Thickbox without any changes.

He means you can't dpeend on any default viewport size minimum, and TB
requires integer sizes in pixels for its size. So what happens when
your user is on a 400x400 viewport, and you set thickbox to 600x400?

A size specification method that uses percentages instead of pixels
would solve this, probably depending on horizontal (yuck) and vertical
scrolling inside TB.

Dylan

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-28 Thread Alexandre Plennevaux
 as for feature, proportional dimensions is a must IMO. There is no 
 sense fixing width and height of thickbox in today's multitude of screen
sizes...

What exactly do you mean by that. Currently if an image is too large for
the viewport it gets resized. Is it that? I took that from the current
Thickbox without any changes.


I mean with TB, you specify its width and height by giving pixel values
(width=600height=400 for example).
This is wrong: if the users has a 2 pixel wide monitor (or a very small
screen), TB  should use whatever screen assets the user has. That is why
width=90% is better.
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Klaus Hartl
Sent: mercredi 28 février 2007 14:49
To: jQuery Discussion.
Subject: Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

Alexandre Plennevaux schrieb:
 If filesize is to be TB biggest advantage, personally in fact i rarely 
 need to be able to launch a TB with iframe, ajax and images on the 
 same page, or even Application.
 
 I guess i'm not the only one to choose before hand at design time how 
 my app will use TB (ajax/iframe) to display interfaces. I would 
 therefore love to have 3 different thickbox plugins, so 3 different 
 files. If i need to mix, just adding the script source link to the 
 related TB version would enable me to.
 
 script src=plugin.thickbox.images.js 
 type=text/javascript/script script src=plugin.thickbox.ajax.js 
 type=text/javascript/script script 
 src=plugin.thickbox.iframe.js type=text/javascript/script
 
 this would also enable to build more functionalities for specific uses 
 (gallery, zoom, prev/next only apply to images).

I just wrote in reply to Sam, that I'm thinking about making TR modular
exactly like that. The basis is already there. On the other hand, for the
Ajax example it just saves us 5 lines of code...


 as for feature, proportional dimensions is a must IMO. There is no 
 sense fixing width and height of thickbox in today's multitude of screen
sizes...

What exactly do you mean by that. Currently if an image is too large for the
viewport it gets resized. Is it that? I took that from the current Thickbox
without any changes.


 thank you!

Thank you for feedback. And all the others! I hope we can build a Thickbox
everybody (ok, hopefully most of us) is satisfied with!

And while I'm at it, thanks to cody for letting us do this!


-- klaus



-- klaus

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

-- 
Ce message Envoi est certifié sans virus connu.
Analyse effectuée par AVG.
Version: 7.5.447 / Base de données virus: 268.18.4/705 - Date: 27/02/2007
15:24
 


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-28 Thread [-Stash-]

A simple Cancel link would be superb - I think this is an essential
addition!


Torbjorn Tornkvist wrote:
 I've been using Imagebox and are missing a way of Stopping/Unloading it.
 Also, a hook when Imagebox closes down would have been very handy.
 
 Perhaps Thickbox3 can remedy this?

-- 
View this message in context: 
http://www.nabble.com/ANNOUNCE%3A-Thickbox-Reloaded-alpha-tf3293077.html#a9208518
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-28 Thread agent2026

Shouldn't this just be tied to the close link?


[-Stash-] wrote:
 
 A simple Cancel link would be superb - I think this is an essential
 addition!
 
 
 Torbjorn Tornkvist wrote:
 I've been using Imagebox and are missing a way of Stopping/Unloading it.
 Also, a hook when Imagebox closes down would have been very handy.
 
 Perhaps Thickbox3 can remedy this?
 
 

-- 
View this message in context: 
http://www.nabble.com/ANNOUNCE%3A-Thickbox-Reloaded-alpha-tf3293077.html#a9208696
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-28 Thread Mike Alsup
 One thing I would really like to see added (which I've done with help my
 modded version) is circular browsing - 'next' on last image loads first
 image, and vice versa

+1

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-28 Thread [-Stash-]

Currently the Close link doesn't appear until the content is loaded - if
the content takes a long time to load, you can't get rid of the TB.  I'd
like a nice juicy Cancel button just beneath (or wherever) the loading
animation s I can change my mind and not wait for the content to be loaded.

Shouldn't this just be tied to the close link?

[-Stash-] wrote:
 A simple Cancel link would be superb - I think this is an essential
 addition!
 
 Torbjorn Tornkvist wrote:
 I've been using Imagebox and are missing a way of Stopping/Unloading it.
 Also, a hook when Imagebox closes down would have been very handy.
 
 Perhaps Thickbox3 can remedy this?

-- 
View this message in context: 
http://www.nabble.com/ANNOUNCE%3A-Thickbox-Reloaded-alpha-tf3293077.html#a9208798
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-28 Thread Klaus Hartl
[-Stash-] schrieb:
 A simple Cancel link would be superb - I think this is an essential
 addition!

clicking on the overlay while loading will abort loading... that its not 
working is a bug on my side. is that sufficient?


-- Klaus


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-28 Thread Sam Collett
On 28/02/07, Alexandre Plennevaux [EMAIL PROTECTED] wrote:
  as for feature, proportional dimensions is a must IMO. There is no
  sense fixing width and height of thickbox in today's multitude of screen
 sizes...

 What exactly do you mean by that. Currently if an image is too large for
 the viewport it gets resized. Is it that? I took that from the current
 Thickbox without any changes.


 I mean with TB, you specify its width and height by giving pixel values
 (width=600height=400 for example).
 This is wrong: if the users has a 2 pixel wide monitor (or a very small
 screen), TB  should use whatever screen assets the user has. That is why
 width=90% is better.

Perhaps there should be min-width/height (and max while you are at it)
if you are going to use percentages. Also how would you indicate it
(perhaps width=90height=90unit=percent)? Is it to be % of screen or
window (I assume window)?

I can't imagine someone having a monitor that big. If they did, they
probably would not have the browser maximised (as most sites would
look bad at very high resolution). Those with small screens probably
have a portable device, which thickbox won't work in anyway.



 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of Klaus Hartl
 Sent: mercredi 28 février 2007 14:49
 To: jQuery Discussion.
 Subject: Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

 Alexandre Plennevaux schrieb:
  If filesize is to be TB biggest advantage, personally in fact i rarely
  need to be able to launch a TB with iframe, ajax and images on the
  same page, or even Application.
 
  I guess i'm not the only one to choose before hand at design time how
  my app will use TB (ajax/iframe) to display interfaces. I would
  therefore love to have 3 different thickbox plugins, so 3 different
  files. If i need to mix, just adding the script source link to the
  related TB version would enable me to.
 
  script src=plugin.thickbox.images.js
  type=text/javascript/script script src=plugin.thickbox.ajax.js
  type=text/javascript/script script
  src=plugin.thickbox.iframe.js type=text/javascript/script
 
  this would also enable to build more functionalities for specific uses
  (gallery, zoom, prev/next only apply to images).

 I just wrote in reply to Sam, that I'm thinking about making TR modular
 exactly like that. The basis is already there. On the other hand, for the
 Ajax example it just saves us 5 lines of code...


  as for feature, proportional dimensions is a must IMO. There is no
  sense fixing width and height of thickbox in today's multitude of screen
 sizes...

 What exactly do you mean by that. Currently if an image is too large for the
 viewport it gets resized. Is it that? I took that from the current Thickbox
 without any changes.


  thank you!

 Thank you for feedback. And all the others! I hope we can build a Thickbox
 everybody (ok, hopefully most of us) is satisfied with!

 And while I'm at it, thanks to cody for letting us do this!


 -- klaus



 -- klaus

 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/

 --
 Ce message Envoi est certifié sans virus connu.
 Analyse effectuée par AVG.
 Version: 7.5.447 / Base de données virus: 268.18.4/705 - Date: 27/02/2007
 15:24



 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-28 Thread Torbjorn Tornkvist
Klaus Hartl wrote:
 [-Stash-] schrieb:
 A simple Cancel link would be superb - I think this is an essential
 addition!
 
 clicking on the overlay while loading will abort loading... that its not 
 working is a bug on my side. is that sufficient?
 
 
 -- Klaus

Parhaps, Thickbox handles this better, but with Imagebox, since
I can't stop it properly I need to reload the page to reach the
initial state. As an example, see:

http://noneg.tornkvist.org:8080/search.yaws?adonly=falseaction=keywordkey=barcelona

Its in Swedish but just click on the link: Bildspel
at the top.

Since I'm initiating Imagebox when clicking on the
link I want to 'stop' it when it closes down. Now I have
to reload the page to do it. And if I quit using the Escape
button, havoc results when trying to repeat the procedure.
(clicking on the thumbnails should not ignite Imagebox in this case)

Cheers, Tobbe


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-27 Thread agent2026

Very nice Klaus.

One thing I would really like to see added (which I've done with help my
modded version) is circular browsing - 'next' on last image loads first
image, and vice versa - and 'click=next' when clicking on an image in a
Thickbox.

Great work, and thanks.

Adam
-- 
View this message in context: 
http://www.nabble.com/ANNOUNCE%3A-Thickbox-Reloaded-alpha-tf3293077.html#a9178063
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-27 Thread David Duymelinck
Klaus Hartl schreef:
 * Automatic type detection depending on type of element, respectively on 
 type of link:
  image: href is an image
  content: href is a hash
  ajax: href is internal and not image
  iframe: href is external and not image
  confirm: element is form
   
Is it possible to bind the confirm to the button and not to the form, 
that way there can be different confirms for a form. I'm thinking about 
a datagrid with two delete buttons, one to delete a row and one to 
delete all the data.

Nice work so far, looking forward to the final release.

-- 
David Duymelinck

[EMAIL PROTECTED]


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-27 Thread Klaus Hartl
agent2026 schrieb:
 Very nice Klaus.
 
 One thing I would really like to see added (which I've done with help my
 modded version) is circular browsing - 'next' on last image loads first
 image, and vice versa - and 'click=next' when clicking on an image in a
 Thickbox.

Is clicking on the image will take you to the next image expected 
behavior? I don't think so, but it's not my Thickbox, it's ours. So what 
do the others think?

Same for that circular thing? Feedback please!

Besides, I also planned to implement a slideshow option. Another idea: 
Instead of next/previous links one could (optionally) show mini 
thumbnails... hm, just thinking out loud. After all, the script won't 
get smaller.


-- Klaus


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-27 Thread Klaus Hartl
David Duymelinck schrieb:
 Klaus Hartl schreef:
 * Automatic type detection depending on type of element, respectively on 
 type of link:
  image: href is an image
  content: href is a hash
  ajax: href is internal and not image
  iframe: href is external and not image
  confirm: element is form
   
 Is it possible to bind the confirm to the button and not to the form, 
 that way there can be different confirms for a form. I'm thinking about 
 a datagrid with two delete buttons, one to delete a row and one to 
 delete all the data.

Thats not really possible, because you can always submit a form by 
hitting enter. Besides that it won't degrade graceful, e.g. I'd consider 
that obtrusive - a button (type button) without JS is useless.

Can't you just use two forms?




-- Klaus


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-27 Thread Alexandre Plennevaux
IMO:

These are all nice add-ons, but i'd rather have them out of the main TB
library, using optional callbacks.

If these are popular requests, to address this request and yet not overblow
the library, I think it's best that you maybe publish a FAQ: how to make
circular clicking / how to make a slideshow out of thickbox / etc...

I suppose having the possibility to indicate a callback function after TB is
opened and after TB is closed would enable this, and open up TB for the
widest range of use.


My 2 centz

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Klaus Hartl
Sent: mardi 27 février 2007 10:29
To: jQuery Discussion.
Subject: Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

agent2026 schrieb:
 Very nice Klaus.
 
 One thing I would really like to see added (which I've done with help 
 my modded version) is circular browsing - 'next' on last image loads 
 first image, and vice versa - and 'click=next' when clicking on an 
 image in a Thickbox.

Is clicking on the image will take you to the next image expected behavior?
I don't think so, but it's not my Thickbox, it's ours. So what do the others
think?

Same for that circular thing? Feedback please!

Besides, I also planned to implement a slideshow option. Another idea: 
Instead of next/previous links one could (optionally) show mini
thumbnails... hm, just thinking out loud. After all, the script won't get
smaller.


-- Klaus


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

-- 
Ce message Envoi est certifié sans virus connu.
Analyse effectuée par AVG.
Version: 7.5.447 / Base de données virus: 268.18.4/703 - Date: 26/02/2007
14:56
 


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-27 Thread David Duymelinck
Klaus Hartl schreef:
 David Duymelinck schrieb:
   
 Klaus Hartl schreef:
 
 * Automatic type detection depending on type of element, respectively on 
 type of link:
  image: href is an image
  content: href is a hash
  ajax: href is internal and not image
  iframe: href is external and not image
  confirm: element is form
   
   
 Is it possible to bind the confirm to the button and not to the form, 
 that way there can be different confirms for a form. I'm thinking about 
 a datagrid with two delete buttons, one to delete a row and one to 
 delete all the data.
 

 Thats not really possible, because you can always submit a form by 
 hitting enter. Besides that it won't degrade graceful, e.g. I'd consider 
 that obtrusive - a button (type button) without JS is useless.

 Can't you just use two forms?
   
The way i use the buttons in php is by coding different behavior 
according with the button names so they are not useless without JS but 
because of the greater loss of data deleting the datagrid i style the 
confirm box more in your face then the delete row confirm. so i was 
thinking something in the line of

$('#form').thickbox({confirms: ['#deletedate': '#confirmdeletedata', 
'button.deleterow': '#confrimdeleterow']});

it is just something i was wondering about when i saw the demo i don't 
know if it's a useful extension of the code for others. Another use may 
be a submit and a reset button.

-- 
David Duymelinck

[EMAIL PROTECTED]


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-27 Thread [-Stash-]

I agree with this.  Keep it tight and let it do the core things extremely
well.  Is there any reason you can't have an extension for a plugin? 
Perhaps all you need is a section in the core file where you can add as many
lines as yuo like that say enable this extension - path?

Luke


Alexandre Plennevaux wrote:
 
 IMO:
 
 These are all nice add-ons, but i'd rather have them out of the main TB
 library, using optional callbacks.
 
 If these are popular requests, to address this request and yet not
 overblow
 the library, I think it's best that you maybe publish a FAQ: how to make
 circular clicking / how to make a slideshow out of thickbox / etc...
 
 I suppose having the possibility to indicate a callback function after TB
 is
 opened and after TB is closed would enable this, and open up TB for the
 widest range of use.
 
 My 2 centz
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of Klaus Hartl
 Sent: mardi 27 février 2007 10:29
 To: jQuery Discussion.
 Subject: Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha
 
 agent2026 schrieb:
 Very nice Klaus.
 
 One thing I would really like to see added (which I've done with help 
 my modded version) is circular browsing - 'next' on last image loads 
 first image, and vice versa - and 'click=next' when clicking on an 
 image in a Thickbox.
 
 Is clicking on the image will take you to the next image expected
 behavior?
 I don't think so, but it's not my Thickbox, it's ours. So what do the
 others
 think?
 
 Same for that circular thing? Feedback please!
 
 Besides, I also planned to implement a slideshow option. Another idea: 
 Instead of next/previous links one could (optionally) show mini
 thumbnails... hm, just thinking out loud. After all, the script won't get
 smaller.

-- 
View this message in context: 
http://www.nabble.com/ANNOUNCE%3A-Thickbox-Reloaded-alpha-tf3293077.html#a9179087
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-27 Thread [-Stash-]

I like the sound of this idea if it can be made to work :)

Do you have an example of what you're talking about David?

Luke


DavidIcreate wrote:
 
 Klaus Hartl schreef:
 David Duymelinck schrieb:
   
 Klaus Hartl schreef:
 
 * Automatic type detection depending on type of element, respectively
 on 
 type of link:
  image: href is an image
  content: href is a hash
  ajax: href is internal and not image
  iframe: href is external and not image
  confirm: element is form
   
   
 Is it possible to bind the confirm to the button and not to the form, 
 that way there can be different confirms for a form. I'm thinking about 
 a datagrid with two delete buttons, one to delete a row and one to 
 delete all the data.
 

 Thats not really possible, because you can always submit a form by 
 hitting enter. Besides that it won't degrade graceful, e.g. I'd consider 
 that obtrusive - a button (type button) without JS is useless.

 Can't you just use two forms?
   
 The way i use the buttons in php is by coding different behavior 
 according with the button names so they are not useless without JS but 
 because of the greater loss of data deleting the datagrid i style the 
 confirm box more in your face then the delete row confirm. so i was 
 thinking something in the line of
 
 $('#form').thickbox({confirms: ['#deletedate': '#confirmdeletedata', 
 'button.deleterow': '#confrimdeleterow']});
 
 it is just something i was wondering about when i saw the demo i don't 
 know if it's a useful extension of the code for others. Another use may 
 be a submit and a reset button.

-- 
View this message in context: 
http://www.nabble.com/ANNOUNCE%3A-Thickbox-Reloaded-alpha-tf3293077.html#a9179110
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-27 Thread Klaus Hartl
David Duymelinck schrieb:
 [-Stash-] schreef:
 I like the sound of this idea if it can be made to work :)

 Do you have an example of what you're talking about David?

 Luke
   
 I will set up an example this evening.
 

David, I have thought about it a little more. Maybe you can achieve what 
you need with what is already there. There is an onConfirm option that 
will replace the default form submit...

$('form').thickbox({
 onConfirm: function() {

 }
});

We'd need a way to inject the proper values to the settings object to 
get different thickboxes, but that should be doable, at least by setting 
$.thickbox.defaults each time depending on which submit button got clicked.


-- Klaus

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-27 Thread agent2026

I feel similarly about the slideshow - I wouldn't expect it, and would like
to view the image I clicked for as long or short a time as I want to.  But,
it's a sensible option.

And I agree, click=next is not something you'd necessarily expect.  And if
you don't, you probably wouldn't click on the image at all and would never
be aware that the function exists (sounds like I'm starting to argue against
myself here, but bear with me).  But, the behavior is being taken up here an
there, and once a user realizes they have this option they see how much
nicer/easier it is just to click though the images themselves rather than
have to click tiny 'next' links each time (which, in the case of this
Thickbox, are not always in the same place depending on the size of the
image).
Basically I think if you don't know it's there, you won't use it.  But if
you do try it, or learn it's there, it a very easy and efficient way to
browse through images.  When I first came across a gallery that used
click=next I thought 'wow, what a great idea.  I don't need to repeatedly
hunt down little thumbnails and next/prev buttons, I can just flip though
all the images by clicking the huge image button right in the middle of the
page'.

As for the circular browsing, again I think it's a nice beneficial feature,
and a sensible option.  The main reasons are these: often when I look at a
gallery of thumbs, I click the one that looks the most interesting to me
first.  Chances are it's not the first one, but somewhere in the middle. 
After checking this image out, I'm happy to continue with 'next' to see what
else there is.  Once I hit the end, I now need to click several, if not
many, images back to see the ones I haven't seen, whereas if I could just
wrap around to the beginning it would be much easier.  Another reason is
once I've gone through a gallery, sometimes I'd like to go through it again
from the beginning.  In both cases obviously I could close the Thickbox and
start again from the beginning, but that's a workaround behavior which
should be avoided.

So, that's my case ;).  Sorry so long-winded, but I see these as very useful
features.  I have these added to my Thickbox, and it doesn't take much code. 
Everything's still tight, and rather then separating them why not make them
configurable options, much like jCarousel.



Adam



Klaus Hartl wrote:
 
 agent2026 schrieb:
 Very nice Klaus.
 
 One thing I would really like to see added (which I've done with help my
 modded version) is circular browsing - 'next' on last image loads first
 image, and vice versa - and 'click=next' when clicking on an image in a
 Thickbox.
 
 Is clicking on the image will take you to the next image expected 
 behavior? I don't think so, but it's not my Thickbox, it's ours. So what 
 do the others think?
 
 Same for that circular thing? Feedback please!
 
 Besides, I also planned to implement a slideshow option. Another idea: 
 Instead of next/previous links one could (optionally) show mini 
 thumbnails... hm, just thinking out loud. After all, the script won't 
 get smaller.
 
 
 -- Klaus
 
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/ANNOUNCE%3A-Thickbox-Reloaded-alpha-tf3293077.html#a9179758
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-27 Thread Sam Collett
On 26/02/07, Sam Collett [EMAIL PROTECTED] wrote:
 On 26/02/07, Klaus Hartl [EMAIL PROTECTED] wrote:
  Hi jQuerians,
 
  I just committed what I would call Thickbox Reloaded alpha version. It
  may look the same pretty much, but is a complete rewrite.
 
  Here's what's new:
 
  * Chainable method to bind Thickbox to links and forms (makes it easy
  for content that gets loaded/created later on).
  * Totally unobtrusive: no classes needed for links, no params in URL.
  * Confirm type Thickbox, triggered automatically by binding Thickbox to
  a form. If yes the form gets submitted unless a custom callback is
  defined (for example for Ajax submitting)
  * Automatic type detection depending on type of element, respectively on
  type of link:
   image: href is an image
   content: href is a hash
   ajax: href is internal and not image
   iframe: href is external and not image
   confirm: element is form
  * Improved UI blocking (Thanks to Mike Malsup and the BlockUI plugin)
  * Options for width/height are now passed in as settings object literal
  or are stored as default values via $.thickbox.defaults({ width: 300,
  height: 400 })
  * Options top/left positioning (instead of centering), unit defaults to 'px'
  * Easier skinning: The look is completely separated into an extra style
  sheet
  * Scrolling via mousewheel/touchpad is blocked
  * Lets you define custom animations for showing the modal window via
  settings
  * Requires jQuery 1.1.1
 
  Maybe I have forgotten something.
 
  I thought of including the required style sheets dynamically, but you
  would still have to include the path somehow.
 
  You can also have a look here (besides repository):
  http://stilbuero.de/jquery/thickbox_reloaded/
 
  Please note that I haven't tested in other browsers than Firefox yet. I
  just thought I'd like to request some feedback/code review first!
 
 
  -- Klaus

 Looking good so far. A couple of suggestions:

 A way to specify a link is to an image (perhaps by className). At the
 moment, it just checks if the image has one of the common extensions.
 It will fail if the image being linked to is dynamically generated
 (and thus does not contain the extension) - i.e.
 /showphoto.ashx?ContactID=23. The content type may not be known
 beforehand, but it is certain to be an image.

 Long titles. Sometimes titles can be very long (especially if someone
 else is supplying it), and when they are, you can't see all the text.
 Perhaps the height of the title bar should by dynamic rather than
 fixed. More a CSS issue than anything, but is would be good if the CSS
 supplied with the plugin took this into account. This is what worked
 for me:

 #tb-title-bar {
padding:0pt 0pt 0pt 6px;
 }

 #tb-title-bar h2 {
   margin:4px 14px 3px 0; /* 14px is to take into account the close image */
 }

 #tb-content {
   /* removed all css */
 }


Another suggestion:

You can't use the tab key in the thickbox (except for external
content, which is in an iframe anyway). You may want to add an example
of a form within a thickbox (I've had to do some workarounds to get
forms to work in ThickBox 2.1)

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-27 Thread Klaus Hartl
Torbjorn Tornkvist schrieb:
 Hi,
 
 It would be nice if it also supported Internationalization
 of the Previous/Next strings etc.
 
 Perhaps, it already does? I'll have to check the source.
 
 Cheers, Tobbe

I've stripped out all the strings, i18n is done via settings defaults or 
even in override settings in particular Thickboxes (useful for different 
forms to Thickboxes on one page):

These are the defaults:

i18n: {
 close: { text: 'Close', title: 'Close this window' },
 count: { text: 'Image #{image} of #{count}'},
 next: { text: 'Next', title: 'Show next image' },
 prev: { text: 'Previous', title: 'Show previous image' },
 confirm: { what: 'Are you sure?', confirm: 'Yes', cancel: 'No' }
}

I'm all open for better suggestions, I'm not even a native english speaker.

The string Image #{image} of #{count} becomes Image 3 of 4 of 
course. You can construct your own with the replaced variables, like 
'Showing #{image} of #{count} total.' or '#{image}/#{count}'...

Set defaults like:

$.thickbox.defaults({
 i18n: {
 confirm: { what: 'Please confirm', confirm: 'Okay', cancel: 
'Back' }
 }
});


-- Klaus

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-27 Thread Alexandre Plennevaux
Question: will the next version of TB support multiple thickboxes (one on
top of the other) ?  

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Klaus Hartl
Sent: mardi 27 février 2007 13:39
To: jQuery Discussion.
Subject: Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

Torbjorn Tornkvist schrieb:
 Hi,
 
 It would be nice if it also supported Internationalization of the 
 Previous/Next strings etc.
 
 Perhaps, it already does? I'll have to check the source.
 
 Cheers, Tobbe

I've stripped out all the strings, i18n is done via settings defaults or
even in override settings in particular Thickboxes (useful for different
forms to Thickboxes on one page):

These are the defaults:

i18n: {
 close: { text: 'Close', title: 'Close this window' },
 count: { text: 'Image #{image} of #{count}'},
 next: { text: 'Next', title: 'Show next image' },
 prev: { text: 'Previous', title: 'Show previous image' },
 confirm: { what: 'Are you sure?', confirm: 'Yes', cancel: 'No' } }

I'm all open for better suggestions, I'm not even a native english speaker.

The string Image #{image} of #{count} becomes Image 3 of 4 of course.
You can construct your own with the replaced variables, like 'Showing
#{image} of #{count} total.' or '#{image}/#{count}'...

Set defaults like:

$.thickbox.defaults({
 i18n: {
 confirm: { what: 'Please confirm', confirm: 'Okay', cancel: 
'Back' }
 }
});


-- Klaus

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

-- 
Ce message Envoi est certifié sans virus connu.
Analyse effectuée par AVG.
Version: 7.5.447 / Base de données virus: 268.18.4/703 - Date: 26/02/2007
14:56
 


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-27 Thread Klaus Hartl
Alexandre Plennevaux schrieb:
 Question: will the next version of TB support multiple thickboxes (one on
 top of the other) ?  

Ugh. No, at least not yet. To make it most efficient, the window gets 
created once and is then reused. That said, currently Thickbox 3 is not 
designed to do that. Was it possible before? Is this a wildly requested 
requirement?


-- Klaus

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-27 Thread Sam Collett
On 27/02/07, Klaus Hartl [EMAIL PROTECTED] wrote:
 Alexandre Plennevaux schrieb:
  Question: will the next version of TB support multiple thickboxes (one on
  top of the other) ?

 Ugh. No, at least not yet. To make it most efficient, the window gets
 created once and is then reused. That said, currently Thickbox 3 is not
 designed to do that. Was it possible before? Is this a wildly requested
 requirement?


 -- Klaus

Perhaps that may be more appropriate for a plugin to Thickbox as I
guess this may significantly increase the file size (which hopefully
will be similar in size to what ThickBox 2.1 is now)?

While it may be useful, I think in most cases thickboxes won't be used
to open other thickboxes.

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-27 Thread [-Stash-]

This wasn't possible before, although it would be kinda nice.

HighSlide (http://vikjavev.no/highslide/) does this pretty well, from an end
user point of view.  I have no idea if it's well coded etc.

I would put this outside the scope for TB3 and move it into 4, or as an
optional addon.  Most of the time you only need one thing up at a time and
I'd image this added complexity would really enlarge the code.

Luke


Klaus Hartl wrote:
 
 Alexandre Plennevaux schrieb:
 Question: will the next version of TB support multiple thickboxes (one on
 top of the other) ?  
 
 Ugh. No, at least not yet. To make it most efficient, the window gets 
 created once and is then reused. That said, currently Thickbox 3 is not 
 designed to do that. Was it possible before? Is this a wildly requested 
 requirement?
 
 -- Klaus

-- 
View this message in context: 
http://www.nabble.com/ANNOUNCE%3A-Thickbox-Reloaded-alpha-tf3293077.html#a9183320
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-27 Thread Alexandre Plennevaux
I agree with you that fits more in customization than mainstream use. So,
please make TB so that it does not create unique ids, but classes so that
making multiple instances of it does not involve modifying the plugin code
itself :!) 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Sam Collett
Sent: mardi 27 février 2007 15:28
To: jQuery Discussion.
Subject: Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

On 27/02/07, Klaus Hartl [EMAIL PROTECTED] wrote:
 Alexandre Plennevaux schrieb:
  Question: will the next version of TB support multiple thickboxes 
  (one on top of the other) ?

 Ugh. No, at least not yet. To make it most efficient, the window gets 
 created once and is then reused. That said, currently Thickbox 3 is 
 not designed to do that. Was it possible before? Is this a wildly 
 requested requirement?


 -- Klaus

Perhaps that may be more appropriate for a plugin to Thickbox as I guess
this may significantly increase the file size (which hopefully will be
similar in size to what ThickBox 2.1 is now)?

While it may be useful, I think in most cases thickboxes won't be used to
open other thickboxes.

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

-- 
Ce message Envoi est certifié sans virus connu.
Analyse effectuée par AVG.
Version: 7.5.447 / Base de données virus: 268.18.4/703 - Date: 26/02/2007
14:56
 


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-27 Thread Dmitrii 'Mamut' Dimandt
totally agree with all of the below.

agent2026 wrote:
 I feel similarly about the slideshow - I wouldn't expect it, and would like
 to view the image I clicked for as long or short a time as I want to.  But,
 it's a sensible option.

 And I agree, click=next is not something you'd necessarily expect.  And if
 you don't, you probably wouldn't click on the image at all and would never
 be aware that the function exists (sounds like I'm starting to argue against
 myself here, but bear with me).  But, the behavior is being taken up here an
 there, and once a user realizes they have this option they see how much
 nicer/easier it is just to click though the images themselves rather than
 have to click tiny 'next' links each time (which, in the case of this
 Thickbox, are not always in the same place depending on the size of the
 image).
 Basically I think if you don't know it's there, you won't use it.  But if
 you do try it, or learn it's there, it a very easy and efficient way to
 browse through images.  When I first came across a gallery that used
 click=next I thought 'wow, what a great idea.  I don't need to repeatedly
 hunt down little thumbnails and next/prev buttons, I can just flip though
 all the images by clicking the huge image button right in the middle of the
 page'.

 As for the circular browsing, again I think it's a nice beneficial feature,
 and a sensible option.  The main reasons are these: often when I look at a
 gallery of thumbs, I click the one that looks the most interesting to me
 first.  Chances are it's not the first one, but somewhere in the middle. 
 After checking this image out, I'm happy to continue with 'next' to see what
 else there is.  Once I hit the end, I now need to click several, if not
 many, images back to see the ones I haven't seen, whereas if I could just
 wrap around to the beginning it would be much easier.  Another reason is
 once I've gone through a gallery, sometimes I'd like to go through it again
 from the beginning.  In both cases obviously I could close the Thickbox and
 start again from the beginning, but that's a workaround behavior which
 should be avoided.

 So, that's my case ;).  Sorry so long-winded, but I see these as very useful
 features.  I have these added to my Thickbox, and it doesn't take much code. 
 Everything's still tight, and rather then separating them why not make them
 configurable options, much like jCarousel.



 Adam



 Klaus Hartl wrote:
   
 agent2026 schrieb:
 
 Very nice Klaus.

 One thing I would really like to see added (which I've done with help my
 modded version) is circular browsing - 'next' on last image loads first
 image, and vice versa - and 'click=next' when clicking on an image in a
 Thickbox.
   
 Is clicking on the image will take you to the next image expected 
 behavior? I don't think so, but it's not my Thickbox, it's ours. So what 
 do the others think?

 Same for that circular thing? Feedback please!

 Besides, I also planned to implement a slideshow option. Another idea: 
 Instead of next/previous links one could (optionally) show mini 
 thumbnails... hm, just thinking out loud. After all, the script won't 
 get smaller.


 -- Klaus


 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/


 

   

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-27 Thread Dmitrii 'Mamut' Dimandt
Whoa! :)

What I would really like to see is thickbox gracefully changing its size
to accommodate the loaded content.

Klaus Hartl wrote:
 Hi jQuerians,

 I just committed what I would call Thickbox Reloaded alpha version. It 
 may look the same pretty much, but is a complete rewrite.

 Here's what's new:

 * Chainable method to bind Thickbox to links and forms (makes it easy 
 for content that gets loaded/created later on).
 * Totally unobtrusive: no classes needed for links, no params in URL.
 * Confirm type Thickbox, triggered automatically by binding Thickbox to 
 a form. If yes the form gets submitted unless a custom callback is 
 defined (for example for Ajax submitting)
 * Automatic type detection depending on type of element, respectively on 
 type of link:
  image: href is an image
  content: href is a hash
  ajax: href is internal and not image
  iframe: href is external and not image
  confirm: element is form
 * Improved UI blocking (Thanks to Mike Malsup and the BlockUI plugin)
 * Options for width/height are now passed in as settings object literal 
 or are stored as default values via $.thickbox.defaults({ width: 300, 
 height: 400 })
 * Options top/left positioning (instead of centering), unit defaults to 'px'
 * Easier skinning: The look is completely separated into an extra style 
 sheet
 * Scrolling via mousewheel/touchpad is blocked
 * Lets you define custom animations for showing the modal window via 
 settings
 * Requires jQuery 1.1.1

 Maybe I have forgotten something.

 I thought of including the required style sheets dynamically, but you 
 would still have to include the path somehow.

 You can also have a look here (besides repository):
 http://stilbuero.de/jquery/thickbox_reloaded/

 Please note that I haven't tested in other browsers than Firefox yet. I 
 just thought I'd like to request some feedback/code review first!


 -- Klaus

 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/

   


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-27 Thread Mark

@Klaus Hartl

don`t you like my mockup suggestion?
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-27 Thread Klaus Hartl
Mark schrieb:
 @Klaus Hartl
 
 don`t you like my mockup suggestion?


???

Mark, I'm all ear, but I haven't got a mail of yours. Did you write me 
an email or to the list?


-- Klaus


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-27 Thread Mark

hmm.. i guess the attatchment didn`t get through and therefore the entire
message didn`t get on the list (i can see it here in my gmail) here is the
suggestion again with the image posted on imageshack.

full message was:
---
i like this alot :)
don`t get me wrong but i`ve made a mockup how i would like to see it.. this
doesn1`t mean that htere is something wrong with the version you posted..
just these changes in my mockup make it complete for me :)

the mockup is in the attatchment.
explenation:
let the Close this window (not vissable in the mockup) appear when the
mouse gets close to it. for the NEXT and PREV part with hte transparent
background.. also let that appear or fade depending on the location on the
mouse.. lets say if the mouse gets with in a 20pixel radius of the next or
prev the part will appear. otherwise it will fade away or stay away (same
with the close this window)

i hope you can do something with this.
Mark.
---

Image:
(kinda big images.. 700+ KB in PNG.. perhaps that`s why it didn`t got
through)
http://img100.imageshack.us/img100/3640/mockupthickboxcopyps4.png

extra information:
the thick white border arround the image is transparent (0.8 or 0.9) the px
width border that`s directly arround the image isn`t transparent and the 1px
border that is arround the thick white border also isn`t transparent (or
just a little)

let me know what you think of it.

Mark.


2007/2/27, Klaus Hartl [EMAIL PROTECTED]:


Mark schrieb:
 @Klaus Hartl

 don`t you like my mockup suggestion?


???

Mark, I'm all ear, but I haven't got a mail of yours. Did you write me
an email or to the list?


-- Klaus


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-27 Thread Klaus Hartl
Ah, I see! Cool!

What do the others think? I'm no designer, so I didn't (want to) change 
much compared to the initial Thickbox anyway. I'd like having a little 
bit more text (Image 2 of 5) in the control, but I like the idea of 
having a control thats only there if needed. The control could slide up 
or fade in if you hover of the hotspot. In addition that would make 
calculating the box height much easier as well!

The different opacities in one box though will not be doable, because 
one box inherits the opacity of its parent. Or maybe with using a 
transparent png but that won't work in IE 6 easily and adds another 
asset I'd rather avoid.

But as I wrote, in the end thats just a matter of the included skin and 
I made it so that one can just plugin his or her own skin style sheet. 
There will be a default skin, but I encourage everyone to make new skins 
once Thickbox Reloaded is out.

You just had to replace jquery.thickbox.skin.css with another one.


-- Klaus



Mark schrieb:
 hmm.. i guess the attatchment didn`t get through and therefore the 
 entire message didn`t get on the list (i can see it here in my gmail) 
 here is the suggestion again with the image posted on imageshack.
 
 full message was:
 ---
 i like this alot :)
 don`t get me wrong but i`ve made a mockup how i would like to see it.. 
 this doesn1`t mean that htere is something wrong with the version you 
 posted.. just these changes in my mockup make it complete for me :)
 
 the mockup is in the attatchment.
 explenation:
 let the Close this window (not vissable in the mockup) appear when the 
 mouse gets close to it. for the NEXT and PREV part with hte transparent 
 background.. also let that appear or fade depending on the location on 
 the mouse.. lets say if the mouse gets with in a 20pixel radius of the 
 next or prev the part will appear. otherwise it will fade away or stay 
 away (same with the close this window)
 
 i hope you can do something with this.
 Mark.
 ---
 
 Image:
 (kinda big images.. 700+ KB in PNG.. perhaps that`s why it didn`t got 
 through)
 http://img100.imageshack.us/img100/3640/mockupthickboxcopyps4.png
 
 extra information:
 the thick white border arround the image is transparent (0.8 or 0.9) the 
 px width border that`s directly arround the image isn`t transparent and 
 the 1px border that is arround the thick white border also isn`t 
 transparent (or just a little)
 
 let me know what you think of it.
 
 Mark.
 
 
 2007/2/27, Klaus Hartl [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED]:
 
 Mark schrieb:
   @Klaus Hartl
  
   don`t you like my mockup suggestion?
 
 
 ???
 
 Mark, I'm all ear, but I haven't got a mail of yours. Did you write me
 an email or to the list?
 
 
 -- Klaus
 
 
 ___
 jQuery mailing list
 discuss@jquery.com mailto:discuss@jquery.com
 http://jquery.com/discuss/ http://jquery.com/discuss/
 
 
 
 
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-27 Thread Mark

perhaps you could do it with positioned divs? without any images.. than you
could use the round corners trick in javascript (which also works on IE) or
you could just leave them with the default edges.. and perhaps you could use
it in combination of this: http://interface.eyecon.ro/demos/fisheye.html not
for the zooming but that stuff had the radius stuff.. or something that
works like it. the only thing left to do than is adjusting the opacity when
the mouse moves closer or further away.. o btw.. do you have Office 2007? if
you have it open up a document and select a text.. then you also get the
same effect that i would like to see in thickbox :)

Mark.

2007/2/27, Klaus Hartl [EMAIL PROTECTED]:


Ah, I see! Cool!

What do the others think? I'm no designer, so I didn't (want to) change
much compared to the initial Thickbox anyway. I'd like having a little
bit more text (Image 2 of 5) in the control, but I like the idea of
having a control thats only there if needed. The control could slide up
or fade in if you hover of the hotspot. In addition that would make
calculating the box height much easier as well!

The different opacities in one box though will not be doable, because
one box inherits the opacity of its parent. Or maybe with using a
transparent png but that won't work in IE 6 easily and adds another
asset I'd rather avoid.

But as I wrote, in the end thats just a matter of the included skin and
I made it so that one can just plugin his or her own skin style sheet.
There will be a default skin, but I encourage everyone to make new skins
once Thickbox Reloaded is out.

You just had to replace jquery.thickbox.skin.css with another one.


-- Klaus



Mark schrieb:
 hmm.. i guess the attatchment didn`t get through and therefore the
 entire message didn`t get on the list (i can see it here in my gmail)
 here is the suggestion again with the image posted on imageshack.

 full message was:
 ---
 i like this alot :)
 don`t get me wrong but i`ve made a mockup how i would like to see it..
 this doesn1`t mean that htere is something wrong with the version you
 posted.. just these changes in my mockup make it complete for me :)

 the mockup is in the attatchment.
 explenation:
 let the Close this window (not vissable in the mockup) appear when the
 mouse gets close to it. for the NEXT and PREV part with hte transparent
 background.. also let that appear or fade depending on the location on
 the mouse.. lets say if the mouse gets with in a 20pixel radius of the
 next or prev the part will appear. otherwise it will fade away or stay
 away (same with the close this window)

 i hope you can do something with this.
 Mark.
 ---

 Image:
 (kinda big images.. 700+ KB in PNG.. perhaps that`s why it didn`t got
 through)
 http://img100.imageshack.us/img100/3640/mockupthickboxcopyps4.png

 extra information:
 the thick white border arround the image is transparent (0.8 or 0.9) the
 px width border that`s directly arround the image isn`t transparent and
 the 1px border that is arround the thick white border also isn`t
 transparent (or just a little)

 let me know what you think of it.

 Mark.


 2007/2/27, Klaus Hartl [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]:

 Mark schrieb:
   @Klaus Hartl
  
   don`t you like my mockup suggestion?


 ???

 Mark, I'm all ear, but I haven't got a mail of yours. Did you write
me
 an email or to the list?


 -- Klaus


 ___
 jQuery mailing list
 discuss@jquery.com mailto:discuss@jquery.com
 http://jquery.com/discuss/ http://jquery.com/discuss/



 

 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-27 Thread Alex Calara
When using gallery images, the load when switching images is very  
intrusive. A less disruptive method would place the loading spinner  
on top of the current image until the next image is loaded (rather  
than making the current image disappear completely). The downside is  
IE's poor handling of transparent PNG.

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-26 Thread Klaus Hartl
Hi jQuerians,

I just committed what I would call Thickbox Reloaded alpha version. It 
may look the same pretty much, but is a complete rewrite.

Here's what's new:

* Chainable method to bind Thickbox to links and forms (makes it easy 
for content that gets loaded/created later on).
* Totally unobtrusive: no classes needed for links, no params in URL.
* Confirm type Thickbox, triggered automatically by binding Thickbox to 
a form. If yes the form gets submitted unless a custom callback is 
defined (for example for Ajax submitting)
* Automatic type detection depending on type of element, respectively on 
type of link:
 image: href is an image
 content: href is a hash
 ajax: href is internal and not image
 iframe: href is external and not image
 confirm: element is form
* Improved UI blocking (Thanks to Mike Malsup and the BlockUI plugin)
* Options for width/height are now passed in as settings object literal 
or are stored as default values via $.thickbox.defaults({ width: 300, 
height: 400 })
* Options top/left positioning (instead of centering), unit defaults to 'px'
* Easier skinning: The look is completely separated into an extra style 
sheet
* Scrolling via mousewheel/touchpad is blocked
* Lets you define custom animations for showing the modal window via 
settings
* Requires jQuery 1.1.1

Maybe I have forgotten something.

I thought of including the required style sheets dynamically, but you 
would still have to include the path somehow.

You can also have a look here (besides repository):
http://stilbuero.de/jquery/thickbox_reloaded/

Please note that I haven't tested in other browsers than Firefox yet. I 
just thought I'd like to request some feedback/code review first!


-- Klaus

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-26 Thread Janet Weber
Sounds good
How about building in thumbails so you only have to refer to the main image.

Janet

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Klaus Hartl
Sent: Monday, February 26, 2007 9:06 AM
To: jQuery Discussion.
Subject: [jQuery] ANNOUNCE: Thickbox Reloaded alpha


Hi jQuerians,

I just committed what I would call Thickbox Reloaded alpha version. It
may look the same pretty much, but is a complete rewrite.

Here's what's new:

* Chainable method to bind Thickbox to links and forms (makes it easy
for content that gets loaded/created later on).
* Totally unobtrusive: no classes needed for links, no params in URL.
* Confirm type Thickbox, triggered automatically by binding Thickbox to
a form. If yes the form gets submitted unless a custom callback is
defined (for example for Ajax submitting)
* Automatic type detection depending on type of element, respectively on
type of link:
 image: href is an image
 content: href is a hash
 ajax: href is internal and not image
 iframe: href is external and not image
 confirm: element is form
* Improved UI blocking (Thanks to Mike Malsup and the BlockUI plugin)
* Options for width/height are now passed in as settings object literal
or are stored as default values via $.thickbox.defaults({ width: 300,
height: 400 })
* Options top/left positioning (instead of centering), unit defaults to 'px'
* Easier skinning: The look is completely separated into an extra style
sheet
* Scrolling via mousewheel/touchpad is blocked
* Lets you define custom animations for showing the modal window via
settings
* Requires jQuery 1.1.1

Maybe I have forgotten something.

I thought of including the required style sheets dynamically, but you
would still have to include the path somehow.

You can also have a look here (besides repository):
http://stilbuero.de/jquery/thickbox_reloaded/

Please note that I haven't tested in other browsers than Firefox yet. I
just thought I'd like to request some feedback/code review first!


-- Klaus

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-26 Thread Mike Alsup
 You can also have a look here (besides repository):
 http://stilbuero.de/jquery/thickbox_reloaded/

Fantastic, Klaus!  This is very jQuery now with the simple usage of
$('a').thickbox().

Great, great stuff!

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-26 Thread Sean O

Klaus,


Nice job, everything looks great in Firefox 2  IE 7 PC.

However, nothing seems to work (for me, anyway) in IE 6 PC.
Image content gets appended below the body and mangled.
Inline/External/Ajax content appears, but on top of existing copy with no
windows, styling, or overlays.

Note: this is just one PC I've noticed this on...

___
SEAN O



Klaus Hartl wrote:
 
 Please note that I haven't tested in other browsers than Firefox yet. I 
 just thought I'd like to request some feedback/code review first!
 
 
 -- Klaus
 

-- 
View this message in context: 
http://www.nabble.com/ANNOUNCE%3A-Thickbox-Reloaded-alpha-tf3293077.html#a9164542
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-26 Thread Klaus Hartl
Sean O schrieb:
 Klaus,
 
 
 Nice job, everything looks great in Firefox 2  IE 7 PC.
 
 However, nothing seems to work (for me, anyway) in IE 6 PC.
 Image content gets appended below the body and mangled.
 Inline/External/Ajax content appears, but on top of existing copy with no
 windows, styling, or overlays.
 
 Note: this is just one PC I've noticed this on...


Sean, as I said, I haven't done any testing in IE at all so far. I'm 
truly amazed, that it looks great in IE 7 already. :-)

I think the (untested) fixed positioning emulation causes these weird 
things in IE 6. Don't worry,I'm going to fix this of course!


-- Klaus


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-26 Thread Christopher Jordan
The demo page doesn't seem to work for me. Running IE6. After clicking 
on one of the Show Thickbox links, the page is so jumbled looking that 
it can't possibly be what you intended Klaus. Also, clicking on any 
image on the page causes the image to appear *waaay* down the screen 
such that I have to scroll down to see it. If I then click on another 
image, it appears just below the first image way down the page. Hmm... 
I'm sure this isn't what's supposed to happen.


Chris

Klaus Hartl wrote:

Hi jQuerians,

I just committed what I would call Thickbox Reloaded alpha version. It 
may look the same pretty much, but is a complete rewrite.


Here's what's new:

* Chainable method to bind Thickbox to links and forms (makes it easy 
for content that gets loaded/created later on).

* Totally unobtrusive: no classes needed for links, no params in URL.
* Confirm type Thickbox, triggered automatically by binding Thickbox to 
a form. If yes the form gets submitted unless a custom callback is 
defined (for example for Ajax submitting)
* Automatic type detection depending on type of element, respectively on 
type of link:

 image: href is an image
 content: href is a hash
 ajax: href is internal and not image
 iframe: href is external and not image
 confirm: element is form
* Improved UI blocking (Thanks to Mike Malsup and the BlockUI plugin)
* Options for width/height are now passed in as settings object literal 
or are stored as default values via $.thickbox.defaults({ width: 300, 
height: 400 })

* Options top/left positioning (instead of centering), unit defaults to 'px'
* Easier skinning: The look is completely separated into an extra style 
sheet

* Scrolling via mousewheel/touchpad is blocked
* Lets you define custom animations for showing the modal window via 
settings

* Requires jQuery 1.1.1

Maybe I have forgotten something.

I thought of including the required style sheets dynamically, but you 
would still have to include the path somehow.


You can also have a look here (besides repository):
http://stilbuero.de/jquery/thickbox_reloaded/

Please note that I haven't tested in other browsers than Firefox yet. I 
just thought I'd like to request some feedback/code review first!



-- Klaus

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

  


--
http://www.cjordan.us

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-26 Thread Dmitry Rudakov



Klaus Hartl wrote:
 
 Sean, as I said, I haven't done any testing in IE at all so far. I'm 
 truly amazed, that it looks great in IE 7 already. :-)
 

Karl, 

JFYI
inline examples also work in Safari.. 
ajax example does not. 

Dmitry
-- 
View this message in context: 
http://www.nabble.com/ANNOUNCE%3A-Thickbox-Reloaded-alpha-tf3293077.html#a9167180
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-26 Thread Torbjorn Tornkvist

Hi,

It would be nice if it also supported Internationalization
of the Previous/Next strings etc.

Perhaps, it already does? I'll have to check the source.

Cheers, Tobbe


Klaus Hartl wrote:
 Hi jQuerians,
 
 I just committed what I would call Thickbox Reloaded alpha version. It 
 may look the same pretty much, but is a complete rewrite.
 
 Here's what's new:
 
 * Chainable method to bind Thickbox to links and forms (makes it easy 
 for content that gets loaded/created later on).
 * Totally unobtrusive: no classes needed for links, no params in URL.
 * Confirm type Thickbox, triggered automatically by binding Thickbox to 
 a form. If yes the form gets submitted unless a custom callback is 
 defined (for example for Ajax submitting)
 * Automatic type detection depending on type of element, respectively on 
 type of link:
  image: href is an image
  content: href is a hash
  ajax: href is internal and not image
  iframe: href is external and not image
  confirm: element is form
 * Improved UI blocking (Thanks to Mike Malsup and the BlockUI plugin)
 * Options for width/height are now passed in as settings object literal 
 or are stored as default values via $.thickbox.defaults({ width: 300, 
 height: 400 })
 * Options top/left positioning (instead of centering), unit defaults to 'px'
 * Easier skinning: The look is completely separated into an extra style 
 sheet
 * Scrolling via mousewheel/touchpad is blocked
 * Lets you define custom animations for showing the modal window via 
 settings
 * Requires jQuery 1.1.1
 
 Maybe I have forgotten something.
 
 I thought of including the required style sheets dynamically, but you 
 would still have to include the path somehow.
 
 You can also have a look here (besides repository):
 http://stilbuero.de/jquery/thickbox_reloaded/
 
 Please note that I haven't tested in other browsers than Firefox yet. I 
 just thought I'd like to request some feedback/code review first!
 
 
 -- Klaus


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-26 Thread Olaf Bosch
Klaus Hartl schrieb:

 Please note that I haven't tested in other browsers than Firefox yet.
 I just thought I'd like to request some feedback/code review first!

My Feedback:

-Hardcoded Titles: title=Close this window going to var defaultValues
-Inline Content: you have in CSS display none, give a way to let
Thickbox this setting over Option or so. For unobtrusive and JS is OFF.

Thank you


-- 
Viele Grüße, Olaf

---
[EMAIL PROTECTED]
http://olaf-bosch.de
www.akitafreund.de
---

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-26 Thread Kevin Fricovsky

Looks great in FF!

Not there yet in IE6 though. Totally fails actually. But like you said,
it's alpha.

Good luck!

-Kevin


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Klaus Hartl
Sent: Monday, February 26, 2007 9:06 AM
To: jQuery Discussion.
Subject: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

Hi jQuerians,

I just committed what I would call Thickbox Reloaded alpha version. It 
may look the same pretty much, but is a complete rewrite.

Here's what's new:

* Chainable method to bind Thickbox to links and forms (makes it easy 
for content that gets loaded/created later on).
* Totally unobtrusive: no classes needed for links, no params in URL.
* Confirm type Thickbox, triggered automatically by binding Thickbox to 
a form. If yes the form gets submitted unless a custom callback is 
defined (for example for Ajax submitting)
* Automatic type detection depending on type of element, respectively on

type of link:
 image: href is an image
 content: href is a hash
 ajax: href is internal and not image
 iframe: href is external and not image
 confirm: element is form
* Improved UI blocking (Thanks to Mike Malsup and the BlockUI plugin)
* Options for width/height are now passed in as settings object literal 
or are stored as default values via $.thickbox.defaults({ width: 300, 
height: 400 })
* Options top/left positioning (instead of centering), unit defaults to
'px'
* Easier skinning: The look is completely separated into an extra style 
sheet
* Scrolling via mousewheel/touchpad is blocked
* Lets you define custom animations for showing the modal window via 
settings
* Requires jQuery 1.1.1

Maybe I have forgotten something.

I thought of including the required style sheets dynamically, but you 
would still have to include the path somehow.

You can also have a look here (besides repository):
http://stilbuero.de/jquery/thickbox_reloaded/

Please note that I haven't tested in other browsers than Firefox yet. I 
just thought I'd like to request some feedback/code review first!


-- Klaus

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-26 Thread Joel Birch
On 27/02/2007, at 1:05 AM, Klaus Hartl wrote:
 Hi jQuerians,

 I just committed what I would call Thickbox Reloaded alpha version. It
 may look the same pretty much, but is a complete rewrite.

 Here's what's new:

I'm dumbstruck. Thanks Klaus and Jorn - you have made my day/week/ 
month.  I find Thickbox so useful and it looks like Thickbox 3 takes  
it a huge step forward with unobtrusiveness, quality code, and best  
of all - all the best enhancements put together in one almighty 'box.  
It's truly One Box to Rule Them All again! I'll be tinkering with this!

Joel Birch.

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/