Hi there,
This is my first time here. I have a beginning understanding of javascript so please bare with me.
I am running a simple navigation script that goes something like this:
Is there an if/then statement (or other) that could say:
If the html code has a Welcome link such as:
then change it to
Thanks and I hope I've clearly asked my question!
This is my first time here. I have a beginning understanding of javascript so please bare with me.
I am running a simple navigation script that goes something like this:
Code:
cText += '<p><a href="http://www.mysite.com/welcome.html">Welcome<br>' cText += '<br>' cText += '</a></p>' cText += '<p><a href="http://www.mysite.com/contact.html">Contact<br>' cText += '<br>' cText += '</a></p>'
If the html code has a Welcome link such as:
Code:
<a href="http://www.mysite.com/welcome2.html">Welcome</a>
Code:
<a href="http://www.mysite.com/welcome.html">Welcome</a>
Comment