www.webdeveloper.com
Page 2 of 6 FirstFirst 1234 ... LastLast
Results 16 to 30 of 80

Thread: Attn: Expert coders!

  1. #16
    Join Date
    May 2004
    Location
    FL
    Posts
    3,447
    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!
    Lee

    ""Men occasionally stumble over the truth, but most of them pick themselves up and hurry off as if nothing ever happened."" -- Sir Winston Churchill
    Share on Google+

  2. #17
    Join Date
    May 2004
    Location
    FL
    Posts
    3,447
    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.
    Lee

    ""Men occasionally stumble over the truth, but most of them pick themselves up and hurry off as if nothing ever happened."" -- Sir Winston Churchill
    Share on Google+

  3. #18
    Join Date
    Dec 2002
    Location
    Manchester, UK
    Posts
    6,276
    Not that I'm being picky or anything but ... there's only one use for javascript: in the href attribute.
    Every fight is a food fight when you’re a cannibal.
    Share on Google+

  4. #19
    Join Date
    Nov 2006
    Posts
    1

    Smile

    User PM'd
    Share on Google+

  5. #20
    Join Date
    May 2004
    Location
    FL
    Posts
    3,447
    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:
    Code:
    "javascript:void(null);"
    I have no problem in changing it, if it works. The full code is here
    Lee

    ""Men occasionally stumble over the truth, but most of them pick themselves up and hurry off as if nothing ever happened."" -- Sir Winston Churchill
    Share on Google+

  6. #21
    Join Date
    Dec 2003
    Location
    Bucharest, ROMANIA
    Posts
    15,428
    Quote Originally Posted by LeeU
    Now, if someone has a replacement for:
    Code:
    "javascript:void(null);"
    I have no problem in changing it, if it works.
    <a href="#" onclick="return false">
    Share on Google+

  7. #22
    Join Date
    May 2004
    Location
    FL
    Posts
    3,447
    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);".
    Lee

    ""Men occasionally stumble over the truth, but most of them pick themselves up and hurry off as if nothing ever happened."" -- Sir Winston Churchill
    Share on Google+

  8. #23
    Join Date
    Jun 2004
    Location
    Portsmouth UK
    Posts
    2,674

    Rounded Corners

    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.
    Last edited by vwphillips; 02-07-2007 at 06:01 AM.
    Vic

    God loves you and will never love you less.

    http://www.vicsjavascripts.org/Home.htm
    If my post has been useful please donate to http://www.operationsmile.org.uk/
    Share on Google+

  9. #24
    Join Date
    May 2004
    Location
    FL
    Posts
    3,447
    Vic,

    I'm not sure what you mean.
    Lee

    ""Men occasionally stumble over the truth, but most of them pick themselves up and hurry off as if nothing ever happened."" -- Sir Winston Churchill
    Share on Google+

  10. #25
    Join Date
    Jun 2004
    Location
    Portsmouth UK
    Posts
    2,674
    the attachments gone missing
    try again
    Attached Files Attached Files
    Vic

    God loves you and will never love you less.

    http://www.vicsjavascripts.org/Home.htm
    If my post has been useful please donate to http://www.operationsmile.org.uk/
    Share on Google+

  11. #26
    Join Date
    May 2004
    Location
    FL
    Posts
    3,447
    Great! Mind if I post it over at JavaScript Source? (With proper credit and a link, of course.)
    Lee

    ""Men occasionally stumble over the truth, but most of them pick themselves up and hurry off as if nothing ever happened."" -- Sir Winston Churchill
    Share on Google+

  12. #27
    Join Date
    Jun 2004
    Location
    Portsmouth UK
    Posts
    2,674
    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
    Vic

    God loves you and will never love you less.

    http://www.vicsjavascripts.org/Home.htm
    If my post has been useful please donate to http://www.operationsmile.org.uk/
    Share on Google+

  13. #28
    Join Date
    Dec 2003
    Location
    Bucharest, ROMANIA
    Posts
    15,428
    what is all about? I have missed the genuine start...
    Share on Google+

  14. #29
    Join Date
    Feb 2007
    Posts
    66

    Exclamation

    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>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</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
    Share on Google+

  15. #30
    Join Date
    May 2004
    Location
    FL
    Posts
    3,447
    Vinnie,

    You need to post it in a new thread so as not to steal this one. Thanks!
    Lee

    ""Men occasionally stumble over the truth, but most of them pick themselves up and hurry off as if nothing ever happened."" -- Sir Winston Churchill
    Share on Google+

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles