Hi Everybody . .:)
I am a new member and I am looking for somebody who can help me...
I'm building a new website (HTML) and customers all over Orange County will be my target.
I'm looking for a code who'll shows all the cities in Orange County, that looks like a link (for each city) - the link will take the customer to the same page, only the city name in the title will look different.

Is there anyone who knows how to do that???! :?:
This is the last peace to complete my Puzzle...
I appreciate all the help!!!
Thanks,
Lavi

Did you mean, a link on every cities?

Could you be more specific on explaining the concept of your issue.

Because, If you are just referring for a link on particular city, then you can simply use anchors to do it: e.g. <a href="someCity.html">Go to someCity</a>

Yes it can be coded but not for free.

Hi Everybody . .
I am a new member and I am looking for somebody who can help me...
I'm building a new website (HTML) and customers all over Orange County will be my target.
I'm looking for a code who'll shows all the cities in Orange County, that looks like a link (for each city) - the link will take the customer to the same page, only the city name in the title will look different.

Is there anyone who knows how to do that???!
This is the last peace to complete my Puzzle...
I appreciate all the help!!!
Thanks,
Lavi

as far as i can understand you need something like this :

<html>

<head>
<script type="text/javascript">

var a;
function changeval()
 {

  a=document.getElementById("d").innerHTML;
  document.getElementById("c").innerHTML=a;	
 }



</script>

</head>

<body>

WELCOME TO <div id="c"> BOMBAY </div>
<a id="lnk" href="#" onclick="changeval();"><div id="d">DELHI</div></a>

</body> 
</html>

I am trying to make it more genric.....

hope this helps...

may be this is what you are excatly looking for :

<html>

<head>
<script type="text/javascript">

var a;
function changeval(obj,val)
 {

 a=document.getElementById(val).innerHTML;
 document.getElementById("c").innerHTML=a;	
 }



</script>

</head>

<body>

<center>WELCOME TO</center> <center><div id="c"> INDIA</div></center>
<a id="lnk" href="#"  ><div id="d" onclick="changeval(this,'d');" >DELHI</div></a>
<a id="lnk" href="#"  ><div id="e" onclick="changeval(this,'e');" >KOLKATTA</div></a>
<a id="lnk" href="#"  ><div id="f" onclick="changeval(this,'f');" >MUMBAI</div></a>
</body> 
</html>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.