comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » ION Script Windowing Issues
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
ION Script Windowing Issues [message #28419] Tue, 04 December 2001 16:48
James Adams is currently offline  James Adams
Messages: 7
Registered: October 2001
Junior Member
Hello,

I currently have an ION Script application set up so that if you click
on a point within one ION data plot/image then a second window is opened
with a plot of the data at the lat/lon location closest to where the
user clicked in the first data plot/image. I'm pulling this off by
having an event declared on the first page which calls an ION Script
that makes the plot of the clicked location, and this comes up in a new
window by virtue of the fact that the first image is part of an ION_FORM
with "_blank" as the target.

The first ION Script page has the following which is affecting the
second page to pop up in a new window:

<EVENTS>
<EVENT_DECL NAME="PROFILE" ACTION="ion://ProfileView.ion" />
</EVENTS>

....

<ION_FORM TARGET="_blank">
<ION_IMAGE NAME="Test" EVENT="PROFILE" TYPE="DIRECT" WIDTH="600"
HEIGHT="400">
<IDL> ... </IDL>
</ION_IMAGE>
</ION_FORM>


Now this is working well and I am wondering if I can take it to the next
level by modifying the windowing behavior in order to make the
application easier to use. What I have in place now gives me a new
window which is as large as the original, when in fact I want a window
which is about 1/4 the size. I would like for the new window to appear
without the buttons, menus or location bar, but as it is I am getting
the ION Script page in a normal browser window. I guess what I want is
something like a Javascript window which pops up with just a border,
title and the min/max/close buttons. And last but not least I want the
second window to be updated with a new plot of data in the case when the
first image is again clicked into with the mouse.

The typical use of the site will be that the user selects the data to
view and the first image will appear. Then the user will be clicking at
any number of points within the first image in order to see plots of the
data at the points clicked. The user is likely to click in the first
image many times to look at individual data plots. With this in mind I
guess you can understand that it is currently difficult to use the
application because so many new windows are being popped up and because
they are so big and take up too much real estate. Ideally I want the
user to be able to click in the first image and have a small window,
sans buttons and toolbars, appear to the side with a data plot of the
point just clicked in the original image. If the user selects another
location, i.e. clicks someplace else in the original image, then I want
the second window to stay in place and update its image with the data
from the location of the most recent click. So it should be as if we
set up a second window on the first click event in the original image
and continue to use it for drawing the data plots triggered by each
subsequent mouse click event in the original image.

You can see what we have in place currently at the following URL:

http://dataserver.acd.ucar.edu:8080/dataview/DataCenterFrame set.jsp

Select Level 2 MOPPIT Data, Interactive Single Day Profiles, then select
a date with data available, try "03/15/2000" (I'm working on making the
calendar show which days have data and which don't, it's not obvious to
the user yet), and once the original image appears you can click into it
to see the data closest to the point that you just clicked.

I hope I've been able to explain what it is I'm after without being too
confusing. Any suggestions will be most appreciated, thanks in
advance...


-James
[Message index]
 
Read Message
Previous Topic: IDLWAVE 4.10 (idlwave.org)
Next Topic: Re: Array index for arrays

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:05:02 PDT 2025

Total time taken to generate the page: 0.00395 seconds