- 浏览: 18911 次
- 性别:
- 来自: 上海
-
最新评论
文章列表
function change(obj){
var divStyle =document.getElementById('id').style.display;
var src=obj.src;
var c=src.lastIndexOf("/")+1;
var s=src.slice(c);
if(divStyle=="block"){
document.getElementById('id').style.display="none";
obj.src=src.replace(s,"隐藏时的图 ...
<html>
<head>
<title>图片切换和自动切换</title>
<style type="text/css">
*{font-size:12px; font-family:Verdana;margin:0;padding:0}
.play img {
border:0px;
}
.play {
width:346px;
height:191px;
overflow:hidden;
margin:100px 0 0 300px;
}
.play_text {
position:absolute;
marg ...
Hibernate 中调用存储过程
public void executeproc() {
execute(new HibernateCallback() {
@SuppressWarnings("deprecation")
public Object doInHibernate(Session session)
throws HibernateException, SQLException {
CallableStatement cs =
session.connection().prepareCall("{ ...