PHP Classes

File: engine/modules/core/jumper/js/jumper.js

Recommend this page to a friend!
  Classes of Aldo Tripiciano   Quanta CMS   engine/modules/core/jumper/js/jumper.js   Download  
File: engine/modules/core/jumper/js/jumper.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Quanta CMS
Manage content that works without a database
Author: By
Last change:
Date: 5 years ago
Size: 533 bytes
 

Contents

Class file image Download
var refreshJumpers = function() { $('.jumper').each(function() { $(this).bind('change', function() { var rel = $(this).attr('rel'); var tpl = $(this).attr('tpl'); if (rel == '_self') { top.location.href = '/' + $(this).val(); } else if ($(this).val() != '_empty') { openAjax('/' + $(this).val(), rel, 'refreshJumpers', tpl); } }); }); }; $(document).bind('refresh', function() { refreshJumpers(); });