Jump to content

writing html with tabs(help!)


bigmatt267

Recommended Posts

hey, i am new to html and i have just learnt how to write iframe. i was wondering how to write a html shortcut on my desktop that directly takes me to my favorite homepages, for example, myspace, gmail, w3schools, but in tabular form. i do know how to write it into frames so that they are all in the same window. can anybody kindly teach me how to do this?? thank you in advance

Link to comment
Share on other sites

If you use Firefox, the bookmarks are put in Main Firefox directory > default > profile > bookmarks.html. You could take a look at that code. Other than that, I can't help you. :)

Link to comment
Share on other sites

If you use Firefox, the bookmarks are put in Main Firefox directory > default > profile > bookmarks.html. You could take a look at that code. Other than that, I can't help you. :)
thank you, im just starting to learn all this prgramming(html is as far as i have gotten) too bad you cant explain it in depth, but thats ok. all i know is the basic html language for nowmaybe when i learn the ifs and execute commands, i will be able to do it.
Link to comment
Share on other sites

HTML doesn't have any logic like if statements, it's just for layout. There isn't a way to open things in a new tab specifically, you can open things in a new window and the browser decides how to open that based on its settings.

Link to comment
Share on other sites

HTML doesn't have any logic like if statements, it's just for layout. There isn't a way to open things in a new tab specifically, you can open things in a new window and the browser decides how to open that based on its settings.
yeah thats too bad. it is a good idea tho.thanks anyway guys
Link to comment
Share on other sites

hey, i am new to html and i have just learnt how to write iframe. i was wondering how to write a html shortcut on my desktop that directly takes me to my favorite homepages, for example, myspace, gmail, w3schools, but in tabular form. i do know how to write it into frames so that they are all in the same window. can anybody kindly teach me how to do this?? thank you in advance
Are you talking about a page that has a number of tabs along the top and when you click a tab it opens a specific site in an iframe?
<html><head>	<title>Tabbed Sites</title>	<style type="text/css">		body {			font-family: verdana, sans-serif;		}		#tabs ul {			padding: 0;			margin: 0;		}		#tabs ul li {			display: inline;		}		#tabs ul li a {			display: block;			float: left;			padding: 5px;			background: #dedede;			color: #424242;			font-size: 11px;			font-weight: bold;			margin-right: 3px;			text-decoration: none;		}		#tabs ul li a:hover {			background: #424242;			color: #dedede;		}		#viewer {			width: 640px;			height: 480px;		}	</style></head><body>	<div id="tabs">		<ul>			<li><a href="http://www.myspace.com" target="viewer">My Space</a></li>			<li><a href="http://www.w3schools.com" target="viewer">W3Schools</a></li>			<li><a href="http://www.google.com" target="viewer">Google</a></li>			<li><a href="http://www.yahoo.com" target="viewer">Yahoo!</a></li>		</ul>		<br style="clear:left"/>	</div>		<div>		<iframe id="viewer" name="viewer"></iframe>	</div></body></html>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...