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

计算机算法基础

计算机算法基础

余祥宣、崔国华、邹海明 / 华中科技大学出版社 / 2006-4 / 29.80元

《计算机算法基础》围绕算法设计的基本方法,对计算机领域中许多常用的非数值算法作了精辟的描述,并分析了这些算法所需的时间和空间。《计算机算法基础》可作为高等院校与计算机有关的各专业的教学用书,也可作为从事计算机科学、工程和应用的工作人员的自学教材和参考书。一起来看看 《计算机算法基础》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

随机密码生成器
随机密码生成器

多种字符组合密码

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具