jkkenzie Posted July 18, 2008 Share Posted July 18, 2008 Hi! I have tabs created by dreamweaver, each tab has its content. My problem here is , i need when i click a link inside one of the tabs, to get data(from database - which is not a problem) and replace what was there or show other contents within the same tab content. I hope you understand, clear the content and show new content within the sametab. thanks Link to comment https://forums.phpfreaks.com/topic/115369-tabs/ Share on other sites More sharing options...
samshel Posted July 18, 2008 Share Posted July 18, 2008 some code will help. Link to comment https://forums.phpfreaks.com/topic/115369-tabs/#findComment-593126 Share on other sites More sharing options...
jkkenzie Posted July 18, 2008 Author Share Posted July 18, 2008 code below <html> <head> <title>emoinvestments.com</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <META NAME="Keywords" CONTENT="EMO, EMOINVESTMENTS, EMO COMMUNITY,INVESTMENTS, INVESTMENT "> <META NAME="Description" CONTENT="EMO INVESTMENTS LIMITED. INVESTING IN SOCIAL TRANSFORMATION. as part of the national reconciliation & healing process."> <META NAME="Author" CONTENT="[email protected]"> <script type="text/javascript" src="flashfloat.js"></script> <script type="text/javascript" src="flashobject.js"></script> <script src="./Scripts/AC_RunActiveContent.js" type="text/javascript"></script> <script src="./Scripts/SpryTabbedPanels.js" type="text/javascript"></script> <link href="./Scripts/SpryTabbedPanels.css" rel="stylesheet" type="text/css"> </head> <body bgcolor="#FFFFFF"> <table width="100%" height="5%" background="./images/header.jpg"> <tr><td width="30%" height="122" align="left"><img src="logos/EMO%20Logo%20450.png" align="left" width="120" height="110"></td> <td width="30%" align="center"><font size="+1" color="#0000CC"> EMO INVESTMENTS LIMITED</font><br><br> <a href="Emo Application Individual-Corporate.zip">Download Shares Application Form Individual/Corporate</a> </td> <td width="40%" align="right"><script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,19,0','width','120','height','120','accesskey','12','tabindex','12','title','emo','src','slogan','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','slogan' ); //end AC code </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,19,0" width="120" height="120" accesskey="12" tabindex="12" title="emo"> <param name="movie" value="slogan.swf"> <param name="quality" value="high"> <embed src="slogan.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="150" height="123"></embed> </object></noscript></td></tr></table> <div id="TabbedPanels1" class="TabbedPanels"> <ul class="TabbedPanelsTabGroup"> <li class="TabbedPanelsTab" tabindex="0">Home</li> <li class="TabbedPanelsTab" tabindex="1">News</li> <li class="TabbedPanelsTab" tabindex="2">contact Us</li> <li class="TabbedPanelsTab" tabindex="3">Slideshow</li> </ul> <div class="TabbedPanelsContentGroup"> <div class="TabbedPanelsContent" style="background-color:#FF9900;"> <table> <tr><td> <div id="image_marquee_id" ></div> <script type="text/javascript"> var fo = new FlashObject("menu.swf","floater","100","400","6","#FFFFFF"); fo.addParam("menu","false"); fo.addParam("quality","best"); fo.addParam("salign","LT"); fo.addParam("scale","noscale"); fo.addParam("wmode","window"); fo.write("image_marquee_id"); if (navigator.appName.indexOf("Microsoft")!= -1) { document.floater.style.position="absolute"; document.floater.style.zIndex="15"; document.floater.style.left="15px"; document.floater.style.top="200px"; }else{ document.getElementById('floater').style.position="absolute"; document.getElementById('floater').style.zIndex="15"; document.getElementById('floater').style.left="15px"; document.getElementById('floater').style.top="200px"; } </script></td> <td width="13%"></td><td> <iframe src="http://www.nellydata.com/dsl/ticker.asp" frameborder="0" scrolling="no" style="width:100%;height:18px;padding:0px;">Your browser is not iframe enabled. Please upload a higher version.</iframe> <h3><font color="#0000CC">Welcome to EMO INVESTMENTS LIMITED! </font> </h3> <font color="#0000CC"><p align="left"> In support of our fourth pillar of Wealth creation, EMO will quickly mobilize resources of members as well as explore other funding opportunities to make investments that will generate wealth. This division is the Investment arm of the society. A special purpose vehicle in form of a limited company has been incorporated to take care of the special interest in Agricultural activities such as the Land Consolidation Program and Farm Management services in support of the Government's policy on rational and use in the Vision 2030.</p> <b><u>Investment Strategy</u></b> <p>Social Transformation through strategic invesments in sectors that are profitable to a wider section of society in order to foster both economic and human development.</p> <b><u>Objectives</u></b> <p> <li> Investments Promotion and an investment culture among EMO</li> members. <li> Develop one stop investment centers to enable members obtain</li> investment information regarding opportunities within EMO enterprises and those without including the local and international stock exchanges. <li>Establish a financial institution to assist members in financial services </li> and to run a profitable financial services business. <li>Establish a Building society to enable members acquire decent</li> housing in both urban and rural settings. <li>Establish and run a Commodity Stock Exchange.</li><br> </p> <b><u>Investment Policy</u></b> <p>We aim to invest in companies whose products or services are of benefit to humankind, with minimal harmful impacts and with an emphasis on meeting basic needs rather than luxuries and whose profits in the long term grow at least in line with the economies in which they operate. To this end and Investment Policy has been developed.</p> </font></td><td width="10%"></td></tr></table></div> <div class="TabbedPanelsContent" style="background-color:#FF9900;"> <table> <tr><td> <div id="image_marquee_id" ></div> <script type="text/javascript"> var fo = new FlashObject("menu.swf","floater","100","400","6","#FFFFFF"); fo.addParam("menu","false"); fo.addParam("quality","best"); fo.addParam("salign","LT"); fo.addParam("scale","noscale"); fo.addParam("wmode","window"); fo.write("image_marquee_id"); if (navigator.appName.indexOf("Microsoft")!= -1) { document.floater.style.position="absolute"; document.floater.style.zIndex="15"; document.floater.style.left="15px"; document.floater.style.top="170px"; }else{ document.getElementById('floater').style.position="absolute"; document.getElementById('floater').style.zIndex="15"; document.getElementById('floater').style.left="15px"; document.getElementById('floater').style.top="135px"; } </script></td> <td width="15%"></td><td width="76%"> <iframe src="http://www.nellydata.com/dsl/ticker.asp" frameborder="0" scrolling="no" style="width:100%;height:18px;padding:0px;">Your browser is not iframe enabled. Please upload a higher version.</iframe> <h3 ><font color="#0000CC">Investment Advisory Board Launched</font> </h3><br> <img src="./images/Investment_Board.JPG"><br> <font color="#0000CC"><p align="left"> <p> EMO has launched an Investment Advisory Board. The Board, made up of eminent persons from the membership will advice the National Executive Council on investment opportunities after subjecting them to scrutiny and confirm their viability. The Board Chaired by Dr Julius Kipngetich was officially inaugurated by EMO Chairman James Bett during a prayer breakfast at the ACK Guest house on 10th October 2007. The dedication was conducted by EMO Patrons Bishops William Tuimisiing and Jackson Koskei who prayed for the board and asked God to bless them in all their deliberations and decisions for the benefit of the entire membership. The other members of the committee include: <li>Susan Kikwai,</li> <li>Hosea Kiili,</li> <li>John Ayabei,</li> <li>Cheptoo kigen among others.</li> </p> </font></td><td width="10%"></td></tr></table> </div> <div class="TabbedPanelsContent">Content 3</div> <div class="TabbedPanelsContent">Content 4</div> </div> </div> <script type="text/javascript"> <!-- var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1"); //--> </script> </Body> </html> Link to comment https://forums.phpfreaks.com/topic/115369-tabs/#findComment-593143 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.