html head script src jquery js type text javascript script script docu

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<html>
<head>
<script src="jquery.js" type="text/javascript"></script>
<script>
$(document).ready(function() {
$('#title div').hide();
function over() {
$("#title div").slideToggle('fast').siblings('div:visible').slideUp('fast')
};
function out() {
$('#title>div').hide()
};
$('#title').hover(over, out)
});
</script>
</head>
<body>
<div class="but" id="vmenu">
<div id="title">
<span>adsfsdf<span>
<div style="position:absolute;z-index:10;">
<a href="asd">accc</a><br/>
</div>
</div>
</div>
</body>