pStack DOM element stack

码农软件 · 软件分类 · 其他jQuery插件 · 2020-01-13 20:27:52

软件介绍

pStack plugin for jQuery.

Allows successive AJAX calls to replace contents of an element, whilst keeping previous contents in a stack.

Previous element contents can then be recalled by pop()ing them back off the stack.

Usage:

<script src="jquery.pagestack.js" type="text/javascript"></script>

<div id="myStack">
<p>this is the DOM chunk which dynamic things will happen to</p>
<p><a target="_blank" rel="nofollow" href="nextView.html" class="stackPush">Next ---</a></p>
</div>

<script type="text/javascript">
$('#myStack').pStack({
  aPush: 'a.stackPush',
  aPop: 'a.stackPop'
});
</script>

nextView.html might look like this (ie, not a complete HTML document):

<p>This is my new DOM contents</p>
<p><a target="_blank" rel="nofollow" href="#" class="stackPop">--- Prev</a></p>

本文地址:https://codercto.com/soft/d/23318.html

WEBMASTER技术手册

WEBMASTER技术手册

斯潘奥尔 / 斯潘奥尔 / 清华大学出版社 / 2004-4 / 63.0

本书的第三版升级到Apache PHP和Java Script 最新的版本上。同是它还包含了关于mod_perl更为详尽的信息以及提高Web 性能的方法。书中的内容涉及到HTML4.01、CSS、XML和XSLT、JavaScript1.5 、HTTP1.1、A pache2.0等等。一起来看看 《WEBMASTER技术手册》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码