Sure, we can use them over at WebReference.com. Just contact Nathan Segal at: nsegal@jupitermedia.com. He'll give you the information you need. Thanks!
Printable View
Sure, we can use them over at WebReference.com. Just contact Nathan Segal at: nsegal@jupitermedia.com. He'll give you the information you need. Thanks!
Just wanted to update those of you who offered suggestions (thanks, BTW). You might take a look at some of the recently published scripts over at JavaScript Source. The format you see will eventually be done to the entire site (there's over 2,000 scripts so it will take just a bit). I'll be removing some of the older, outdated scripts and updating (any volunteers?) the others. This new layout allows us to add more complex scripts with important notes i.e., see here.
Not that I'm being picky or anything but ... there's only one use for javascript: in the href attribute.
User PM'd
David,
Actually, your reference is to an opinion, not a standard. In choosing the current format, I did fail to catch that in the code (it's not mine - belongs to Patrick Fitzgerald). However, the javascript: pseudo-URL is commonly used. There are other, preferred methods but, in this case, I don't have a problem. It's only for the tabs. Now, if someone has a replacement for:
I have no problem in changing it, if it works. The full code is hereCode:"javascript:void(null);"
<a href="#" onclick="return false">Quote:
Originally Posted by LeeU
I'm pretty sure that's about the same as "javascript:void(null);", in terms of acceptability. Actually, the JavaScript Core Reference approves the use of "javascript:void(null);".
seeing as I learnt the Math and Aliase techniques from a script you posted on this forum.
The opacity works in this one and 13k less code.
Vic,
I'm not sure what you mean.
the attachments gone missing
try again
Great! Mind if I post it over at JavaScript Source? (With proper credit and a link, of course.)
The help notes are still scrappy and will be improved before I publish but you still have premission to use any of my scripts.
Note it is new, I will advise you of any bugs but appears OK in IE and Moz FF
what is all about? I have missed the genuine start...
i got this script,
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>login</title>
<SCRIPT LANGUAGE="JavaScript">
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
function Login(){
var done=0;
var username=document.login.username.value;
username=username.toLowerCase();
var password=document.login.password.value;
password=password.toLowerCase();
if (username=="admin" && password=="admin69") { window.location="page1.html"; done=1; }
if (username=="member2" && password=="password2") { window.location="page2.html"; done=1; }
if (username=="member3" && password=="password3") { window.location="page3.html"; done=1; }
if (done==0) { alert("Invalid login!"); }
}
// End -->
</SCRIPT>
</head>
<body>
<center>
<form name=login>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<table width=225 border=1 cellpadding=3>
<tr><td colspan=2><center><font size="+2"><b>Members-Only Area!</b></font></center></td></tr>
<tr><td>Username:</td><td><input type=text name=username size="20"></td></tr>
<tr><td>Password:</td><td><input type=text name=password size="20"></td></tr>
<tr><td colspan=2 align=center><input type=button value="Login!" onClick="Login()"></td></tr>
</table>
</form>
</center>
</body>
</html>,
And i was wandering how i get the username used to logon, on to a different page,
please help
Vinnie,
You need to post it in a new thread so as not to steal this one. Thanks!