Debug ShowAll/HideAll JS + FlagAll icons

master
vitalif 2010-03-13 11:20:36 +00:00
parent 41707a59b4
commit 2a517e4b46
4 changed files with 7 additions and 2 deletions

View File

@ -96,6 +96,7 @@ function fof_render_item($item)
onclick='return checkbox(event);'
title='shift-click or double-click to flag all items up to this one'
/>
<img src="image/flagall.gif" class="flagall" onclick='flag_upto("c<?= $item_id ?>")' title='flag all items up to this one' />
</span>
<h1 <?php if($unread) echo "class='unread-item'" ?> >

View File

@ -380,3 +380,5 @@ padding: 2px 5px;
.fof-add-feeds form { margin: 0; }
.fof-add-feeds h1 { border-width: 0 0 2px; border-color: #ddd; border-style: solid; margin: 1em 0 0 0; padding: 0 0.5em; }
.fof-add-feeds p { line-height: 2; margin: 0.5em; }
.flagall { width: 16px; height: 16px; cursor: pointer; }

6
fof.js
View File

@ -604,13 +604,15 @@ function completeDrag(e)
function hide_all()
{
items = document.getElementsByClassName("item", "items");
items.each( function(e) { e.className = "item hidden"; });
for (var i = 0; i < items.length; i++)
items[i].className = "item hidden";
}
function show_all()
{
items = document.getElementsByClassName("item", "items");
items.each( function(e) { e.className = "item shown"; });
for (var i = 0; i < items.length; i++)
items[i].className = "item shown";
}
function hide_body(id)

BIN
image/flagall.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 B