Trinus | Data Management and Business Intelligence Consulting - Home /*Example message arrays for the two demo scrollers*/var pausecontent2=new Array()pausecontent2[0]='Sanjay Kucheria speaks about the H1B Visa situation'pausecontent2[1]='Nishanth Madathil in Informatica User Group Spotlight'pausecontent2[2]='Meet us at Informatica World 2008 Conference'pausecontent2[3]='Register for the Trinus+Informatica morning breakfast event on Data Quality'/************************************************ Pausing up-down scroller- © Dynamic Drive (www.dynamicdrive.com)* This notice MUST stay intact for legal use* Visit http://www.dynamicdrive.com/ for this script and 100s more.***********************************************/function pausescroller(content, divId, divClass, delay){this.content=content //message array contentthis.tickerid=divId //ID of ticker div to display informationthis.delay=delay //Delay between msg change, in miliseconds.this.mouseoverBol=0 //Boolean to indicate whether mouse is currently over scroller (and pause it if it is)this.hiddendivpointer=1 //index of message array for hidden divdocument.write(''+content[0]+''+content[1]+'')var scrollerinstance=thisif (window.addEventListener) //run onload in DOM2 browserswindow.addEventListener("load", function(){scrollerinstance.initialize()}, false)else if (window.attachEvent) //run onload in IE5.5+window.attachEvent("onload", function(){scrollerinstance.initialize()})else if (document.getElementById) //if legacy DOM browsers, just start scroller after 0.5 secsetTimeout(function(){scrollerinstance.initialize()}, 500)}// -------------------------------------------------------------------// initialize()- Initialize scroller method.// -Get div objects, set initial positions, start up down animation// -------------------------------------------------------------------pausescroller.prototype.initialize=function(){this.tickerdiv=document.getElementById(this.tickerid)this.visiblediv=document.getElementById(this.tickerid+"1")this.hiddendiv=document.getElementById(this.tickerid+"2")this.visibledivtop=parseInt(pausescroller.getCSSpadding(this.tickerdiv))//set width of inner DIVs to outer DIV's width minus padding (padding assumed to be top padding x 2)this.visiblediv.style.width=this.hiddendiv.style.width=this.tickerdiv.offsetWidth-(this.visibledivtop*2)+"px"this.getinline(this.visiblediv, this.hiddendiv)this.hiddendiv.style.visibility="visible"var scrollerinstance=thisdocument.getElementById(this.tickerid).onmouseover=function(){scrollerinstance.mouseoverBol=1}document.getElementById(this.tickerid).onmouseout=function(){scrollerinstance.mouseoverBol=0}if (window.attachEvent) //Clean up loose references in IEwindow.attachEvent("onunload", function(){scrollerinstance.tickerdiv.onmouseover=scrollerinstance.tickerdiv.onmouseout=null})setTimeout(function(){scrollerinstance.animateup()}, this.delay)}// -------------------------------------------------------------------// animateup()- Move the two inner divs of the scroller up and in sync// -------------------------------------------------------------------pausescroller.prototype.animateup=function(){var scrollerinstance=thisif (parseInt(this.hiddendiv.style.top)>(this.visibledivtop+5)){this.visiblediv.style.top=parseInt(this.visiblediv.style.top)-5+"px"this.hiddendiv.style.top=parseInt(this.hiddendiv.style.top)-5+"px"setTimeout(function(){scrollerinstance.animateup()}, 50)}else{this.getinline(this.hiddendiv, this.visiblediv)this.swapdivs()setTimeout(function(){scrollerinstance.setmessage()}, this.delay)}}// -------------------------------------------------------------------// swapdivs()- Swap between which is the visible and which is the hidden div// -------------------------------------------------------------------pausescroller.prototype.swapdivs=function(){var tempcontainer=this.visibledivthis.visiblediv=this.hiddendivthis.hiddendiv=tempcontainer}pausescroller.prototype.getinline=function(div1, div2){div1.style.top=this.visibledivtop+"px"div2.style.top=Math.max(div1.parentNode.offsetHeight, div1.offsetHeight)+"px"}// -------------------------------------------------------------------// setmessage()- Populate the hidden div with the next message before it's visible// -------------------------------------------------------------------pausescroller.prototype.setmessage=function(){var scrollerinstance=thisif (this.mouseoverBol==1) //if mouse is currently over scoller, do nothing (pause it)setTimeout(function(){scrollerinstance.setmessage()}, 100)else{var i=this.hiddendivpointervar ceiling=this.content.lengththis.hiddendivpointer=(i+1>ceiling-1)? 0 : i+1this.hiddendiv.innerHTML=this.content[this.hiddendivpointer]this.animateup()}}pausescroller.getCSSpadding=function(tickerobj){ //get CSS padding value, if anyif (tickerobj.currentStyle)return tickerobj.currentStyle["paddingTop"]else if (window.getComputedStyle) //if DOM2return window.getComputedStyle(tickerobj, "").getPropertyValue("padding-top")elsereturn 0} Transmenu powered by JoomlArt.com - Mambo Joomla Professional Templates Club HomeServicesDeliveryCompanyClientsCareerContact if (TransMenu.isSupported()) { TransMenu.updateImgPath('http://www.trinus.com/modules/ja_transmenu/'); var ms = new TransMenuSet(TransMenu.direction.right, 0, 0, TransMenu.reference.bottomLeft); TransMenu.subpad_x = 1; TransMenu.subpad_y = 0; document.getElementById("menu1").onmouseover = function() { ms.hideCurrent(); } var tmenu133 = ms.addMenu(document.getElementById("menu133"));tmenu133.addItem("Data Management", "index.php?option=com_content&task=view&id=58&Itemid=106", 0, 0);var tmenu106 = tmenu133.addMenu(tmenu133.items[0]);tmenu106.addItem("Data Quality", "index.php?option=com_content&task=view&id=59&Itemid=107", 0, 0);tmenu106.addItem("Data Migration", "index.php?option=com_content&task=view&id=60&Itemid=108", 0, 0);tmenu106.addItem("Data Warehousing", "index.php?option=com_content&task=view&id=61&Itemid=109", 0, 0);tmenu133.addItem("Business Intelligence", "index.php?option=com_content&task=view&id=64&Itemid=110", 0, 0);var tmenu110 = tmenu133.addMenu(tmenu133.items[1]);tmenu110.addItem("BI Assessment", "index.php?option=com_content&task=view&id=62&Itemid=111", 0, 0);tmenu110.addItem("BI Migration", "index.php?option=com_content&task=view&id=63&Itemid=112", 0, 0);tmenu110.addItem("BI Performance Management", "index.php?option=com_content&task=view&id=81&Itemid=113", 0, 0);var tmenu77 = ms.addMenu(document.getElementById("menu77"));tmenu77.addItem("Trinus Rapid Implementation Methodology ", "index.php?option=com_content&task=view&id=65&Itemid=88", 0, 0);tmenu77.addItem("Trinus Delivery Model", "index.php?option=com_content&task=view&id=86&Itemid=118", 0, 0);var tmenu75 = ms.addMenu(document.getElementById("menu75"));tmenu75.addItem("Management", "index.php?option=com_content&task=view&id=83&Itemid=116", 0, 0);var tmenu116 = tmenu75.addMenu(tmenu75.items[0]);tmenu116.addItem("Sanjay Kucheria", "index.php?option=com_content&task=view&id=93&Itemid=126", 0, 0);tmenu116.addItem("Sanjeev Sehgal", "index.php?option=com_content&task=view&id=94&Itemid=127", 0, 0);tmenu116.addItem("Kartik Sundram", "index.php?option=com_content&task=view&id=96&Itemid=129", 0, 0);tmenu75.addItem("Advisory Board", "index.php?option=com_content&task=view&id=98&Itemid=130", 0, 0);var tmenu130 = tmenu75.addMenu(tmenu75.items[1]);tmenu130.addItem("James Sutter", "index.php?option=com_content&task=view&id=98&Itemid=131", 0, 0);tmenu130.addItem("Dr. Omar A. El Sawy", "index.php?option=com_content&task=view&id=99&Itemid=132", 0, 0);tmenu75.addItem("News & Events", "index.php?option=com_content&task=view&id=72&Itemid=137", 0, 0);var tmenu137 = tmenu75.addMenu(tmenu75.items[2]);tmenu137.addItem("Press Releases", "index.php?option=com_content&task=view&id=72&Itemid=95", 0, 0);tmenu137.addItem("News Articles", "index.php?option=com_content&task=view&id=103&Itemid=134", 0, 0);tmenu137.addItem("Events", "index.php?option=com_content&task=view&id=104&Itemid=135", 0, 0);tmenu137.addItem("Archive", "index.php?option=com_content&task=view&id=105&Itemid=136", 0, 0);var tmenu78 = ms.addMenu(document.getElementById("menu78"));tmenu78.addItem("Industries", "index.php?option=com_content&task=view&id=76&Itemid=99", 0, 0);tmenu78.addItem("Case Studies", "index.php?option=com_content&task=view&id=77&Itemid=100", 0, 0);tmenu78.addItem("Testimonials", "index.php?option=com_content&task=view&id=78&Itemid=101", 0, 0);var tmenu79 = ms.addMenu(document.getElementById("menu79"));tmenu79.addItem("Current Openings", "index.php?option=com_content&task=view&id=75&Itemid=98", 0, 0);tmenu79.addItem("Trinus Core Values", "index.php?option=com_content&task=view&id=74&Itemid=97", 0, 0); document.getElementById("menu117").onmouseover = function() { ms.hideCurrent(); } TransMenu.renderAll(); } init1=function(){TransMenu.initialize();} if (window.attachEvent) { window.attachEvent("onload", init1); }else{ TransMenu.initialize(); } DATA MANAGEMENT Data Quality Data Migration Data Warehousing BUSINESS INTELLIGENCE BI Strategy and AssessmentBI MigrationBI Performance Management News @ TRINUS new pausescroller(pausecontent2, "pscroller2", "someclass", 2000) ©2008 TRINUS Corporation | Legal | Privacy Policy | Sitemap messageObj = new DHTML_modalMessage(); // We only create one object of this classmessageObj.setShadowOffset(5); // Large shadowfunction displayMessage(url){ messageObj.setSource(url); messageObj.setCssClassMessageBox(false); messageObj.setSize(330,350); messageObj.setShadowDivVisible(true); // Enable shadow for these boxes messageObj.display();}function displayStaticMessage(messageContent,cssClass){ messageObj.setHtmlContent(messageContent); messageObj.setSize(300,150); messageObj.setCssClassMessageBox(cssClass); messageObj.setSource(false); // no html source since we want to use a static message here. messageObj.setShadowDivVisible(false); // Disable shadow for these boxes messageObj.display(); }function closeMessage(){ messageObj.close(); hideLoading();}/*Example message arrays for the two demo scrollers*/var pausecontent2=new Array()pausecontent2[0]='News.com: Link1'pausecontent2[1]='News.com: Link2'pausecontent2[2]='News.com: Link3'pausecontent2[3]='News.com: Link4'/************************************************ Pausing up-down scroller- © Dynamic Drive (www.dynamicdrive.com)* This notice MUST stay intact for legal use* Visit http://www.dynamicdrive.com/ for this script and 100s more.***********************************************/function pausescroller(content, divId, divClass, delay){this.content=content //message array contentthis.tickerid=divId //ID of ticker div to display informationthis.delay=delay //Delay between msg change, in miliseconds.this.mouseoverBol=0 //Boolean to indicate whether mouse is currently over scroller (and pause it if it is)this.hiddendivpointer=1 //index of message array for hidden divdocument.write(''+content[0]+''+content[1]+'')var scrollerinstance=thisif (window.addEventListener) //run onload in DOM2 browserswindow.addEventListener("load", function(){scrollerinstance.initialize()}, false)else if (window.attachEvent) //run onload in IE5.5+window.attachEvent("onload", function(){scrollerinstance.initialize()})else if (document.getElementById) //if legacy DOM browsers, just start scroller after 0.5 secsetTimeout(function(){scrollerinstance.initialize()}, 500)}// -------------------------------------------------------------------// initialize()- Initialize scroller method.// -Get div objects, set initial positions, start up down animation// -------------------------------------------------------------------pausescroller.prototype.initialize=function(){this.tickerdiv=document.getElementById(this.tickerid)this.visiblediv=document.getElementById(this.tickerid+"1")this.hiddendiv=document.getElementById(this.tickerid+"2")this.visibledivtop=parseInt(pausescroller.getCSSpadding(this.tickerdiv))//set width of inner DIVs to outer DIV's width minus padding (padding assumed to be top padding x 2)this.visiblediv.style.width=this.hiddendiv.style.width=this.tickerdiv.offsetWidth-(this.visibledivtop*2)+"px"this.getinline(this.visiblediv, this.hiddendiv)this.hiddendiv.style.visibility="visible"var scrollerinstance=thisdocument.getElementById(this.tickerid).onmouseover=function(){scrollerinstance.mouseoverBol=1}document.getElementById(this.tickerid).onmouseout=function(){scrollerinstance.mouseoverBol=0}if (window.attachEvent) //Clean up loose references in IEwindow.attachEvent("onunload", function(){scrollerinstance.tickerdiv.onmouseover=scrollerinstance.tickerdiv.onmouseout=null})setTimeout(function(){scrollerinstance.animateup()}, this.delay)}// -------------------------------------------------------------------// animateup()- Move the two inner divs of the scroller up and in sync// -------------------------------------------------------------------pausescroller.prototype.animateup=function(){var scrollerinstance=thisif (parseInt(this.hiddendiv.style.top)>(this.visibledivtop+5)){this.visiblediv.style.top=parseInt(this.visiblediv.style.top)-5+"px"this.hiddendiv.style.top=parseInt(this.hiddendiv.style.top)-5+"px"setTimeout(function(){scrollerinstance.animateup()}, 50)}else{this.getinline(this.hiddendiv, this.visiblediv)this.swapdivs()setTimeout(function(){scrollerinstance.setmessage()}, this.delay)}}// -------------------------------------------------------------------// swapdivs()- Swap between which is the visible and which is the hidden div// -------------------------------------------------------------------pausescroller.prototype.swapdivs=function(){var tempcontainer=this.visibledivthis.visiblediv=this.hiddendivthis.hiddendiv=tempcontainer}pausescroller.prototype.getinline=function(div1, div2){div1.style.top=this.visibledivtop+"px"div2.style.top=Math.max(div1.parentNode.offsetHeight, div1.offsetHeight)+"px"}// -------------------------------------------------------------------// setmessage()- Populate the hidden div with the next message before it's visible// -------------------------------------------------------------------pausescroller.prototype.setmessage=function(){var scrollerinstance=thisif (this.mouseoverBol==1) //if mouse is currently over scoller, do nothing (pause it)setTimeout(function(){scrollerinstance.setmessage()}, 100)else{var i=this.hiddendivpointervar ceiling=this.content.lengththis.hiddendivpointer=(i+1>ceiling-1)? 0 : i+1this.hiddendiv.innerHTML=this.content[this.hiddendivpointer]this.animateup()}}pausescroller.getCSSpadding=function(tickerobj){ //get CSS padding value, if anyif (tickerobj.currentStyle)return tickerobj.currentStyle["paddingTop"]else if (window.getComputedStyle) //if DOM2return window.getComputedStyle(tickerobj, "").getPropertyValue("padding-top")elsereturn 0}function set_disable(){ document.mem_pass.name.disabled = true; document.mem_pass.company.disabled = true; document.mem_pass.email.disabled = true; document.mem_pass.btnPass.disabled = true;} |
|