Re: OT: iframe question

2006-11-28 Thread Pete Freitag
On 11/27/06, Pete Ruckelshaus [EMAIL PROTECTED] wrote:
 Why not just use AJAX to replace the content of a DIV on your site
 with the search results?

If the search results are coming from another server/domain then you
have to create a request proxy because XmlHttpRequest doesn't allow
you to call different domains. This is not too difficult to do
however, just do a cfhttp.

To change the size of the iframe you can probably use something like this:

document.getElementById(myIframeID).style.width = 500;
document.getElementById(myIframeID).style.height = 500;


-- 
Pete Freitag
http://foundeo.com/ - ColdFusion Consulting  Products
http://petefreitag.com/ - My Blog
http://spendfish.com/ - Fish for Deals

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


OT: iframe question

2006-11-27 Thread Jason Rogoz
i'm working on a site that requires the use of a search page that is hosted on 
another domain to be embedded within the new site.  The plans are to use an 
iframe to include the search form, however, i need a way to dynamically change 
the size of the iframe to fit the search results. 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: OT: iframe question

2006-11-27 Thread Pete Ruckelshaus
Why not just use AJAX to replace the content of a DIV on your site
with the search results?

On 11/27/06, Jason Rogoz [EMAIL PROTECTED] wrote:
 i'm working on a site that requires the use of a search page that is hosted 
 on another domain to be embedded within the new site.  The plans are to use 
 an iframe to include the search form, however, i need a way to dynamically 
 change the size of the iframe to fit the search results.

 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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