Or have the user select the resolution from a drop-down list. Some users don't always want to run their windows maximized.
Hope this helps. Cheers... > -----Original Message----- > From: John McGowan [mailto:[EMAIL PROTECTED] > Sent: Friday, May 07, 2004 12:38 PM > To: [EMAIL PROTECTED] > Subject: Re: Witango-Talk: Setting Witango variables inside > of Javascript > > Gene, > > If the TCF is executing the javascript with the script action I'm > guessing that you're getting the screen resolution of the server > machine... I could also be misunderstanding something in > your post below. > > Follow alan's advise on doing it client side and embeding the > results in > the hidden form field. > > /John > > Wolf, Gene wrote: > > > 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 <mailto:[EMAIL PROTECTED]> > > *To:* [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > *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 > ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
