cf code is processed on the SERVER, BEFORE your page is presented to the user on screen, BEFORE your js code executes, BEFORE your cookie is set/changed. your onload event is too late to have its results picked up by cf from the cookie at this pageload - only on the next one.
*Good point. aside from that, i do not think the whole idea of serving a different content based on screen resolution is a sound one... it's like serving different content based on browser type and version... there are other, better, techniques for this. css, fluid layouts, ui enhancements, etc etc. i bet you your code (cfml and html) is anything but easily maintainable with all this trying to accommodate various screen resolutions. *Other than code to choose images it isn't different content but it could be varied CSS. Actually, the way I've coded it, it is fairly simple to maintain... and how about the user's text size / zoom settings? i may be viewing your site on a 1024x768 screen/browser viewport size with my text set to display at super-mega-large size - try and cram all your extra content onto my 'increased real estate'! i will probably be seeing less than a user with a 640x480 screen... (i do not really do that, but my dad who is close to blind does use a HUGE zoom and a magnifier) *I thought of that and decided there are only so many things I can seek to control and have set the limit (so far) to screen size. I'll have to see if the church brings up anything else (and maybe tell them no). didn;t mean for it to sound like a rant... sorry if it does... *Not al all... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309109 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

