You could set up your login page like...

<div id="noJSMessage" style="display:block;">You need javascript</div>
<div id="theForm" style="display:none;"><form name="login"...
etc...>,/form></div>

Then run some js that changes the display for each.

<script>
document.getElementById('theJSMessage').style.display='none';
document.getElementById('theForm').style.display='block';
</script>


If the user doesn't have JS, the login page is a message that says You need
JS. If they DO have JS, the login page hides the no JS message and displays
the form but either way... application.cfc includes the login.cfm as usual.

..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293078
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to