Yo.co.zw

Title

yo - home

Description

Excerpted from the website:

' + itemTokens[0].substring(0, 43) + ; } string = string + ; document.getElementById('dragableBoxContent' + boxIndex).innerHTML = string; showStatusBarMessage(boxIndex,); ajaxObjects[ajaxIndex] = false; } function reloadRSSData(numericId) { var ajaxIndex = ajaxObjects.length; ajaxObjects[ajaxIndex] = new sack(); showStatusBarMessage(numericId,'Loading data...'); //alert (dragableBoxesArray[numericId]['rssUrl']); ajaxObjects[ajaxIndex].requestFile = 'modules/readRSS.php?rssURL=' + escape(dragableBoxesArray[numericId]['rssUrl']) + '&maxRssItems=' + dragableBoxesArray[numericId]['maxRssItems']; // Specifying which file to get ajaxObjects[ajaxIndex].onCompletion = function(){ showRSSData(ajaxIndex,numericId); }; // Specify function that will be executed after file has been found ajaxObjects[ajaxIndex].runAJAX(); // Execute AJAX function } function createARSSBox(url,columnIndex,heightOfBox,maxRssItems,minutesBeforeReload,uniqueIdentifier,state) { if(!heightOfBox)heightOfBox = '0'; if(!minutesBeforeReload)minutesBeforeReload = '0'; var tmpIndex = createABox(columnIndex,heightOfBox,true); if(useCookiesToRememberRSSSources) { if(!cookieRSSSources[url]){ cookieRSSSources[url] = cookieCounter; Set_Cookie(nameOfCookie + cookieCounter,url + '#;#' + columnIndex + '#;#' + maxRssItems + '#;#' + heightOfBox + '#;#' + minutesBeforeReload + '#;#' + uniqueIdentifier + '#;#' + state ,60000); cookieCounter++; } } dragableBoxesArray[tmpIndex]['rssUrl'] = url; dragableBoxesArray[tmpIndex]['maxRssItems'] = maxRssItems?maxRssItems:100; dragableBoxesArray[tmpIndex]['minutesBeforeReload'] = minutesBeforeReload; dragableBoxesArray[tmpIndex]['heightOfBox'] = heightOfBox; dragableBoxesArray[tmpIndex]['uniqueIdentifier'] = uniqueIdentifier; dragableBoxesArray[tmpIndex]['state'] = state; if(state==0){ showHideBoxContent(false,document.getElementById('dragableBoxExpand' + tmpIndex)); } staticObjectArray[uniqueIdentifier] = tmpIndex; var tmpInterval = false; if(minutesBeforeReload && minutesBeforeReload>0){ var tmpInterval = setInterval("reloadRSSData(" + tmpIndex + ")",(minutesBeforeReload*1000*60)); } dragableBoxesArray[tmpIndex]['intervalObj'] = tmpInterval; //addRSSEditContent(document.getElementById('dragableBoxHeader' + tmpIndex)) if(!document.getElementById('dragableBoxContent' + tmpIndex).innerHTML)document.getElementById('dragableBoxContent' + tmpIndex).innerHTML = 'loading RSS data'; if(url.length>0 && url!='undefined'){ var ajaxIndex = ajaxObjects.length; ajaxObjects[ajaxIndex] = new sack(); if(!maxRssItems)maxRssItems = 100; ajaxObjects[ajaxIndex].requestFile = 'modules/readRSS.php?rssURL=' + escape(url) + '&maxRssItems=' + maxRssItems; // Specifying which file to get ajaxObjects[ajaxIndex].onCompletion = function(){ showRSSData(ajaxIndex,tmpIndex); }; // Specify function that will be executed after file has been found ajaxObjects[ajaxIndex].runAJAX(); // Execute AJAX function }else{ hideHeaderOptionsForStaticBoxes(tmpIndex); } } function createHelpObjects() { /* Creating rectangle div */ rectangleDiv = document.createElement('DIV'); rectangleDiv.id='rectangleDiv'; rectangleDiv.style.display='none'; document.body.appendChild(rectangleDiv); } function cancelSelectionEvent(e) { if(document.all)e = event; if (e.target) source = e.target; else if (e.srcElement) source = e.srcElement; if (source.nodeType == 3) // defeat Safari bug source = source.parentNode; if(source.tagName.toLowerCase()=='input')return true; if(dragDropCounter>=0)return false; else return true; } function cancelEvent() { return false; } function initEvents() { document.body.onmousemove = moveDragableElement; document.body.onmouseup = stop_dragDropElement; document.body.onselectstart = cancelSelectionEvent; document.body.ondragstart = cancelEvent; documentHeight = document.documentElement.clientHeight; } function createFeed(formObj) { var url = formObj.rssUrl.value; var items = formObj.items.value; var height = formObj.height.value; var reloadInterval = formObj.reloadInterval.value; if(isNaN(height) || height/11 && !tmpArray[index]){ tmpArray[index] = true; createARSSBox(items[0],items[1],items[3],items[2],items[4],items[5],items[6]); cookieRSSSources[items[0]]=cookieCounter; }else{ cookieCounter++; } var cookieValue = Get_Cookie(nameOfCookie + cookieCounter); } } /* Clear cookies */ function clearCookiesForDragableBoxes() { var cookieValue = Get_Cookie(nameOfCookie); while(cookieValue && cookieValue!=){ Set_Cookie(nameOfCookie + cookieCounter,,-500); cookieCounter++; var cookieValue = Get_Cookie(nameOfCookie + cookieCounter); } } /* Delete all boxes */ function deleteAllDragableBoxes() { var divs = document.getElementsByTagName('DIV'); for(var no=0;no
read more

Languages

English

Logos

File:Logo-yo-co-zw.gif

Additional Information

Related Domains

External Links





Retrieved from "http://aboutus.com/index.php?title=Yo.co.zw&oldid=28685384"