mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
added hover states to static pages.
This commit is contained in:
parent
d270bbff81
commit
dfc6effcd8
@ -2,7 +2,9 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>jQuery UI Accordion Static Markup Test Page</title>
|
<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>
|
</head>
|
||||||
<body style="font-size: 62.5%;">
|
<body style="font-size: 62.5%;">
|
||||||
|
|
||||||
|
@ -3,7 +3,9 @@
|
|||||||
<head>
|
<head>
|
||||||
<title>jQuery UI Static Markup Test Page</title>
|
<title>jQuery UI Static Markup Test Page</title>
|
||||||
<script type="text/javascript" src="../../jquery-1.2.6.js"></script>
|
<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">
|
<style type="text/css">
|
||||||
dd.plugin { margin-top: 0.3em; margin-bottom: 1em; }
|
dd.plugin { margin-top: 0.3em; margin-bottom: 1em; }
|
||||||
</style>
|
</style>
|
||||||
|
@ -2,7 +2,9 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>jQuery UI Datepicker Static Markup Test Page</title>
|
<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">
|
<style type="text/css">
|
||||||
.ui-datepicker {margin: 2em 0;}
|
.ui-datepicker {margin: 2em 0;}
|
||||||
</style>
|
</style>
|
||||||
|
@ -2,7 +2,9 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>jQuery UI Dialog Static Markup Test Page</title>
|
<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>
|
</head>
|
||||||
<body style="font-size: 62.5%;">
|
<body style="font-size: 62.5%;">
|
||||||
|
|
||||||
|
@ -3,9 +3,9 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
||||||
<title>Themeroller CSS Framework Demo</title>
|
<title>Themeroller CSS Framework Demo</title>
|
||||||
<script src="http://ui.jquery.com/js/jquery.js"></script>
|
<link rel="stylesheet" href="../../themes/base/ui.all.css" type="text/css" />
|
||||||
<script src="http://www.filamentgroup.com/examples/preloadImages/scripts/preloadCssImages.jQuery_v5.js"></script>
|
<script type="text/javascript" src="../../jquery-1.2.6.js"></script>
|
||||||
<link rel="stylesheet" href="http://jquery-ui.googlecode.com/svn/trunk/themes/base/ui.core.css" type="text/css" media="screen" />
|
<script type="text/javascript" src="static_helpers.js"></script>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
body {font-size: 62.5%; margin: 20px; font-family: Verdana, sans-serif; color: #444;}
|
body {font-size: 62.5%; margin: 20px; font-family: Verdana, sans-serif; color: #444;}
|
||||||
h1 {font-size: 1.5em; margin: 1em 0;}
|
h1 {font-size: 1.5em; margin: 1em 0;}
|
||||||
@ -18,17 +18,9 @@
|
|||||||
|
|
||||||
form div.ui-state-error-text {background: none; border: 0;}
|
form div.ui-state-error-text {background: none; border: 0;}
|
||||||
</style>
|
</style>
|
||||||
<script type="text/javascript">
|
|
||||||
$(function(){
|
|
||||||
|
|
||||||
|
|
||||||
$.preloadCssImages();
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<h1>ThemeRoller CSS Framework Demo</h1>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -2,7 +2,9 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>jQuery UI Progressbar Static Markup Test Page</title>
|
<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>
|
</head>
|
||||||
<body style="font-size: 62.5%;">
|
<body style="font-size: 62.5%;">
|
||||||
|
|
||||||
|
@ -2,7 +2,12 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>jQuery UI Slider Static Markup Test Page</title>
|
<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>
|
</head>
|
||||||
<body style="font-size: 62.5%;">
|
<body style="font-size: 62.5%;">
|
||||||
|
|
||||||
|
7
tests/static/static_helpers.js
Normal file
7
tests/static/static_helpers.js
Normal 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'); }
|
||||||
|
);
|
||||||
|
});
|
@ -2,7 +2,9 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>jQuery UI Tabs Static Markup Test Page</title>
|
<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>
|
</head>
|
||||||
<body style="font-size: 62.5%;">
|
<body style="font-size: 62.5%;">
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user