javascript anchors
Results 1 to 5 of 5

Thread: javascript anchors

  1. #1
    Member
    Join Date
    Jun 2003
    Posts
    86

    javascript anchors

    how do you create anchors in javascript? I just started getting really into javascript and my book doesnt cover anchors in the javascript code. I need conditionals on whether anchors exist or not, and html alone doesn't support this...
    You laugh because im different, i laugh because your all the same.

  2. #2
    Member
    Join Date
    Feb 2004
    Posts
    42
    I don't really get what you mean. All the commands are anchors. Can you explain a little bit more?

    <SCRIPT LANGUAGE="JAVASCRIPT>
    blah blah blah
    </SCRIPT>
    +++++++-+-+-+-+-+ +-+-+-+ +-+-+-++++
    +|p|h|a|s|e| |o|n|e| |r|e|t|a|l|i|a|t|i|o|n|++
    +++++++-+-+-+-+-+ +-+-+-+ +-+-+-+-++

  3. #3
    Member
    Join Date
    Feb 2004
    Posts
    42
    Ohhhhh. uhhh. I may get what you want. Go to this site:
    http://medialab.di.unipi.it/doc/JavaScript/sejava07.htm

    Hope this helps.
    +++++++-+-+-+-+-+ +-+-+-+ +-+-+-++++
    +|p|h|a|s|e| |o|n|e| |r|e|t|a|l|i|a|t|i|o|n|++
    +++++++-+-+-+-+-+ +-+-+-+ +-+-+-+-++

  4. #4
    Member
    Join Date
    Jun 2003
    Posts
    86
    what i am trying to do would be to change a links text or create a new one inside a script. i need conditionals on whether a link is present or not and you can't do that in html alone. The only other way to do this is to reload a new page whenever these conditionals take place, but i don't really want to do that... thanx in advance...
    You laugh because im different, i laugh because your all the same.

  5. #5
    Member
    Join Date
    Jun 2003
    Posts
    86
    I figured it out...
    You laugh because im different, i laugh because your all the same.

Posting Permissions

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