我们一般会遇到这种情况,当登录首页后,会有消息提示机制,本例子中讲的就是在首页登陆后在页面的右下角弹出消息提示框
先看效果图:
jsp代码:
<%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>系统登陆后,提示消息</title>
<script type="text/javascript" src="<%=path%>/common/js/jquery-1.4.2.js"></script>
<style type="text/css">
#winpop { width:150px; height:80px; position:absolute; right:0; bottom:0; border:1px solid #999999; margin:0; padding:1px; overflow:hidden; display:none; background:#CED6E