[Geomoose-users] Info from Select to a new window?

Brent Fraser bfraser at geoanalytic.com
Thu May 28 12:36:08 EDT 2009


Dan,

 I'm using V1.6.1.  

It looks like the target of the html/text generated by select.php is set around line 488 in ServiceManager.js (of course I could be totally out-to-lunch as my JavaScript is weak):

	} else if(returnType.match(/text/i) || contentType.match(/plain/i)){ // Plain Text Return
		var results = document.getElementById('content_results_form');
		var text = http.responseText;
		if(!(text.match(/\<html/))) {
			text = text.replace(/\n/g,'<br/>\n');
			text = '<tt>'+text+'</tt>';
		}
		results.innerHTML = text;
		EventManager.triggerEvent('changetab',TABS_RESULTS_NAME);
	} else if(returnType.match(/csv/i) || contentType.match(/csv/i)) { // CSV return type


perhaps if do something like:
		var win = window.open("", "Results", "width=100, height=100, scrollbars=yes" );
		var results2 = win.document.body;
		results2.innerHTML = text;

Any thoughts on that?


Thanks!
Brent

Dan Little wrote:
> 1.6 or 2.0?
> 
> 
> 
> ----- Original Message ----
>> From: Brent Fraser <bfraser at geoanalytic.com>
>> To: GeoMOOSE Users List <geomoose-users at lists.sourceforge.net>
>> Sent: Wednesday, May 27, 2009 11:35:08 AM
>> Subject: [Geomoose-users] Info from Select to a new window?
>>
>> I'd like to send the attribute information of my selected features to a new 
>> browser window instead of the Information tab.  What's a good way to do this?
>>
>> Thanks!
>> Brent Fraser
>>
>> ------------------------------------------------------------------------------
>> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
>> is a gathering of tech-side developers & brand creativity professionals. Meet
>> the minds behind Google Creative Lab, Visual Complexity, Processing, & 
>> iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
>> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
>> _______________________________________________
>> Geomoose-users mailing list
>> Geomoose-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geomoose-users
> 
> 
> 
>       
> 




More information about the Geomoose-users mailing list