-
February 14th, 2004, 06:26 PM
#1
Member
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.
-
February 14th, 2004, 11:39 PM
#2
Member
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|++
+++++++-+-+-+-+-+ +-+-+-+ +-+-+-+-++
-
February 14th, 2004, 11:42 PM
#3
Member
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|++
+++++++-+-+-+-+-+ +-+-+-+ +-+-+-+-++
-
February 15th, 2004, 01:16 AM
#4
Member
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.
-
February 15th, 2004, 09:03 AM
#5
Member
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
-
Forum Rules
|
|