On Thu, Aug 7, 2008 at 11:52 AM, Justin T <[EMAIL PROTECTED]>wrote:

> >where is your <script src="jquery.js"></script>?  it needs to be in the
> page
> >that creates the cfwindow... not in the page that resides in the cfwindow.
> >
> >On Thu, Aug 7, 2008 at 11:35 AM, Justin T <[EMAIL PROTECTED]
> >wrote:
> >
> >>
> Hi Charlie,
>
> I tried it both ways, in the source document, in the caller as an import,
> and both. Mind you, it's only jquery that relies on the $ready that's having
> the issue (even my global template jquery stuff). I have tested generic
> jquery code to work outside of the ready initializer and that works fine.
>
> It's really like something needs to let the jquery know the source document
> from the "get" is ready in addition to the main document.
>

Justin...

not sure about the $ready stuff.  last nite i was trying to get a google map
to display in a cfwindow, and needed the <script> tag that points to the
google js (external call to google) in the "calling" window.  i wanted it in
the cfwindow so that it didn't have to make the external call unless the map
was explicitly requested, but that didn't work.  the page (let's say
gmap.cfm) worked fine when called on its own, but with the <script src="
http://maps.google.com/maps?file=api&amp;v=2.x&amp;key.... > in the document
that displays the map... didn't work in cfwindow.  had to put that <script>
tag in the "parent".

maybe AjaxOnLoad (
http://livedocs.adobe.com/coldfusion/8/htmldocs/functions_a-b_06.html) ?  i
haven't used that yet, but sounds like it might help with the $ready ?

-- 
A byte walks into a bar and orders a pint. Bartender asks him "What's
wrong?" Byte says "Parity error." Bartender nods and says "Yeah, I thought
you looked a bit off."


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310431
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to