SuperFlyDOM

码农软件 · 软件分类 · 其他jQuery插件 · 2020-01-09 19:57:38

软件介绍

Create DOM elements on the fly and automatically append or prepend them to another DOM object.

Also included are template functions (tplAppend and tplPrepend) that can take a JSON-formatted HTML structure, apply a dataset, and create complex DOM nodes! New template system is much more forgiving and flexible than previous DOM element creation plugins.

Features

  • Add any element with or without all types of properties or children in any order
  • Chainable! Returns last appended/prepended element in jQuery object - but also works on plain DOM elements!
  • Accepts inline HTML as string, innerHTML style
  • Fixes IE special-cases, like input element creation and children of tables
  • Lightweight yet fast! Uses internal jQuery functions for portability while creating DOM nodes and accessing appendChild directly for speed
  • AJAX-friendly - SuperFlyDOM takes real JSON objects, perfect for lightweight AJAX (or jQuery's .getJSON) retrieval

As I could not get dohpaz's code to work with my template (and since dohpaz could not get Oslow's code to work), and neither Michael Geary's code nor Sean's code were jQuery style and chainable, and I wanted a ton of features anyway, while retaining a small code base, I decided to rip apart, clean up (JSLint),and add features to their plugins. My hope is that this version will be easier to understand, more forgiving and flexible, and maintain with future versions of the fantastic framework which is jQuery.

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

iOS游戏编程之从零开始

iOS游戏编程之从零开始

李华明 / 2013-2 / 59.00元

《iOS游戏编程之从零开始:Cocos2d-x与cocos2d引擎游戏开发》是作者继《android游戏编程之从零开始》热销之后编写的又一本、基于cocos2d—x2.x和cocos2d—iphone版本,讲述ios平台游戏开发的新作。《iOS游戏编程之从零开始:Cocos2d-x与cocos2d引擎游戏开发》分为两个部分共11章,内容主要包括cocos2d—x引擎游戏开发的基础,常用的类、方法及......一起来看看 《iOS游戏编程之从零开始》 这本书的介绍吧!

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

在线压缩/解压 HTML 代码

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试