i have just started using prototype and scriptalicous to add some cool effects to my web pages.

However, I am aware that it is useful to provide support to people who do not have javascript enabled.

Therefore I wanted to know the best way to cater for non-javascript users.

I am aware that you can add a message between <noscript> tags,

And i am also aware that you can also create a version of the page which functions without javascript, and then do something like this, in the page

<script language="javascript">
window.location ="Javascript.html";
</script>

to redirect those with javascript enabled to the page with javascript functions.

However my ideal solution would be to have an if function on the page, which would say

<cfif javascipt is enabled>
link with javascript functions
<cfelse>
link without javascript functions
</cfif>

cheers