home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2008 April
/
PCWorld_2008-04_cd.bin
/
komunikace
/
maxthon
/
mx_2.0.8.1720.exe
/
template
/
ConfigWizard
/
maxConfigWizard.config.js
< prev
next >
Wrap
Text File
|
2007-12-20
|
5KB
|
15 lines
maxConfigWizard.pages=[];
maxConfigWizard.pages[0]={items:[{type:"html",html:"<h3>"+$lang("welcome_title")+"</h3>"},{type:"text",text:$lang("welcome_text").replace(/\\n/g,"\n")}]};
maxConfigWizard.pages[1]={items:[{type:"html",html:"<img src=\"images/st.gif\" style=\"float:right; margin:5px;\"/>"},{type:"html",html:"<h3>"+$lang("skin_title")+"</h3>"},{type:"text",text:$lang("skin_text").replace(/\\n/g,"\n")},{type:"html",html:"<div class=\"item\">"+"<input type=\"radio\" name=\"skin\" id=\"skin_yes\" value=\"1\" onclick=\"maxConfigWizard.setSkin(true);\" /> "+"<label for=\"skin_yes\"><strong>"+$lang("skin_yes")+"</strong></label>"+"</div>"},{type:"html",html:"<div class=\"item\">"+"<input type=\"radio\" name=\"skin\" id=\"skin_no\" value=\"0\" onclick=\"maxConfigWizard.setSkin(false);\" /> "+"<label for=\"skin_no\"><strong>"+$lang("skin_no")+"</strong></label>"+"</div>"},{type:"html",html:"<br/>"+"<p><a href=\"http://addons.maxthon.com\" target=\"_blank\">"+$lang("goto_res_center")+"</a></p>"}]};
maxConfigWizard.pages[2]={items:[{type:"html",html:"<img src=\"images/lo.gif\" style=\"float:right; margin:5px;\"/>"},{type:"html",html:"<h3>"+$lang("layout_title")+"</h3>"},{type:"text",text:$lang("layout_text").replace(/\\n/g,"\n")},{type:"html",html:"<div class=\"item\">"+"<input type=\"radio\" name=\"layout\" id=\"layout_max2\" value=\"0\" onclick=\"maxConfigWizard.setLayout('modern');\" /> "+"<label for=\"layout_max2\"><strong>"+$lang("layout_max2")+"</strong><div class=\"item-desc\">"+$lang("layout_max2_text")+"</div></label>"+"</div>"},{type:"html",html:"<div class=\"item\">"+"<input type=\"radio\" name=\"layout\" id=\"layout_max1\" value=\"1\" onclick=\"maxConfigWizard.setLayout('classic');\" /> "+"<label for=\"layout_max1\"><strong>"+$lang("layout_max1")+"</strong><div class=\"item-desc\">"+$lang("layout_max1_text")+"</div></label>"+"</div>"},{type:"html",html:"<div class=\"item\">"+"<input type=\"radio\" name=\"layout\" id=\"layout_mini\" value=\"2\" onclick=\"maxConfigWizard.setLayout('mini');\" /> "+"<label for=\"layout_mini\"><strong>"+$lang("layout_mini")+"</strong><div class=\"item-desc\">"+$lang("layout_mini_text")+"</div></label>"+"</div>"}]};
maxConfigWizard.pages[3]={init:function(){
maxConfig.setActiveFile("$main");
maxConfig.load();
},items:[{type:"html",html:"<img src=\"images/sdd.gif\" style=\"float:right; margin:5px;\"/>"},{type:"html",html:"<h3>"+$lang("mouse_sdd_title")+"</h3>"},{type:"text",text:$lang("mouse_sdd_text").replace(/\\n/g,"\n")},{type:"checkbox",id:"mou_super_dd",key:"SuperDragDrop",section:"General",defaultValue:"1",html:"<strong>"+$lang("mouse_sdd")+"</strong>",onAfterClick:"maxConfig.save();"},{type:"html",html:"<br style=\"clear: both;\"/>"},{type:"html",html:"<img src=\"images/mg.gif\" style=\"float:right; margin:5px;\"/>"},{type:"html",html:"<h3>"+$lang("mouse_gesture_title")+"</h3>"},{type:"text",text:$lang("mouse_gesture_text").replace(/\\n/g,"\n")},{type:"checkbox",id:"mou_mouse_gesture",key:"MouseGesture",section:"General",defaultValue:"1",html:"<strong>"+$lang("mouse_gesture")+"</strong>",onAfterClick:"maxConfig.save();"},{type:"html",html:"<br style=\"clear: both;\"/>"}]};
maxConfigWizard.pages[4]={init:function(){
maxConfig.setActiveFile("$main");
maxConfig.load();
},items:[{type:"html",html:"<img src=\"images/ah.gif\" style=\"float:right; margin:5px;\"/>"},{type:"html",html:"<h3>"+$lang("adhunter_title")+"</h3>"},{type:"text",text:$lang("adhunter_text").replace(/\\n/g,"\n")},{type:"html",html:"<div class=\"item\">"+"<input type=\"radio\" name=\"adhunter\" id=\"adhunter_level0\" value=\"0\" onclick=\"maxConfigWizard.setAdhunter(0);\" /> "+"<label for=\"adhunter_level0\"><strong>"+$lang("adhunter_level0")+"</strong><div class=\"item-desc\">"+$lang("adhunter_level0_text")+"</div></label>"+"</div>"},{type:"html",html:"<div class=\"item\">"+"<input type=\"radio\" name=\"adhunter\" id=\"adhunter_level1\" value=\"1\" onclick=\"maxConfigWizard.setAdhunter(1);\" /> "+"<label for=\"adhunter_level1\"><strong>"+$lang("adhunter_level1")+"</strong><div class=\"item-desc\">"+$lang("adhunter_level1_text")+"</div></label>"+"</div>"},{type:"html",html:"<div class=\"item\">"+"<input type=\"radio\" name=\"adhunter\" id=\"adhunter_level2\" value=\"2\" onclick=\"maxConfigWizard.setAdhunter(2);\" /> "+"<label for=\"adhunter_level2\"><strong>"+$lang("adhunter_level2")+"</strong><div class=\"item-desc\">"+$lang("adhunter_level2_text")+"</div></label>"+"</div>"},{type:"html",html:"<div class=\"item\">"+"<input type=\"radio\" name=\"adhunter\" id=\"adhunter_level3\" value=\"3\" onclick=\"maxConfigWizard.setAdhunter(3);\" /> "+"<label for=\"adhunter_level3\"><strong>"+$lang("adhunter_level3")+"</strong><div class=\"item-desc\">"+$lang("adhunter_level3_text")+"</div></label>"+"</div>"}]};
maxConfigWizard.pages[5]={items:[{type:"html",html:"<h3>"+$lang("done_title")+"</h3>"},{type:"text",text:$lang("done_text").replace(/\\n/g,"\n")},{type:"html",html:"<p><a href=\"max:config\">"},{type:"text",text:$lang("done_go_options")},{type:"html",html:"</a></p>"}]};