rendered paste body <script type="text/javascript" src="/typo3conf/ext/tabbox/pi1/static/dojo-release-1.1.0/dojo/dojo.js" djConfig="isDebug: false, parseOnLoad: false"></script>
<script type="text/javascript">
dojo.require("dijit.layout.ContentPane");
dojo.addOnLoad(
function(){
new dijit.layout.ContentPane({id: "tabbox_main"}, dojo.byId("tabbox_main"));
dijit.byId("tabbox_main").setHref(tabbox_news_url);
dojo.connect(dojo.byId("news"), "onclick", tabboxObj, "news");
dojo.connect(dojo.byId("events"), "onclick", tabboxObj, "events");
dojo.connect(dojo.byId("blog"), "onclick", tabboxObj, "blog");
dojo.connect(dojo.byId("forum"), "onclick", tabboxObj, "forum");
dojo.connect(dojo.byId("tickets"), "onclick", tabboxObj, "tickets");
dojo.style("news", "cursor", "pointer");
dojo.style("events", "cursor", "pointer");
dojo.style("blog", "cursor", "pointer");
dojo.style("forum", "cursor", "pointer");
dojo.style("tickets", "cursor", "pointer");
});
var tabboxObj=new Object();
tabboxObj.setContent=function(location){
var now=new Date();
var timestamp=now.getTime();
dojo.xhrGet({
url: location+"aggregator/"+timestamp,
handleAs: "text",
timeout: 5000,
handle: function(response, ioArgs){
dijit.byId("tabbox_main").setContent(response);
}
});
}
tabboxObj.news=function(){
dijit.byId("tabbox_main").setContent("<center><img src=\"/typo3conf/ext/tabbox/pi1/static/loading.gif\"/></center>");
this.setContent(tabbox_news_url);
}
tabboxObj.events=function(){
dijit.byId("tabbox_main").setContent("<center><img src=\"/typo3conf/ext/tabbox/pi1/static/loading.gif\"/></center>");
this.setContent(tabbox_events_url);
}
tabboxObj.blog=function(){
}
tabboxObj.forum=function(){
dijit.byId("tabbox_main").setContent("<center><img src=\"/typo3conf/ext/tabbox/pi1/static/loading.gif\"/></center>");
this.setContent(tabbox_forum_url);
}
tabboxObj.tickets=function(){
}
</script>