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/

Reply via email to