Title: Setting Witango variables inside of Javascript
It sounds like you need the _javascript_ that detects the screen size on the login page, and set it to hidden args like you were saying you've done and then when they click ok to login or whatever, then you will have your screen size as args.
 
This works as long as you dont need the screen size known when showing the login page (:
 
do you need to know at the login page?
----- Original Message -----
From: Wolf, Gene
Sent: Friday, May 07, 2004 10:25 AM
Subject: RE: Witango-Talk: Setting Witango variables inside of _javascript_

   Hey Alan, thanks for the reply. What I see this doing is that a person logs in. In the login program I want to call a TCF and capture his/her screen resolution. When the log in is complete I want to send that screen resolution (really a var set to either high or low) back to the calling program.
 
   The TCF only needs to execute a _javascript_, which is working fine, and set a Witango variable, which I have no idea how to do. Any ideas how to accomplish this?
-----Original Message-----
From: Alan Wolfe [mailto:[EMAIL PROTECTED]
Sent: Friday, May 07, 2004 12:55 PM
To: [EMAIL PROTECTED]
Subject: Re: Witango-Talk: Setting Witango variables inside of _javascript_

Hi Gene,
 
The problem with setting witango variables in _javascript_ is that the _javascript_ is browser side while assigning witango variables is server side.
 
So, the problem is how do you transmit the data from browser to server?
 
There's a couple different tricks to doing this, but it depends on what your requirements are.
 
How do you need this to function?
----- Original Message -----
From: Wolf, Gene
Sent: Friday, May 07, 2004 8:41 AM
Subject: Witango-Talk: Setting Witango variables inside of _javascript_

   I've searched the discussion list and I know this has been asked before, because I believe I've asked it. *laughs* Here's what I would like to do. I want to call a tcf which will query the resolution setting on a users screen and set a Witango variable to be returned to the calling program.

I have the _javascript_ working just fine. We know the resolution. Now I want to assign that value to a Witango variable and here's where I'm stumbling. How do I do that assignment in _javascript_ so I can return to the main program? In the past I have set up a form and set the value of a hidden field and then used the @ARG value but that does not pertain in this case. I have looked at the @Setparam metatag but I'll be damned if I can figure it out.

  Any help will be appreciated!


Gene Wolf
Business Systems Analyst, TLMN
DRS Optronics, Inc.
2330 Commerce Park Drive
Palm Bay, Florida  32905
Phone: 321-309-0685
E-mail: [EMAIL PROTECTED]


________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to