Blog

CUBA - Old Cars

публикувано 8.05.2013 г., 3:35 ч. от Emil S


Facebook page

публикувано 13.04.2013 г., 6:22 ч. от emil m   [ актуализирано 13.04.2013 г., 6:26 ч. ]

Cuba - nice old cars

публикувано 4.04.2010 г., 0:02 ч. от Emil S

Куба, Хавана .. YouTube Video


Aikido

публикувано 17.10.2009 г., 1:22 ч. от Emil S   [ актуализирано 22.05.2012 г., 6:07 ч. от emil m ]


HTML & JScript

публикувано 16.10.2009 г., 4:53 ч. от Emil S   [ актуализирано 18.04.2010 г., 0:55 ч. ]

Tabbed View of web page contents    -  See Demo 

<html>
<head>
<style type="text/css">

/*Eric Meyer's based CSS tab*/

#tablist{
padding: 3px 0;
margin-left: 0;
margin-bottom: 0;
margin-top: 0.1em;
font: bold 12px Verdana;
}

#tablist li{
list-style: none;
display: inline;
margin: 0;
}

#tablist li a{
text-decoration: none;
padding: 3px 0.5em;
margin-left: 3px;
border: 1px solid #778;
border-bottom: none;
background: white;
}

#tablist li a:link, #tablist li a:visited{
color: navy;
}

#tablist li a:hover{
color: #000000;
background: #C1C1FF;
border-color: #227;
}

#tablist li a.current{
background: lightyellow;
}

</style>

<script type="text/javascript">

/***********************************************
* Tabbed Document Viewer script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

var selectedtablink=""
var tcischecked=false

function handlelink(aobject){
selectedtablink=aobject.href
tcischecked=(document.tabcontrol && document.tabcontrol.tabcheck.checked)? true : false
if (document.getElementById && !tcischecked){
var tabobj=document.getElementById("tablist")
var tabobjlinks=tabobj.getElementsByTagName("A")
for (i=0; i<tabobjlinks.length; i++)
tabobjlinks[i].className=""
aobject.className="current"
document.getElementById("tabiframe").src=selectedtablink
return false
}
else
return true
}

function handleview(){
tcischecked=document.tabcontrol.tabcheck.checked
if (document.getElementById && tcischecked){
if (selectedtablink!="")
window.location=selectedtablink
}
}

</script>
</head>

<body>

<ul id="tablist">
<li><a class="current" href="http://www.info-bg.narod.ru" onClick="return handlelink(this)">Info BG</a></li>
<li><a href="http://www.yahoo.com" onClick="return handlelink(this)">Yahoo</a></li>
<li><a href="http://www.msn.com" onClick="return handlelink(this)">MSN</a></li>
<li><a href="http://www.news.com" onClick="return handlelink(this)">News.com</a></li>
<li><a href="http://www.dynamicdrive.com" onClick="return handlelink(this)">Dynamic Drive</a></li>
</ul>
<iframe id="tabiframe" src="http://www.info-bg.narod.ru/old_towns2.htm" width="98%" height="650"></iframe>

<form name="tabcontrol" style="margin-top:0">
<input name="tabcheck" type="checkbox" onClick="handleview()"> Open tab links in browser window instead.
</form>

</body>
</html>

1-5 of 5