当前位置:
代码迷
>>
Web前端
>> jquery.floatingbox 施用
详细解决方案
jquery.floatingbox 施用
热度:
517
发布时间:
2012-10-24 14:15:58.0
jquery.floatingbox 使用
?jquery.floatingbox 是一款很好的内容漂浮插件,它能够很好的根据自己的需求进行不同位置漂浮显示,官网
? Silverlight游戏开发中的资源的处理和图像算法1
实现代码如下:
1
.
<%
@?page?language
=
"
java
"
?
import
=
"
java.util.*
"
?pageEncoding
=
"
UTF-8
"
%>
???
2
.
<%
???
3
.String?path?
=
?request.getContextPath();???
4
.String?basePath?
=
?request.getScheme()
+
"
://
"
+
request.getServerName()
+
"
:
"
+
request.getServerPort()
+
p: #000000;">???
9
.??
<
head
>
???
10
.????
<
base?href
=
"
<%=basePath%>
"
>
???
11
.???????
12
.????
<
title
>
My?JSP?
'
index.jsp
'
?starting?page
</
title
>
???
13
.????
<
meta?http
-
equiv
=
"
pragma
"
?content
=
"
no-cache
"
>
???
14
.????
<
meta?http
-
equiv
=
"
cache-control
"
?content
=
"
no-cache
"
>
???
15
.????
<
meta?http
-
equiv
=
"
expires
"
?content
=
"
0
"
>
???????
16
.????
<
meta?http
-
equiv
=
"
keywords
"
?content
=
"
keyword1,keyword2,keyword3
"
>
???
17
.????
<
meta?http
-
equiv
=
"
description
"
?content
=
"
This?is?my?page
"
>
???
18
.???????
19
.????
<
style?type
=
"
text/css
"
>
???
20
.???????#FloaintBox
{???
21
.??????????border
-
width:?1px;???
22
.??????????border
-
color:?red;???
23
.??????????background
-
color:?#cccffc;???
24
.???????}
???
25
.????
</
style
>
???
26
.???????
27
.??
<
script?type
=
"
text/javascript
"
?src
=
"
<%=path%>/js/jquery.js
"
></
script
>
???
28
.??
<
script?type
=
"
text/javascript
"
?src
=
"
<%=path%>/js/jquery.floatingbox.js
"
></
script
>
???
29
.??
<
script?type
=
"
text/javascript
"
>
???
30
.??
31
.????????????$(document).ready(???
32
.????????????????function()???
33
.????????????????
{???
34
.????????????????????$(
'
#FloaintBox
'
).floating();???
35
.????????????????}
???
36
.????????????);???
37
.???????????????
38
.????????
</
script
>
???
39
.?????
40
.??
</
head
>
???
41
.?????
42
.??
<
body
>
???
43
.?????
<
div?id
=
"
FloaintBox
"
?
>
???
44
.????????????????
<
h2
>
JQuery?Floating?Box?Plugin
</
h2
>
???
45
.????????????????
<
p
>
???
46
.????????????????
??We?are?specialized?in?
<
br
>
???
49
.????????????????
<
ul
>
???
50
.????????????????????
<
li
>
Website?Design
</
li
>
???
51
.????????????????????
<
li
>
Survey?System?Creation
</
li
>
???
52
.????????????????????
<
li
>
E
-
commerce?Site?Development
</
li
>
???
53
.????????????????
</
ul
>
???
54
.????????????????
<
button?onclick
=
"
javascript:$('#FloaintBox').floatingPosition('left',?'top');
"
>
Top?Left
</
button
><
br
>
???
55
.????????????????
<
button?onclick
=
"
javascript:$('#FloaintBox').floatingPosition('right',?'top');
"
>
Top?Right
</
button
><
br
>
???
56
.????????????????
<
button?onclick
=
"
javascript:$('#FloaintBox').floatingPosition('left',?'bottom');
"
>
Bottom?Left
</
button
><
br
>
???
57
.????????????????
<
button?onclick
=
"
javascript:$('#FloaintBox').floatingPosition('right',?'bottom');
"
>
Bottom?Right
</
button
>
???
58
.????????????????
</
p
>
?????????
59
.????????????
</
div
>
???
60
.??
</
body
>
???
61
.
</
html
>
???
查看全文
相关解决方案
jquery 获取jsp页面的id解决方法
jquery,二维数组取值。解决办法
求jquery.form.js+jquery.validate.min.js 用ajax提交表单的代码范例
jquery 提交form表单不用插件的那种 如何提交
jquery ajax回传没有值,该怎么处理
jquery easyUI datagrid struts2有关问题
jquery form 有关问题
springmvc jquery ajax 提交复杂对象,415异常解决办法
应用Struts2 与 jquery,ajax验证用户注册,不用从数据库获取数据
jquery ajax select解决方法
php jquery check username ajax检察帐号唯一性
jquery ajax返回值的有关问题
jquery 或js 获取指定字符间的字符串,并轮换。回答出来的是大神级~
jquery 的bind里面能不能获得返回值呢? 对小弟我很难的有关问题啊
jquery 的uploadify下传图片怎么让出错信息提示成中文
java+jquery easy ui + json + struts分页例子
jquery easyui分页效率有关问题
jquery 如何获得动态添加后的子元素个数?
jQuery.ajax()请求struts2数据 回到data值了undefined
关于Struts2 jQuery Plugin的 Result,该如何处理
Jquery 点击按钮实现图片翻页,该如何解决
jquery 关于监听checkbox的选中和不选中事件,该如何解决
jQuery append动态添加的页面对象如何处理刷新掉
Jquery+json解决思路
jquery post有关问题
求大神解决偏题 - jquery ajax
jquery $.ajax有关问题
jquery td遍历有关问题
jquery ui taps有关问题,求解!
jquery easyui 如何设置标题列居左,里面的数据列居右