aloha Brice!

Further to my previous message, i've been trying some but didn't get much
success with this, maybe you can help me:

basically, my app is full of thickbox calls where urls are parts of the url
query string, such as

writing.php?todo=display&writing_id=5&KeepThis=true&TB_iframe=true&width=90%&height=99%


thickbox parameters happens starting with "keepThis" onwards.

So to use jqmodal, i assigned jqmodal target parameter to the iframe
element, but nothing shows inside the iframe (although the jqmodal works).
Can you tip me in the right direction ?

Here is my js call:
//thickbox replacement
    $('#modalWindow').jqm({
        modal: true,
        trigger: 'a.thickbox',
        target: $('#jqmContent')[0],
        width: '1600'
    });


and my html:

<div id="modalWindow" class="jqmWindow">
<div id="jqmTitle">Title of modal window <button class="jqmClose">Close
X</button></div>
<iframe id="jqmContent"></iframe>
</div>


Thanks for your insight !





Alexandre Plennevaux


On Mon, Jun 30, 2008 at 9:20 AM, Alexandre Plennevaux <[EMAIL PROTECTED]>
wrote:

> hi Brice, i need to convert my admin -in-development from thickbox, so
> basically make a wrapper function that interfaces nicely all my thickbox
> calls to jModal. if i manage to, i'll post a how-to...
> the only thing i'm not sure i can manage is the modal window width/height
> change per call, but i'll have to double check on that.
>
>
> On Mon, Jun 30, 2008 at 6:14 AM, Brice Burgess <[EMAIL PROTECTED]>
> wrote:
>
>>
>> Alexandre,
>>
>>  The neat thing about jqModal is it's flexibility. Really anything is
>> possible... but may take some extra code (CSS, onShow Callbacks, etc.)
>> to achieve the desired effect.
>>
>>  It is a good idea to extend jqModal... say to mimic the (very good
>> looking) effects and functionality of ShadowBox. These extensions
>> could be made available @ the demo page... and I'd likely modify
>> jqModal to accept extending the default onShow/onHide/onLoad
>> callbacks.
>>
>>  If you send an example page of what you'd like to achieve, perhaps I
>> could demonstrate the "jqModal method".
>>
>> ~ Brice
>>
>>
>> On Jun 27, 1:33 pm, "Alexandre Plennevaux" <[EMAIL PROTECTED]>
>> wrote:
>> > Brice,
>> >
>> > i have a feature request: the possibilty to use proportional width
>> instead
>> > of fixed width, so we can tell it to take like 90% of the available
>> width
>> > space. Useful in some cases for complex UI.
>> >
>> > sorry if it is possible already, didn't manage to so far.
>> >
>> > thanks !!!
>> >
>> > On Tue, Jun 24, 2008 at 1:38 AM, MorningZ <[EMAIL PROTECTED]> wrote:
>> >
>> > > Brice:
>> >
>> > > Thanks a lot for all the hard work, your plugin is one of the most
>> > > used ones in my applications
>> >
>> > > Glad to see it playing nicely with the new jQuery version
>> >
>> > --
>> > Alexandre Plennevaux
>> > LAb[au]
>> >
>> > http://www.lab-au.com
>>
>
>
>
> --
> Alexandre Plennevaux
> LAb[au]
>
> http://www.lab-au.com
>



-- 
Alexandre Plennevaux
LAb[au]

http://www.lab-au.com

Reply via email to