This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru" lang="ru"> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> | |
<script src="js/jquery.js" type="text/javascript"></script> | |
<script type="text/javascript"> | |
var jsLocation = '/js/'; | |
</script> | |
<script src="js/_Manager.js" type="text/javascript"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Manager = function(el){ | |
this.el = el || $('html').get(0); | |
var thisManager = this; | |
$.event.add(this, 'Manager::ManagerControl', function(e, el) { | |
thisManager.initPart(el); | |
} | |
) | |
}; | |
Manager.prototype = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var TestControl = function(el, index, params) { | |
this.init(el, index, params); | |
} | |
TestControl.prototype = { | |
init : function(el, index, params) { | |
var thisTestControl = this; | |
this.message = params.message; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru" lang="ru"> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> | |
<script src="../manager/js/jquery.js" type="text/javascript"></script> | |
<script src="../manager/js/jquery-template.js" type="text/javascript"></script> | |
<script type="text/javascript"> | |
var jsLocation = 'js/'; | |
</script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function($) { | |
$.fn.applyTemplate = function(template, params, mode) { | |
var method = mode || 'html' | |
var reg = /\$\{([a-zA-Z_\.]*)\}/g; | |
var iter, tname, se, path, par; | |
while((iter = reg.exec(template)) != null) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="js_LightWindow" class="g-hidden"> | |
<div class="b-overlay js_LightWindow-overlay"></div> | |
<div class="h-lightwindow js_LightWindow-container"> | |
<div class="b-lightwindow js_LightWindow-window"> | |
<span class="js_LightWindow-close close"><span>закрыть</span></span> | |
<div class="js_LightWindow-content"></div> | |
</div> | |
</div> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>${title}</h1> | |
Второй контент. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var LightWindow = function(el, index, params) { | |
this.el = el; | |
this.index = index; | |
this.params = params; | |
this.loadTemplate(); | |
} | |
LightWindow.prototype = { | |
init : function(el, index, params) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
— цвет внешних ссылок #f70; | |
— ссылка в новом окне должна | |
после себя содержать utf символ | |
без подчеркивания | |
— ссылки на сервисы google должны быть цвета #666 | |
— http://clck.ru/d/DCx9h3cu142dJ | |
*/ | |
a[href^="http"]:link, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height: 100%; |
OlderNewer