Handling no script

This is a discussion on Handling no script within the Cold Fusion forums in Application Servers & Tools category; Hi i have a No script tag with a http redirect, but my page will not validate to w3c is there a way to check the clients javascript using server side? or a better way to handle the no script?...

Go Back   Application Development Forum > Application Servers & Tools > Cold Fusion

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-23-2008, 03:35 AM
craiglaw98
Guest
 
Default Handling no script

Hi i have a No script tag with a http redirect, but my page will not validate to w3c

is there a way to check the clients javascript using server side?

or a better way to handle the no script?
Reply With Quote
  #2  
Old 08-23-2008, 05:05 AM
BKBK
Guest
 
Default Re: Handling no script

The problem must be caused by something else. The http://www.w3.org/TR/html401/interac...#edef-NOSCRIPT complies with the latest W3C specification.


Reply With Quote
  #3  
Old 09-01-2008, 07:11 AM
craiglaw98
Guest
 
Default Re: Handling no script

the noscript tag is fine, its whats inside the tag

what the best way to redirect to another cfm page inside the noscript tag
Reply With Quote
  #4  
Old 09-02-2008, 12:04 AM
BKBK
Guest
 
Default Re: Handling no script

<NOSCRIPT>
<meta HTTP-EQUIV="Refresh" CONTENT="0; URL=http://www.myOtherWebSite.com">
</NOSCRIPT>


Reply With Quote
  #5  
Old 09-05-2008, 12:12 PM
craiglaw98
Guest
 
Default Re: Handling no script

ok thats what i had but i get w3c error

document type does not allow element "META" here.

i have it ion my head tag?
Reply With Quote
  #6  
Old 09-06-2008, 10:59 AM
BKBK
Guest
 
Default Re: Handling no script

I can see the dilemma. It is generally expected that <meta> will be within the
head and <noscript> within the body. So where do you place the combination of
<noscript> and >meta>?

I would place the tags where they produce the result I want, namely, in the
head, where the script tag usually is, and accept the w3c error for what it is.
Your requirement that the noscript tag do a redirect may actually be
self-contradictory. At least, that is my opinion. The noscript tag is designed
to provide alternative content -- for the current page, I would assume
-- when the script tag is not executed.




Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 06:14 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.