mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Merged from McMasterReports branch
This commit is contained in:
36
include/limesurvey/admin/scripts/templates.js
Normal file
36
include/limesurvey/admin/scripts/templates.js
Normal file
@@ -0,0 +1,36 @@
|
||||
// $Id: templates.js 6963 2009-05-28 03:49:18Z jcleeland $
|
||||
// based on TTabs from http://interface.eyecon.ro/
|
||||
|
||||
$(document).ready(function(){
|
||||
if($("#changes").length > 0) {
|
||||
editAreaLoader.init({
|
||||
language: adminlanguage,
|
||||
id : "changes" // textarea id
|
||||
,syntax: highlighter // syntax to be uses for highgliting
|
||||
,font_size: 8
|
||||
,allow_toggle: false
|
||||
,word_wrap: true
|
||||
,start_highlight: true // to display with highlight mode on start-up
|
||||
});
|
||||
}
|
||||
$('#iphone').click(function(){
|
||||
$('#previewiframe').css("width", "320px");
|
||||
$('#previewiframe').css("height", "396px");
|
||||
});
|
||||
$('#640').click(function(){
|
||||
$('#previewiframe').css("width", "640px");
|
||||
$('#previewiframe').css("height", "480px");
|
||||
});
|
||||
$('#800').click(function(){
|
||||
$('#previewiframe').css("width", "800px");
|
||||
$('#previewiframe').css("height", "600px");
|
||||
});
|
||||
$('#1024').click(function(){
|
||||
$('#previewiframe').css("width", "1024px");
|
||||
$('#previewiframe').css("height", "768px");
|
||||
});
|
||||
$('#full').click(function(){
|
||||
$('#previewiframe').css("width", "95%");
|
||||
$('#previewiframe').css("height", "768px");
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user