How to create tab like start.com has?

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi!

I was wondering how to create tabs in asp.net just like
http://www.start.com/1/ or gmail have?
It loads fast, and I don't see any postbacks. Any idea?
I see a lot of div elements and javacript stuff.
Maybe there is an article about this? (or someone could write one :-) )
 
You need something like this:

<html>
<head>
<script language="JavaScript">
function ChangeIt(){
oSpan = document.getElementById("mySpan");
oSpan.innerHTML = "Hello"
}
</script>
</head>
<body>
<span id="mySpan">This is a test</span>
<br><br>
<span id="clickIt" onclick="ChangeIt()">Click on me</span>
</body>
</html>
 
Back
Top