HTML Help
HTML Help Central . com

» Online Users: 83

1 members and 82 guests
Most users ever online was 695, 02-16-2011 at 07:01 AM.

» Site Navigation

 > FAQ

» Domains For Sale

Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2012
    Posts
    3

    Javascript functions

    Hi everyone, good to be on board. I have joined this group as I am in the process of writing functions and come across a problem which I would like to air.

    As can be seen this code will open a request box for the user's name BUT when the user browses back to the index page the request is made a second time which will certainly drive the user mad. Anyone any ideas how to complete the code to state that if the user is already logged into the site that he NOT be asked to log in again. All suggestions welcome and acknowledge, Macca1


    My piece of code which I am writing on the Mac is:

    <font face="Arial" size="4" color="#FF0000">
    <script>
    var whatName=prompt("Please type in your name:","");

    function yourName(myName){
    if ((whatName != "")&&(whatName !=null)){
    document.writeln(" Hello "+whatName+" thank you for contacting Photography")
    }else{

    document.writeln("Hi there you are welcome to Photography!")
    }
    }

    yourName(whatName);

    </script>
    </font>

  2. #2
    Join Date
    Dec 2012
    Posts
    64
    if You want to know more visit here: (css-html.net/javascript/)

  3. #3
    Join Date
    Dec 2012
    Posts
    3
    Yes I agree, but thought someone might have come up with this problem. I subscribe to Linda.com but this particular issue hasn't been covered. thanks anyway.

  4. #4
    Join Date
    Dec 2012
    Posts
    3
    Thanks Jaysh but that site css-html.net/javascript is empty there are no Javascript helps or snippets. It is just a framework which holds nothing if that is possible. I advise anyone not to waste time checking it out. Incidentally o members so far can complete the code I put up. Well I will keep on trying. happy Christmas everyone, keep up the good work.

  5. #5
    This is the great introduction..
    You are tell the member using JavaScript..
    Could you tell me using Objective-C?

Similar Threads

  1. javascript serialize / unserialize functions
    By original_handle in forum Javascript / AJAX / VBScript
    Replies: 2
    Last Post: 04-21-2008, 04:19 AM
  2. string functions
    By savemyself in forum Javascript / AJAX / VBScript
    Replies: 1
    Last Post: 06-18-2004, 01:45 PM
  3. two functions in the body tag
    By goose in forum Javascript / AJAX / VBScript
    Replies: 3
    Last Post: 04-01-2004, 06:58 PM
  4. functions
    By jpwwalsh in forum Javascript / AJAX / VBScript
    Replies: 1
    Last Post: 01-29-2004, 09:38 AM
  5. Sharing variables between functions.
    By Greatgraddage in forum Javascript / AJAX / VBScript
    Replies: 3
    Last Post: 07-17-2001, 03:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBadvanced CMPS v4.1.1