split out data
This commit is contained in:
parent
1f07a273f6
commit
eaa46d7385
16
contrib/blotter/script.js
Normal file
16
contrib/blotter/script.js
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
|
||||||
|
$(document).ready(function() {
|
||||||
|
$("#blotter2-toggle").click(function() {
|
||||||
|
$("#blotter2").slideToggle("slow", function() {
|
||||||
|
if($("#blotter2").is(":hidden")) {
|
||||||
|
$.cookie("blotter2-hidden", 'true', {path: '/'});
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$.cookie("blotter2-hidden", 'false', {path: '/'});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
if($.cookie("blotter2-hidden") == 'true') {
|
||||||
|
$("#blotter2").hide();
|
||||||
|
}
|
||||||
|
});
|
2
contrib/blotter/style.css
Normal file
2
contrib/blotter/style.css
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#blotter1 {font-size: 80%; position: relative;}
|
||||||
|
#blotter2 {font-size: 80%;}
|
@ -130,31 +130,9 @@ class BlotterTheme extends Themelet {
|
|||||||
global $config;
|
global $config;
|
||||||
$i_color = $config->get_string("blotter_color","#FF0000");
|
$i_color = $config->get_string("blotter_color","#FF0000");
|
||||||
$position = $config->get_string("blotter_position", "subheading");
|
$position = $config->get_string("blotter_position", "subheading");
|
||||||
$html = "<style type='text/css'>
|
|
||||||
#blotter1 {font-size: 80%; position: relative;}
|
|
||||||
#blotter2 {font-size: 80%;}
|
|
||||||
</style>";
|
|
||||||
$html .= "<script type='text/javascript'><!--
|
|
||||||
$(document).ready(function() {
|
|
||||||
$(\"#blotter2-toggle\").click(function() {
|
|
||||||
$(\"#blotter2\").slideToggle(\"slow\", function() {
|
|
||||||
if($(\"#blotter2\").is(\":hidden\")) {
|
|
||||||
$.cookie(\"blotter2-hidden\", 'true', {path: '/'});
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
$.cookie(\"blotter2-hidden\", 'false', {path: '/'});
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
if($.cookie(\"blotter2-hidden\") == 'true') {
|
|
||||||
$(\"#blotter2\").hide();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
//--></script>";
|
|
||||||
$entries_list = "";
|
$entries_list = "";
|
||||||
$num_entries = count($entries);
|
$num_entries = count($entries);
|
||||||
for ($i = 0 ; $i < $num_entries ; $i++)
|
for ($i = 0 ; $i < $num_entries ; $i++) {
|
||||||
{
|
|
||||||
/**
|
/**
|
||||||
* Blotter entries
|
* Blotter entries
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user