Re: Screen resolution custom tag?

2005-03-17 Thread Adam Haskell
also instread of using XMLHttpRequest a hidden iframe will generally work just as well :) Adam H On Wed, 16 Mar 2005 13:44:37 -0500, Claude Schneegans [EMAIL PROTECTED] wrote: that's similar to what the link I posted does, but with an image. Exact, and it is a pretty good idea ;-) --

Re: Screen resolution custom tag?

2005-03-17 Thread Claude Schneegans
also instread of using XMLHttpRequest a hidden iframe will generally work just as well Exact, except that an IFRAME is also an HTTP request. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any

RE: Screen resolution custom tag?

2005-03-17 Thread Micha Schopman
- -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: donderdag 17 maart 2005 15:17 To: CF-Talk Subject: Re: Screen resolution custom tag? also instread of using XMLHttpRequest a hidden iframe will generally work just as well Exact, except

Re: Screen resolution custom tag?

2005-03-17 Thread Adam Haskell
- -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: donderdag 17 maart 2005 15:17 To: CF-Talk Subject: Re: Screen resolution custom tag? also instread of using XMLHttpRequest a hidden iframe will generally work

Re: Screen resolution custom tag?

2005-03-17 Thread Jim Davis
also instread of using XMLHttpRequest a hidden iframe will generally work just as well Exact, except that an IFRAME is also an HTTP request. As is XMLHttpRequest. All the solutions mentioned so far (xmlHTTPRequest, iFrame and an image) are all HTTP requests. They all have the overhead of

Re: Screen resolution custom tag?

2005-03-17 Thread Claude Schneegans
Personally I find using an image the most reliable for the task at hand I totally agree, and which page doesn't need an image anyway?, So there is actually NO overhead at all, except for the extra characters for the screen resolution, which is not even worth to talk about. Brilliant idea

Re: Screen resolution custom tag?

2005-03-16 Thread Protoculture
why not just write it to cf variables at the top of the page from JS? ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message:

Re: Screen resolution custom tag?

2005-03-16 Thread Claude Schneegans
I know how to do it with javascript but I would need it in a coldfusion variable without reloading the page. CF has no mean to know the screen resolution. Since you know how to do it in JS, get the values in the first page and transmit it to the next in a form or URL value, then store them in

RE: Screen resolution custom tag?

2005-03-16 Thread Russ
Subject: Re: Screen resolution custom tag? why not just write it to cf variables at the top of the page from JS? ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http

RE: Screen resolution custom tag?

2005-03-16 Thread James Holmes
PROTECTED] Sent: Wednesday, 16 March 2005 10:04 To: CF-Talk Subject: RE: Screen resolution custom tag? ? Please elaborate? Javascript runs on the browser, CF on the server. The only way for JS to write stuff to CF variables is to do some sort of post back to the server... -Original Message

RE: Screen resolution custom tag?

2005-03-16 Thread Paul
... -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 16, 2005 8:02 AM To: CF-Talk Subject: RE: Screen resolution custom tag? That's right. You could do a post to a page that doesn't return content (via a no-content header), but you can't get it into the current CF

RE: Screen resolution custom tag?

2005-03-16 Thread Jim Davis
I've got code and explanation of this here: http://www.depressedpress.com/depressedpress/Content/Development/ColdFusion/ Articles/GetRes/Index.cfm The server call is actually done (via client-script) as an image so you can get the res into CF on one page (but can't, of course, do anything with

RE: Screen resolution custom tag?

2005-03-16 Thread Connie DeCinko
Is there a login required for this app? Capture the size during login. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a

RE: Screen resolution custom tag?

2005-03-16 Thread Martin Parry
] Sent: 16 March 2005 15:34 To: CF-Talk Subject: RE: Screen resolution custom tag? Is there a login required for this app? Capture the size during login. ~| Logware (www.logware.us): a new and convenient web-based time

Re: Screen resolution custom tag?

2005-03-16 Thread Mark Drew
-Original Message- From: Connie DeCinko [mailto:[EMAIL PROTECTED] Sent: 16 March 2005 15:34 To: CF-Talk Subject: RE: Screen resolution custom tag? Is there a login required for this app? Capture the size during login

RE: Screen resolution custom tag?

2005-03-16 Thread Jim Davis
-Original Message- From: Mark Drew [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 16, 2005 11:39 AM To: CF-Talk Subject: Re: Screen resolution custom tag? This is where an AJAX type application might work wonders. As soon as you load the page, do a XMLHttpRequest and send

Re: Screen resolution custom tag?

2005-03-16 Thread Claude Schneegans
that's similar to what the link I posted does, but with an image. Exact, and it is a pretty good idea ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL

RE: Screen Resolution

2002-10-13 Thread Tilbrook, Peter
HEAD !-- Set default stylesheet for Netscape users at 800 x 600 -- link rel=stylesheet type=text/css href=netscape.css !-- Set variable stylesheets for Internet Explorer users -- SCRIPT LANGUAGE=JavaScript !-- Original: Bob Pearson and Leah Murray ([EMAIL PROTECTED]) -- !-- Web Site:

RE: Screen Resolution with CF?

2001-04-20 Thread Andres Leon
I may be way off. But... Screen resolution info and other CLIENT-related variables can only be obtained via JavaScript. Since CF is a SERVER-side application, it has no way to obtain or use client side information unless it uses JavaScript. hth! andres -Original Message- From: Phill

Re: Screen Resolution with CF?

2001-04-20 Thread Kevin Miller
Create a page that has some javascript that automatically redirects to a second page with the resolution embedded in the URL string. Kevin [EMAIL PROTECTED] 04/20/01 04:05PM Hi everyone, Does anyone know of a CF way to determine the users screen resolution? I know about using JS to produce

RE: Screen Resolution with CF?

2001-04-20 Thread Garza, Jeff
SCRIPT language="JavaScript" type="text/javascript" function getscreen(width,height) { document.write('form name=form1 action=index2.cfm method=post'); document.write('input type=hidden name=width value=' + width + ''); document.write('input type=hidden name=height value=' + height + '');

Re: Screen Resolution with CF?

2001-04-20 Thread Bonnie Betts
BrowserHawk is an excellent tool I've used as javascript and he has it as a CF tag as well as for ASP. Here's some links: http://devex.allaire.com/Developer/Gallery/SearchResults.cfm?Category=web+co ntent+and+style+sheets http://www.browserhawk.com/ Bonnie E. Betts [EMAIL PROTECTED]