19
| <![CDATA[<script type="text/javascript">
<!--
// Provide a local fallback if the CDN cannot be reached
if (typeof google == 'undefined') {
document.write(unescape("%3Cscript src='http://ornithologia.cemave.gov.br/lib/pkp/js/lib/jquery/jquery.min.js' type='text/javascript'%3E%3C/script%3E"));
document.write(unescape("%3Cscript src='http://ornithologia.cemave.gov.br/lib/pkp/js/lib/jquery/plugins/jqueryUi.min.js' type='text/javascript'%3E%3C/script%3E"));
} else {
google.load("jquery", "1.4.4");
google.load("jqueryui", "1.8.6");
}
// -->
</script>]]>
|
54
| <![CDATA[<script type="text/javascript">
<!--
$(function(){
fontSize("#sizer", "body", 9, 16, 32, ""); // Initialize the font sizer
});
// -->
</script>]]>
|
62
| <![CDATA[<script type="text/javascript">
<!--
// initialise plugins
$(function(){
$(".tagit").live('click', function() {
$(this).find('input').focus();
});
});
// -->
</script>]]>
|
79
| <![CDATA[<script language="javascript" type="text/javascript">
tinyMCE_GZ.init({
relative_urls : "false",
plugins : "paste,jbimages,fullscreen",
themes : "advanced",
languages : "de,en,eu,it,nl,pt,uk,zh,ca,cs,da,el,es,fa,fr,gl,hr,id,ja,ml,no,pt,ro,ru,sr,sv,tr,vi,zh",
disk_cache : true
});
</script>]]>
|
88
| <![CDATA[<script language="javascript" type="text/javascript">
tinyMCE.init({
entity_encoding : "raw",
plugins : "paste,jbimages,fullscreen",
mode : "exact",
language : "pt",
elements : "mailingAddress,biography",
relative_urls : false,
forced_root_block : false,
paste_auto_cleanup_on_paste : true,
apply_source_formatting : false,
theme : "advanced",
theme_advanced_buttons1 : "cut,copy,paste,|,bold,italic,underline,bullist,numlist,|,link,unlink,help,code,fullscreen,jbimages",
theme_advanced_buttons2 : "",
theme_advanced_buttons3 : ""
});
</script>]]>
|
234
| <![CDATA[<script type="text/javascript">
var PQP_DETAILS = false;
var PQP_HEIGHT = "short";
var PQP_METRICS = false;
addEvent(window, 'load', loadCSS);
function changeTab(tab) {
var pQp = document.getElementById('pQp');
hideAllTabs();
addClassName(pQp, tab, true);
}
function hideAllTabs() {
var pQp = document.getElementById('pQp');
removeClassName(pQp, 'console');
removeClassName(pQp, 'speed');
removeClassName(pQp, 'queries');
removeClassName(pQp, 'memory');
removeClassName(pQp, 'files');
}
function toggleMetrics(){
var container = document.getElementById('pqp-metrics');
if(PQP_METRICS){
addClassName(container, 'hideMetrics', true);
PQP_METRICS = false;
}
else{
removeClassName(container, 'hideMetrics');
PQP_METRICS = true;
}
}
function toggleDetails(){
var container = document.getElementById('pqp-container');
if(PQP_DETAILS){
addClassName(container, 'hideDetails', true);
PQP_DETAILS = false;
}
else{
removeClassName(container, 'hideDetails');
PQP_DETAILS = true;
}
}
function toggleHeight(){
var container = document.getElementById('pqp-container');
if(PQP_HEIGHT == "short"){
addClassName(container, 'tallDetails', true);
PQP_HEIGHT = "tall";
}
else{
removeClassName(container, 'tallDetails');
PQP_HEIGHT = "short";
}
}
function loadCSS() {
var sheet = document.createElement("link");
sheet.setAttribute("rel", "stylesheet");
sheet.setAttribute("type", "text/css");
sheet.setAttribute("href", "http://ornithologia.cemave.gov.br/lib/pkp/lib/pqp/css/pQp.css");
document.getElementsByTagName("head")[0].appendChild(sheet);
setTimeout(function(){document.getElementById("pqp-container").style.display = "block"}, 10);
}
//http://www.bigbold.com/snippets/posts/show/2630
function addClassName(objElement, strClass, blnMayAlreadyExist){
if ( objElement.className ){
var arrList = objElement.className.split(' ');
if ( blnMayAlreadyExist ){
var strClassUpper = strClass.toUpperCase();
for ( var i = 0; i < arrList.length; i++ ){
if ( arrList[i].toUpperCase() == strClassUpper ){
arrList.splice(i, 1);
i--;
}
}
}
arrList[arrList.length] = strClass;
objElement.className = arrList.join(' ');
}
else{
objElement.className = strClass;
}
}
//http://www.bigbold.com/snippets/posts/show/2630
function removeClassName(objElement, strClass){
if ( objElement.className ){
var arrList = objElement.className.split(' ');
var strClassUpper = strClass.toUpperCase();
for ( var i = 0; i < arrList.length; i++ ){
if ( arrList[i].toUpperCase() == strClassUpper ){
arrList.splice(i, 1);
i--;
}
}
objElement.className = arrList.join(' ');
}
}
//http://ejohn.org/projects/flexible-javascript-events/
function addEvent( obj, type, fn ) {
if ( obj.attachEvent ) {
obj["e"+type+fn] = fn;
obj[type+fn] = function() { obj["e"+type+fn]( window.event ) };
obj.attachEvent( "on"+type, obj[type+fn] );
}
else{
obj.addEventListener( type, fn, false );
}
}
</script>]]>
|