added hover states to static pages.

This commit is contained in:
Scott Jehl 2008-12-09 18:25:09 +00:00
parent d270bbff81
commit dfc6effcd8
9 changed files with 34 additions and 18 deletions

View File

@ -2,7 +2,9 @@
<html>
<head>
<title>jQuery UI Accordion Static Markup Test Page</title>
<link rel="stylesheet" href="../../themes/base/ui.all.css" type="text/css">
<link rel="stylesheet" href="../../themes/base/ui.all.css" type="text/css" />
<script type="text/javascript" src="../../jquery-1.2.6.js"></script>
<script type="text/javascript" src="static_helpers.js"></script>
</head>
<body style="font-size: 62.5%;">

View File

@ -3,7 +3,9 @@
<head>
<title>jQuery UI Static Markup Test Page</title>
<script type="text/javascript" src="../../jquery-1.2.6.js"></script>
<link rel="stylesheet" href="../../themes/base/ui.all.css" type="text/css">
<link rel="stylesheet" href="../../themes/base/ui.all.css" type="text/css" />
<script type="text/javascript" src="../../jquery-1.2.6.js"></script>
<script type="text/javascript" src="static_helpers.js"></script>
<style type="text/css">
dd.plugin { margin-top: 0.3em; margin-bottom: 1em; }
</style>

View File

@ -2,7 +2,9 @@
<html>
<head>
<title>jQuery UI Datepicker Static Markup Test Page</title>
<link rel="stylesheet" href="../../themes/base/ui.all.css" type="text/css">
<link rel="stylesheet" href="../../themes/base/ui.all.css" type="text/css" />
<script type="text/javascript" src="../../jquery-1.2.6.js"></script>
<script type="text/javascript" src="static_helpers.js"></script>
<style type="text/css">
.ui-datepicker {margin: 2em 0;}
</style>

View File

@ -2,7 +2,9 @@
<html>
<head>
<title>jQuery UI Dialog Static Markup Test Page</title>
<link rel="stylesheet" href="../../themes/base/ui.all.css" type="text/css">
<link rel="stylesheet" href="../../themes/base/ui.all.css" type="text/css" />
<script type="text/javascript" src="../../jquery-1.2.6.js"></script>
<script type="text/javascript" src="static_helpers.js"></script>
</head>
<body style="font-size: 62.5%;">

View File

@ -3,9 +3,9 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Themeroller CSS Framework Demo</title>
<script src="http://ui.jquery.com/js/jquery.js"></script>
<script src="http://www.filamentgroup.com/examples/preloadImages/scripts/preloadCssImages.jQuery_v5.js"></script>
<link rel="stylesheet" href="http://jquery-ui.googlecode.com/svn/trunk/themes/base/ui.core.css" type="text/css" media="screen" />
<link rel="stylesheet" href="../../themes/base/ui.all.css" type="text/css" />
<script type="text/javascript" src="../../jquery-1.2.6.js"></script>
<script type="text/javascript" src="static_helpers.js"></script>
<style type="text/css">
body {font-size: 62.5%; margin: 20px; font-family: Verdana, sans-serif; color: #444;}
h1 {font-size: 1.5em; margin: 1em 0;}
@ -18,17 +18,9 @@
form div.ui-state-error-text {background: none; border: 0;}
</style>
<script type="text/javascript">
$(function(){
$.preloadCssImages();
});
</script>
</head>
<body>
<h1>ThemeRoller CSS Framework Demo</h1>

View File

@ -2,7 +2,9 @@
<html>
<head>
<title>jQuery UI Progressbar Static Markup Test Page</title>
<link rel="stylesheet" href="../../themes/base/ui.all.css" type="text/css">
<link rel="stylesheet" href="../../themes/base/ui.all.css" type="text/css" />
<script type="text/javascript" src="../../jquery-1.2.6.js"></script>
<script type="text/javascript" src="static_helpers.js"></script>
</head>
<body style="font-size: 62.5%;">

View File

@ -2,7 +2,12 @@
<html>
<head>
<title>jQuery UI Slider Static Markup Test Page</title>
<link rel="stylesheet" href="../../themes/base/ui.all.css" type="text/css">
<link rel="stylesheet" href="../../themes/base/ui.all.css" type="text/css"/>
<script type="text/javascript" src="../../jquery-1.2.6.js"></script>
<script type="text/javascript" src="static_helpers.js"></script>
<style type="text/css">
.ui-slider {margin: 2em 0;}
</style>
</head>
<body style="font-size: 62.5%;">

View File

@ -0,0 +1,7 @@
$(function(){
//add hover states on the static widgets
$('.ui-state-default:not(.ui-state-disabled, .ui-slider-range, .ui-progressbar-value), a.ui-datepicker-next, a.ui-datepicker-prev, .ui-dialog-titlebar-close').hover(
function(){ $(this).addClass('ui-state-hover'); },
function(){ $(this).removeClass('ui-state-hover'); }
);
});

View File

@ -2,7 +2,9 @@
<html>
<head>
<title>jQuery UI Tabs Static Markup Test Page</title>
<link rel="stylesheet" href="../../themes/base/ui.all.css" type="text/css">
<link rel="stylesheet" href="../../themes/base/ui.all.css" type="text/css" />
<script type="text/javascript" src="../../jquery-1.2.6.js"></script>
<script type="text/javascript" src="static_helpers.js"></script>
</head>
<body style="font-size: 62.5%;">