Loading ...
Sorry, an error occurred while loading the content.

Help! Two div classes are confusing tabview

Expand Messages
  • hwusdesign
    I m fairly new to this but have a great site going so far. Ive just figured out how to link mysql into a table and now I want to display it in a tab. This
    Message 1 of 1 , Feb 29, 2008
    • 0 Attachment
      I'm fairly new to this but have a great site going so far. Ive just
      figured out how to link mysql into a table and now I want to display
      it in a tab. This was all well and good, but I also need some of the
      tabbed content to scroll using a custom Javascript scrollbar. The
      problem is when I assign the "scrollhandler" class tothe content to
      get the scrollbar to work, yahootabs throws it out of the
      "yui-content" class, leaving a working scrollbar with content outside
      of the tabbed content (just to the right of it to be exact). Any help
      on this woul be appreciated, below is the code:

      <!-- sections : hours -->
      <div id="sec-hours" class="yui-navset">
      <div class="sec-title"><h2>Hours</h2></div>
      <ul class="yui-nav">
      <li class="selected"><a href="#food">FOOD</a></li>
      <li> <a href="#shops">SHOPS</a></li>
      <li><a href="#weekends">WEEKENDS</a></li>
      </ul>
      <div class="yui-content">
      <div id="food">
      <div id="scrollholder" class="scrollholder">
      <div id="scroll" class="scroll">
      <Table width=250 align=center cellpadding="3">
      <tr>
      <td width=100 padding = "10"><div align="left">   Name</p>
      </div></td><td><div align="center">Open</div></td><td width =
      "50"><div align="center">Close</div></td><td><div align="center">
      Day</div></td></tr></Table>

      <?php include ("includes/test4.php"); ?>

      </div>


      <script type="text/javascript">
      <!--
      ScrollLoad ("scrollholder", "scroll", true);
      //-->
      </script>
      </div>
    Your message has been successfully submitted and would be delivered to recipients shortly.