index.html 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <title>Tab Control</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <link rel="stylesheet" href="css/base_s40.css" type="text/css"/>
  8. <meta name="Generator" content="Nokia WDE 3.2.0" />
  9. </head>
  10. <body>
  11. <!-- Header Bar with Search Functionallity -->
  12. <div class="header_background" >
  13. <table class="header_table" cellpadding="0" cellspacing="0" summary="Header Background">
  14. <tr>
  15. <td>
  16. <div class="header_transition_window">
  17. <div id="container" class="strip show_app_name">
  18. <table cellpadding="0" cellspacing="0" summary="Header Transition">
  19. <tr>
  20. <td class="app_name" style="width: 171px;"> <!--Use class app_logo on td <div><img src="Logo.png" height="24"/></div>--><div>Tab Control</div></td>
  21. <td class="header_search_box_td" style="width: 171px;"><input type="text" class="header_search_box"/><td/>
  22. </tr>
  23. </table>
  24. </div>
  25. </div>
  26. </td>
  27. <td class="header_search">
  28. <img id="show_search" src="img/header_search.png" onclick="mwl.toggleClass('#container', 'show_app_name');mwl.toggleClass('#container', 'show_search_box');" href="#" alt="Show Search"/>
  29. </td>
  30. </tr>
  31. </table>
  32. </div>
  33. <!-- START TAB SNIPPET -->
  34. <!-- Tab Control -->
  35. <table cellpadding="0" cellspacing="0" class="tab_table" summary="Tab Table">
  36. <tr>
  37. <td id="tab_1" class="tab tab_selected" onclick="mwl.setGroupTarget('#tab_control_content', '#tab_1_content', 'show', 'hide');mwl.switchClass('#tab_1', 'tab_not_selected', 'tab_selected');mwl.switchClass('#tab_2', 'tab_selected', 'tab_not_selected');mwl.switchClass('#tab_3', 'tab_selected', 'tab_not_selected');">Tab 1</td>
  38. <td id="tab_2" class="tab tab_not_selected" onclick="mwl.setGroupTarget('#tab_control_content', '#tab_2_content', 'show', 'hide');mwl.switchClass('#tab_1', 'tab_selected', 'tab_not_selected');mwl.switchClass('#tab_2', 'tab_not_selected', 'tab_selected');mwl.switchClass('#tab_3', 'tab_selected', 'tab_not_selected');">Tab 2</td>
  39. <td id="tab_3" class="tab tab_not_selected" onclick="mwl.setGroupTarget('#tab_control_content', '#tab_3_content', 'show', 'hide');mwl.switchClass('#tab_1', 'tab_selected', 'tab_not_selected');mwl.switchClass('#tab_2', 'tab_selected', 'tab_not_selected');mwl.switchClass('#tab_3', 'tab_not_selected', 'tab_selected');">Tab 3</td>
  40. </tr>
  41. </table>
  42. <!-- End Tab Control -->
  43. <!-- Tab Control Content -->
  44. <div id="tab_control_content">
  45. <div id="tab_1_content" class="show">
  46. Tab 1 Content
  47. </div>
  48. <div id="tab_2_content" class="hide">
  49. Tab 2 Content
  50. </div>
  51. <div id="tab_3_content" class="hide">
  52. Tab 3 Content
  53. </div>
  54. </div>
  55. <!-- End Tab Control Content -->
  56. <!-- END TAB SNIPPET -->
  57. </body>
  58. </html>