There appears to be a fatal flaw in your knowledge of client-side and server-side scripting: they don't happen at the same time or in the same place.
When a user enters a url (or clicks a link/etc), the browser sends a request to the server saying "give me [whatever]". If the page is associated with CF (usually based on having a .cfm or cfc extension), then CF picks it up and deals with it. CF is server-side, and all cfscript and cf tags are rendered at this point, producing a simple set of HTML and JS code which is then returned to the server to give back to the browser. Once the browser receives this code, if it finds JavaScript that it should execute, then it will do so. However, this is all on the clients computer, not the server, and all the CF has already been evaluated. In order to have CF deal with anything JavaScript has worked out, you need to submit a new request back to the server, including the new information. The easiest way to do this is with a simple form, which can be submitted to the server and all its active named fields will then be available in Form.Whatever variables. So, once you have width and height, either ask the user to activate a submit button, or use JavaScript to call the submit() method on the form, and that will post the page back to CF, and it can resize the wallpaper and whatever else it needs to do. (some people might recommend you learn AJaX for this - I recommend you don't look at that until you're certain you understand how requests and server/client side stuff works) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269455 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

