|
|
Line 1: |
Line 1: |
| <html> | | <html> |
| <head> | | <head> |
- | <script type="text/javascript">
| |
- | $(document).ready(function(){
| |
| | | |
- | $(function(){
| |
- | var path = location.pathname.substring(1);
| |
- | var last = path.split("/");
| |
- | if ( last[1] ) {
| |
- | $('#headover ul li a[href*="' + last[1] + '"]').addClass("curlink").css("color","#ea8828");
| |
- | }
| |
- | else {
| |
- | $('#headover ul li a[href$="' + path + '"]').addClass("curlink").css("color","#ea8828");
| |
- | }
| |
- | });
| |
- |
| |
- | $('#menuback').mouseover(function() {
| |
- | $('#headover').stop().animate({height:'150px',top:'0px'},1000);
| |
- | });
| |
- |
| |
- | $('#menu').mouseleave(function() {
| |
- | $('.listhead').not('.curlink').css("color","#ffffff");
| |
- | $('.listmain').not('.curlink').css("color","#dddddd");
| |
- | $('#headover ul').fadeOut(500);
| |
- | $('#headover').stop().animate({height:'50px',top:'100px'},1000);
| |
- | });
| |
- |
| |
- | $('.listhead').mouseover(function(){
| |
- | $('.listhead').not('.curlink').css("color","#ffffff");
| |
- | $(this).css("color","#444444");
| |
- | $('#headover ul').css("display","none");
| |
- | var vActive = $(this).attr("id");
| |
- | $('.'+vActive).stop(true, true).fadeIn(500);
| |
- | });
| |
- |
| |
- | $('.listmain').mouseover(function(){
| |
- | $('.listmain').not('.curlink').css("color","#dddddd");
| |
- | $(this).css("color","#ea8828");
| |
- | });
| |
- |
| |
- | $('#headover').mouseleave(function(){
| |
- | $('.listmain').not('.curlink').css("color","#dddddd");
| |
- | });
| |
- |
| |
- | });
| |
- | </script>
| |
| <style type="text/css"> | | <style type="text/css"> |
| | | |