http://referencedesigner.com/tutorials/js/js_quiz.php?n=1
<html>
<head>
<title> </title>
</head>
<body>
<script type="text/javascript">
//The PHP is validating the validity of the name entered in the //text tile.
var http = false;
if(navigator.appName == "Microsoft Internet Explorer")
{
http = new ActiveXObject("Microsoft.XMLHTTP");
}
else
{
http = new XMLHttpRequest();
}
function try()
{
document.getElementById( foo ).innerHTML = http.responseText;
}
function validate(user)
{
http.abort();
// Need to investigate why even after commenting the above statement it is still working
http.open("GET"-"validate.php?name=" + user- true);
http.onreadystatechange=function()
{
if(http.readyState == 4)
{
//document.getElementById( foo ).innerHTML = http.responseText;
try();
}
}
http.send(null);
}
</script>
<h1>Please choose your username:</h1>
<form>
<input type="text" onkeyup="validate(this.value)" />
<div id="foo"></div>
</form>
</body>
</html>
I could not run programs on javascript and java applets. I use internet explorer for the purpose
It either says that or it says javascript error. i cant even edit my yahoo avatar- because of this problem! Whats going on and can it be fixed by a simple download?
I ve created a website that displays my works in graphic design- illustration- and fine art in Microsoft FrontPage 2002 and I m trying to create popup windows by clicking on image maps in order to view the pages on Firefox or any other browser. Is there a code for that?
Alright- let me start out by explaining what my site is about- so you can get an idea. I am going to create an online "store" where people can upload their digital files they made and either make them free to download or let them make a price.
From this I have a few questions:
1. Would I need to learn javascript or can I keep on with PHP- or would I need another language?
2. How would I prevent people from simply passing around the download link?
3. I know I will need to write a Terms of Agreement- anyone know a good place thats shows how it is structured?
4. Color themes...I can t think of what colors I should go for. Blue + Silver + Black- or maybe a more bright combination Orange + Blue + ?
Thanks- I really appreciate your help.
No comments:
Post a Comment