diff options
Diffstat (limited to 'tests/visual/position/position_flip.html')
-rw-r--r-- | tests/visual/position/position_flip.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/visual/position/position_flip.html b/tests/visual/position/position_flip.html index 29ad32f96..66f0b243f 100644 --- a/tests/visual/position/position_flip.html +++ b/tests/visual/position/position_flip.html @@ -16,8 +16,8 @@ $("ul").insertAfter(inputs); inputs.each(function(index) { $(this).position({ - my: this.id.replace(/-/, " "), - at: this.id.replace(/-/, " "), + my: $(this).data("position").replace(/-/, " "), + at: $(this).data("position").replace(/-/, " "), of: "#container"+index, collision: "none" }); @@ -52,15 +52,15 @@ <div id="container7" class="container" style="height:100px; margin-bottom: 500px;"></div> <div id="container8" class="container" style="height:100px; margin-bottom: 500px;"></div> -<input id="left-top" /> -<input id="center-top" /> -<input id="right-top" /> -<input id="left-center" /> -<input id="center-center" /> -<input id="right-center" /> -<input id="left-bottom" /> -<input id="center-center" /> -<input id="right-bottom" /> +<input data-position="left-top" /> +<input data-position="center-top" /> +<input data-position="right-top" /> +<input data-position="left-center" /> +<input data-position="center-center" /> +<input data-position="right-center" /> +<input data-position="left-bottom" /> +<input data-position="center-center" /> +<input data-position="right-bottom" /> <ul> <li><a href="#">Java</a></li> |