You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
99 lines
2.7 KiB
99 lines
2.7 KiB
<script type="text/javascript">
|
|
//<![CDATA[
|
|
$(document).ready(function() {
|
|
|
|
/* Init Sidebar_2 */
|
|
$("#side2").accordion({
|
|
autoHeight: false,
|
|
header: "h3"
|
|
});
|
|
$("#side2").accordion("activate", 1);
|
|
|
|
/* Load TagCloud */
|
|
$.ajax({
|
|
type: "GET",
|
|
url: "/xml/bookmarks/tags/get.xml?top=25&sort=alpha",
|
|
dataType: "xml",
|
|
cache: false,
|
|
success: function(xml) {
|
|
$(xml).find('tag').each(function(){
|
|
var count = $(this).attr('count');
|
|
var tag = $(this).attr('tag');
|
|
var size = ((count/20)+0.3);
|
|
if (size < 1) {size = 1;}
|
|
$('<a style="font-size:'+size+'em"></a>')
|
|
.html(tag+' ')
|
|
.appendTo('#tagcloud')
|
|
.bind('click', function() {
|
|
qtag = $(this).text();
|
|
$("select[@name='resource']").setValue('ymarks');
|
|
$("input[@name='search']").setValue(qtag);
|
|
if (tabid == "#Bookmarks") {
|
|
$tabs.tabs("load", 3);
|
|
} else {
|
|
$tabs.tabs('select',3);
|
|
}
|
|
});
|
|
}); //close each(
|
|
}
|
|
}); //close $.ajax(
|
|
});
|
|
//]]>
|
|
</script>
|
|
|
|
<h3>Search Options</h3> <!-- 0 -->
|
|
<div>
|
|
<form id="yoptions" class="small" method="get" action="" accept-charset="UTF-8">
|
|
<p>
|
|
<label for="itemsPerPage">Items per page: </label>
|
|
<br />
|
|
<select class="selector" name="itemsPerPage">
|
|
<option selected="selected" value="10">10</option>
|
|
<option value="15">15</option>
|
|
<option value="25">25</option>
|
|
<option value="50">50</option>
|
|
</select>
|
|
<br />
|
|
<label for="constraint">Constraint:</label>
|
|
<br />
|
|
<select class="selector" id="constraint" name="constraint">
|
|
<option value=" " selected="selected">all pages</option>
|
|
<option value="AQAAAA" >index pages</option>
|
|
</select>
|
|
<br />
|
|
<label for="urlmaskfilter">URL mask:</label>
|
|
<br />
|
|
<input class="filter" name="urlmaskfilter" value=".*" type="text" size="12" maxlength="80" />
|
|
<img src="img-2/question_blue.png" alt="help" title="help" />
|
|
<br />
|
|
<label for="prefermaskfilter">Prefer mask:</label>
|
|
<br />
|
|
<input class="filter" name="prefermaskfilter" value=" " type="text" size="12" maxlength="80" />
|
|
<img src="img-2/question_blue.png" alt="help" title="help" />
|
|
<br />
|
|
<label for="resource">Language:</label>
|
|
<br />
|
|
<select class="selector" id="language" name="language">
|
|
<option value="any" selected="selected">any language</option>
|
|
<option value="ger" >German</option>
|
|
<option value="eng" >English</option>
|
|
</select>
|
|
</p>
|
|
</form>
|
|
</div>
|
|
|
|
<h3>Bookmark TagCloud</h3> <!-- 1 -->
|
|
<div class="menu">
|
|
<p id="tagcloud"></p>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|