`
菊花一斤
  • 浏览: 19205 次
  • 性别: Icon_minigender_1
  • 来自: 北京
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论
文章列表
javascript实现页面跳转效果的实现代码实例 本文章提供几种关于页面跳转的方法介绍与应用代码,有需要的朋友可以参考一下。 <a href="css:history.go(-1)">返回上一步</a> <br/> <a href="<%=Request.ServerVariables("HTTP_REFERER")%>">返回上一步</a><br/> 第一种:     <script language="javascript&q ...
java应用substring()函数删除指定字符串方法 public class main {   /**    * case insensitive removal of a substring if it is at the end of a source string,    * otherwise returns the source string.    *    * a <code>null</code> source string will return <code>null</code>.    * an empty (&quo ...
html     <html>         <head>             <title>uploading files</title>         </head>              <body>             <form action="basic.jsp教程" method="post">                 <input type="file" name="filer"> ...
mysql实现联合查询视图的方法实例 mysql> mysql> create table employee(     ->     id            int,     ->     first_name    varchar(15),     ->     last_name     varchar(15),     ->     start_date    date,     ->     end_date      date,     ->     salary        float(8,2),     ->     c ...
system.data; using system.drawing; using system.text; using system.windows.forms; using microsoft.office.interop.excel; using system.data.sqlclient; using system.data.oledb; using system.reflection; namespace excelprj {     /// <summary>     /// excel 系统中的主文件excel.exe 本身就是 com 组件,通过在.net 项目中引用e ...
oracle中exists与in的使用方法 用not exists 代替not in     select * from tsp_product p where not exists(select '' from tsp_orderitem i where p.id=i.product_id)     select * from tsp_product p where id not in(select product_id from tsp_orderitem i where p.id=i.product_id)     用exists 代替in     select * from tsp_ ...
JavaScript制作二级导航菜单的脚本代码 相信对于二级导航菜单大部分朋友都不会陌生,因为大部分网站都有用到。但是二级导航菜单是如何实现的,我想大部分朋友还和zero一样一头雾水。不过没关系通过下面的实例,你和我都能解决这个问题。      2.1、在网页中适当的位置添加一个一级菜单,本例中的一级导航菜单是由一系列空的超级链接组成,这些空的超级链接执行的操作是调用自定义的javascript函数lmenu()显示对应的二级菜单,在调用时需要传递一个标记,即主菜单项的参数。      2.2、在网页中显示二级菜单的指定位置添加一个名为submenu的div层。      2.3、编写自定义的 ...
1. 通过本文demo演示,可以很明显的看到原生js的window.onload=function(){…}与jquery 的$(document).ready(function(){…});的区别,这也是我为什么不用样式定义初始状态下隐藏第二三个显示区的原因; 2. 本文只是选项卡一个原型实现,若要用于同一页面多个选项卡,变量已集中到函数头部,可自行封装成函数; 3. 请不要问如何实现更酷很炫的效果,请自已思考添加效果; 4. 不希望大家用这个效果时只是机械的复制粘贴,思考加实践,然后消化成自己的     <script src="http://ajax.googleapis ...
提示不难做,那个三角号样式很难调兼容,死了好多脑细胞预览主窗口提示错位,保存本地测比较好。 兼容性已经测过:IE6\IE7\IE8\FF3\CHROME10 代码如下: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> < ...
jQuery实现可自动切换的幻灯片效果插件代码 1. 用户快速划过按钮时不触发鼠标事件; 2. 鼠标划入当前图片按钮时不闪烁; 3. 简化并优化代码. 使用方法就不详述了, 请参见源码及相关注释 $.fn.ifadeslide = function(iset){ /*   * iset可选参数说明:   * iset.field==>幻灯区域内的图片集   * iset.ico==>按钮钩子   * iset.high==>按钮高亮样式   * iset.interval==>图片切换时间   * iset.leavetime==>不触发鼠标划入事件的最大时间值 ...
<select id="user_shen" name="user_shen" tabindex="10" onchange="changeprovince();" 韶关','深圳','阳江','云浮','湛江','肇庆','中山','珠海');     gc1['广西']=new array('桂林','百色','北海','崇左','防城港','贵港','河池','贺州','来宾','柳州','南宁','钦州','梧州','玉林');     gc1['贵州']=new array('贵阳','安顺','毕节 ...
php教程 正则指定区别内容 */     $str ="{dede:link text='IT泡泡堂'} http://www.3ppt.com/5j/game/2011/03/04/hs60v3.sisx {/dede:link}     ";     $link = array_filter(explode('{/dede:link}',$str ),"filter");     $len = count( $link );     for( $i=0;$i< $len-1;$i++ )     {      $tpattern=" ...
一般存在这样两个解决方案: 1.   在web.config里面增加     <globalization   fileencoding= "utf-8 "   requestencoding= "utf-8 "   responseencoding= "utf-8 "   culture= "zh-cn "/> 2.   在后台代码里面对乱码进行decoder操作; 上面两种都不是好的方案,第一个可能会导致其他的页面出现问题,   第二个虽然存到数据库教程中的是正确的,但是,用户看到的仍然是 ...
JavaScript匿名函数调用方法 方式1,调用函数,得到返回值。强制运算符使函数调用执行 view sourceprint?1 (function(x,y){     2     alert(x+y);     3     return x+y;     4 }(3,4)); 方式2,调用函数,得到返回值。强制函数直接量执行再返回一个引用,引用再去调用执行     view sourceprint?1 (function(x,y){     2     alert(x+y);     3     return x+y;     4 })(3,4);    ...
Global site tag (gtag.js) - Google Analytics