How to get people to enable there JavaScript

Status
Not open for further replies.

jimboone

New member
Nov 24, 2007
205
2
0
48
Let's say i got a javascript that redirect my affiliate links, now if these people have there JavaScript turned off they won't go through the affiliate links.

What can i put on my site for it to not show anything untill they allow JavaScript?
Example youtube, you don't get to see the video until you allow
Code:
ytimg.com
the message you get.
Hello, you either have JavaScript turned off or an old version of Adobe's Flash Player. Get the latest Flash player.
Another Example lavalife.
 


I don't think you need to worry about this. The average user won't disable javascript and won't know how.

But if you need to, you'll have to get creative with the <noscript></noscript> tags. Everything inside them will only be displayed to people with javascript turned off.
 
I don't think you need to worry about this. The average user won't disable javascript and won't know how.

But if you need to, you'll have to get creative with the <noscript></noscript> tags. Everything inside them will only be displayed to people with javascript turned off.

I know the average amount of them have it enabled but for the few that do have it disable, i'd like to cookie them. lol

fast reply buddy! Thanks
 
I know, but when i have a link on my site that says "click here to go to yahoo.com" i want the visitor to see it at the bottom of the status bar that it links to yahoo.com.
not have a long link on the status bar "mysite.com/goto/yahoo.php"
I wouldn't want them to see where its really going. then the javascript would kick in and send them to example yahoo.com/advancesearch
or where ever i want to send them...
 
<a
onMouseOver='window.status="http://www.yahoo.com";
return true;' onMouseOut='window.status="Done"; return true;' href="phpredirect.php">http://yahoo.com</a>

How about that?
 
Status
Not open for further replies.