File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html lang ="en ">
3
+ < head >
4
+ < meta charset ="UTF-8 " />
5
+ < title > Position Visual Test: Default</ title >
6
+ < link rel ="stylesheet " href ="../visual.css " type ="text/css " />
7
+ < link rel ="stylesheet " href ="../../../themes/base/jquery.ui.all.css " type ="text/css " title ="ui-theme " />
8
+ < script type ="text/javascript " src ="../../../jquery-1.4.2.js "> </ script >
9
+ < script type ="text/javascript " src ="../../../ui/jquery.ui.core.js "> </ script >
10
+ < script type ="text/javascript " src ="../../../ui/jquery.ui.widget.js "> </ script >
11
+ < script type ="text/javascript " src ="../../../ui/jquery.ui.position.js "> </ script >
12
+ < script type ="text/javascript " src ="http://jqueryui.com/themeroller/themeswitchertool/ "> </ script >
13
+ < script type ="text/javascript ">
14
+ $ ( function ( ) {
15
+ $ ( "#elem" ) . position ( {
16
+ my : "right bottom" ,
17
+ at : "right bottom" ,
18
+ of : window ,
19
+ collision : "fit"
20
+ } ) ;
21
+ } ) ;
22
+ </ script >
23
+ < style >
24
+ # elem {
25
+ position : absolute;
26
+ top : 100px ;
27
+ left : 100px ;
28
+ width : 200px ;
29
+ height : 200px ;
30
+ box-shadow : 10px 10px 5px # 888 ;
31
+ -moz-box-shadow : 10px 10px 5px # 888 ;
32
+ -webkit-box-shadow : 10px 10px 5px # 888 ;
33
+ background-color : # aaa ;
34
+ margin : 15px ;
35
+ }
36
+ </ style >
37
+ </ head >
38
+ < body >
39
+
40
+ < div id ="elem "> </ div >
41
+
42
+ </ body >
43
+ </ html >
You can’t perform that action at this time.
0 commit comments