Skip to content

MrTolou/jetEngine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jetEngine

javascript element loader

javascript page update engine

What can it do?

it can update page or element content

it is so good for dinamic web sites

you can use it in sites or weblogs for update page content or pagination

pagination

This plugin used in 'http://puzzelink.ir/flag/all-posts' site

How to use it?

it's realy comfortable.

it has three methods

_(element name (str), element node (int))
.Fade(time (int), percentage (int 1-100), complete (function(fn)))
.Load(
	page url (str), 
	element in page (str), 
	complete (function(fn)), 
	content or Element (true = content of selected element & false = selected element), 
	element node (int), 
	delete content (true = delete & false = add content)
)

Example:

var EU = '.post';
var pageAddr = '?page=2';

_(EU).Fade(.4, 0, function(fn){
	// Fade element to 0 in 0.4 second
	fn.Load(pageAddr, '.content', function(fn){
		// load '.content' from 'pageAddr'
		fn.Fade(.4, 100, function(fn){
		// Fade _(EU) to 0 in 0.4 second
			alert(the content was load)
		})
	})
})

About

javascript page update engine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published