Konuyu Oyla:
  • Toplam: 0 Oy - Ortalama: 0
  • 1
  • 2
  • 3
  • 4
  • 5
Yazılara Açıklama Ekle
#1
1pg4v.png

Kod:
<script type="text/javascript">
/* This script and many more are available free online at
The JavaScript Source!! http://javascript.internet.com
Created by: Fang | http://www.webdeveloper.com/forum/showpost.php?p=820426&postcount=2 */
function showHide(parent) {
var aDD=parent.getElementsByTagName('dd');
for(var dd=0; dd<aDD.length; dd++) {
aDD[dd].style.display=(aDD[dd].style.display=='none')? 'block' : 'none';
}
}

// Multiple onload function created by: Simon Willison
// http://simonwillison.net/2004/May/26/addLoadEvent/
function addLoadEvent(func) {
var oldonload = window.onload;
if (typeof window.onload != 'function') {
window.onload = func;
} else {
window.onload = function() {
if (oldonload) {
oldonload();
}
func();
}
}
}

addLoadEvent(function() {
var aDT=document.getElementsByTagName('dt');
for(var i=0; i<aDT.length; i++) {
aDT[i].onmouseover=aDT[i].onmouseout=Function ('showHide(this.parentNode)');
showHide(aDT[i].parentNode);
}
});
</script>

<style>
dt {
font-weight:bold;
}
</style>


<div style="width: 50%; margin-left: 5%;">
<dl>
<dt><a href="http://www.w3.org/">The World Wide Web Consortium</a></dt>
<dd>Develops interoperable technologies (<em>specifications</em>, <em>guidelines</em>, <em>software</em>, and <em>tools</em>) to lead the Web to its full potential.</dd>
</dl>
<dl>
<dt><a href="http://en.wikipedia.org/wiki/Unobtrusive_JavaScript">Unobtrusive JavaScript</a></dt>
<dd>The separation of JavaScript functionality (the "behavior layer") from a Web page's structure/content and presentation layers</dd>
</dl>
<dl>
<dt>Unrelated stuff (no link)</dt>
<dd>Ma quande lingues coalesce, li grammatica del resultant lingue es plu simplic e regulari quam ti del coalescent lingues. Li nov lingua franca va esser plu simplic e regulari quam li existent Europan lingues. It va esser tam simplic quam Occidental.</dd>
</dl>
</div>
Ara
Cevapla
#2
Teşekkürler Smile
Cevapla
#3
rica ederim Smile
Ara
Cevapla


Hızlı Menü:


Şu anda bu konuyu okuyanlar: 1 Ziyaretçi


10tl.net Destek Forumu -