>>Yes. I don't see the need for the usage of an iframe if you're in the same domain.
Indeed, but when i discovered that i was at 6/8 of the development. A bit late to redo everything. In the meanwhile, i need that hack. >> $("element").thickbox({ width: '50%', height: '50%' }); I tried that, the layout gets all screwed up. The height does not go go through and the thickbox is off center. Could you give me the link to the svn ? I 'm not sure i have your latest version. And if i can be of help during development, let me know ! Thanks a lot Alexandre -----Original Message----- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Klaus Hartl Sent: mardi 15 mai 2007 17:19 To: jquery-en@googlegroups.com Subject: [jQuery] Re: thickbox reloaded? BAlexandre Plennevaux wrote: > Hello Klaus, > > great: although i used TB2 quite a lot (that's what got me into jquery > in the first place), as i grew more used to the jquery way of coding, > i prefer the reloaded code. > $("element").thickbox(); > > > I'm now trying to hack your implementation so that it allows relative > width and height (in percentage). That should already be supported, because you're able to specify the width and height for each thickbox, like: $("element").thickbox({ width: '50%', height; '50%' }); > Doing so, i discovered your implementation does not allow the use of > iframes if the target sits on the same domain. Am i correct? Yes. I don't see the need for the usage of an iframe if you're in the same domain. > Personally, i would use the rel attribute to specify manually what kind of > thickbox i want to have, I find automatic detection quite magickal but it > gets in my way in this particular case. The rel attribute actually has some meaning and I don't think it should be used for such kind of processing (I'd consider that as obtrusive). A user agent may provide some useful information depending on the value of the rel attribute, whereas a value of say "iframe" is obtrusive/useless for a user. But don't worry, I'm planning to make thickbox reloaded extensible, e.g. next to the 5 build-in thickbox builders, you can provide your own, overwrite the existing ones that is. -- klaus Ce message Envoi est certifié sans virus connu. Analyse effectuée par AVG. Version: 7.5.467 / Base de données virus: 269.7.0/804 - Date: 14/05/2007 16:46 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery (English)" group. To post to this group, send email to jquery-en@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/jquery-en?hl=en -~----------~----~----~----~------~----~------~--~---