/[webpac2]/Webpacus/root/editor/.editor.js.swp
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /Webpacus/root/editor/.editor.js.swp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 134 - (show annotations)
Thu Nov 24 16:30:16 2005 UTC (18 years, 5 months ago) by dpavlin
File MIME type: application/octet-stream
File size: 12288 byte(s)
 r9104@llin:  dpavlin | 2005-11-24 17:32:00 +0100
 first try at re-implementing editor in Prototype and script.aculo.us and
 mir.aculo.us, it's not as easy as it seems.

1 b0VIM 6.4C`dpavlinllin/rest/data/Webpacus/root/editor/editor.js3210#"! Utpadl?643pfHE+ | z y d T K : 7 ( & % o J (    l E & % 
2
3
4 t
5 r
6 q
7 a
8 S
9 J
10 H
11 G
12 "
13 !
14 
15 { h G . ) ka^]1mLK
16 } switch_template(template_filename); // load template editor and record load_css(); // load css editor Position.clone('div_template', 'div_css');// Element.show('div_template');// Element.hide('div_css');function init_page() {}; } ) ; } loading.css = 0; onLoaded: function(request) { }, loading.css = 1; onLoading: function(request) { asynchronous: 1, new Ajax.Updater( 'div_css', url+'css', { } return; Logger.info('loading of css '+name+' skipped, load in progress'); if (loading.css) {function load_css(css_file) {} } ) ; } loading.template = 0; onLoaded: function(request) { }, loading.template = 1; onLoading: function(request) { asynchronous: 1, new Ajax.Updater( 'div_template', url+'template', { } return; Logger.info('loading of template '+name+' skipped, load in progress'); if (loading.template) {function load_template( template ) {} css: 0, template: 0,var loading = {} iwfRequest( url+'/template_list/?template='+template_filename, 'div_template_list' ); Logger.debug('refresh template list'); load_rec(rec); Logger.debug('refresh record'); load_template(template_name); Logger.debug('load template editor'); new Effect.Opacity('div_template', { from: 1.0, to: 0.7, duration: 0.5 }); Logger.info('switch_template to '+template_name);function switch_template(template_name) {} return false; Effect.Appear('div_css', 30, 1); Effect.Fade('div_template', 30, 1);function edit_css() {} return false; Effect.Appear('div_template'); Effect.Fade('div_css');function edit_template() {} return false; load_rec(rec);function reload_rec() {} return false; } load_rec(rec); rec--; if (rec > 1) {function dec_rec() {} return false; load_rec(rec); rec++;function inc_rec() {} iwfOpacity('div_record', 30); iwfRequest( url+'/xml/?template='+template_filename+'&rec='+nr, 'div_record' ); update_status(nr+'...'); } Element.show('a_left_arr'); } else { Element.hide('a_left_arr'); if (nr == 1) { Logger.debug('load_rec '+nr);function load_rec(nr) {} if (el) el.innerHTML = text; var el = $('div_record_nr');function update_status(text) {} return; Logger.info('iwfRequest('+url+','+div+')');function iwfRequest( url, div ) {var css_rnd = 0;var template_filename = null;var url = null;var rec = null;*/ Webpacus template editor/*

Properties

Name Value
svn:mime-type application/octet-stream

  ViewVC Help
Powered by ViewVC 1.1.26