mirror of
https://github.com/jquery/jquery.git
synced 2026-02-01 01:36:16 -05:00
Tests: Change quotes according to style guidelines
Close gh-2339
This commit is contained in:
committed by
Timmy Willison
parent
c82a6685bb
commit
c577928d45
@@ -18,8 +18,8 @@
|
||||
<script src="../../jquery.js"></script>
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
jQuery(function($) {
|
||||
$('.absolute').click(function() {
|
||||
$('#marker').css( $(this).offset() );
|
||||
$(".absolute").click(function() {
|
||||
$("#marker").css( $(this).offset() );
|
||||
var pos = $(this).position();
|
||||
$(this).css({ top: pos.top, left: pos.left });
|
||||
return false;
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
<script src="../../jquery.js"></script>
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
jQuery(function($) {
|
||||
$('body').click(function() {
|
||||
$('#marker').css( $(this).offset() );
|
||||
$("body").click(function() {
|
||||
$("marker").css( $(this).offset() );
|
||||
return false;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
jQuery(function($) {
|
||||
window.scrollTo(1000,1000);
|
||||
$('.fixed').click(function() {
|
||||
$('#marker').css( $(this).offset() );
|
||||
$(".fixed").click(function() {
|
||||
$("#marker").css( $(this).offset() );
|
||||
return false;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
<script src="../../jquery.js"></script>
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
jQuery(function($) {
|
||||
$('.relative').click(function() {
|
||||
$('#marker').css( $(this).offset() );
|
||||
$(".relative").click(function() {
|
||||
$("#marker").css( $(this).offset() );
|
||||
var pos = $(this).position();
|
||||
$(this).css({ position: 'absolute', top: pos.top, left: pos.left });
|
||||
return false;
|
||||
|
||||
@@ -18,10 +18,10 @@
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
jQuery(function($) {
|
||||
window.scrollTo(1000,1000);
|
||||
$('#scroll-1')[0].scrollLeft = 5;
|
||||
$('#scroll-1')[0].scrollTop = 5;
|
||||
$('.scroll').click(function() {
|
||||
$('#marker').css( $(this).offset() );
|
||||
$("#scroll-1")[0].scrollLeft = 5;
|
||||
$("#scroll-1")[0].scrollTop = 5;
|
||||
$(".scroll").click(function() {
|
||||
$("#marker").css( $(this).offset() );
|
||||
return false;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
<script src="../../jquery.js"></script>
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
jQuery(function($) {
|
||||
$('.static').click(function() {
|
||||
$('#marker').css( $(this).offset() );
|
||||
$(".static").click(function() {
|
||||
$("#marker").css( $(this).offset() );
|
||||
var pos = $(this).position();
|
||||
$(this).css({ position: 'absolute', top: pos.top, left: pos.left });
|
||||
return false;
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
<script src="../../jquery.js"></script>
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
jQuery(function($) {
|
||||
$('table, th, td').click(function() {
|
||||
$('#marker').css( $(this).offset() );
|
||||
$("table, th, td").click(function() {
|
||||
$("#marker").css( $(this).offset() );
|
||||
return false;
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user