0 Replies Latest reply: Nov 18, 2011 3:46 PM by valf RSS

    Pb getting record navigation work within a div

    valf

      Hi,

      I've been trying and trying but I am not getting anywhere ... I am trying to set up navigation to be able to move to a next or previous detail page. I just don't understand what is wrong and cannot find any clear explanation on how to do it ... any help will be appreciated:

       

      The dreamweaver code is as follow:

       

       

       

      <div class="wrapper"><a href="<?php printf("%s?pageNum_DetailRS1=%d%s", $currentPage, min($totalPages_DetailRS1, $pageNum_DetailRS1 + 1), $queryString_DetailRS1); ?>">ghjh</a> total<?php echo $totalRows_DetailRS1 ?></div>
                          <div class="col-5">
                            <h1><?php echo $row_DetailRS1['title']; ?></h1>
                            <?php do { ?>
                              <div id="tabs">
                                <ul>
                                  <li><a href="#tabs-1"><?php echo $row_translations['descriviaje']; ?></a></li>
                                  <li><a href="#tabs-2"><?php echo $row_translations['fechareg']; ?></a></li>
                                  <li><a href="#tabs-3"><?php echo $row_translations['fotos']; ?></a></li>
                                  <li><a href="#tabs-4"><?php echo $row_translations['itincompleto']; ?></a></li>
                                  <li><a href="#tabs-5"><?php echo $row_translations['servicios']; ?></a></li>
                                </ul>
                                <div id="tabs-1">
                                  <table width="100%" border="0" cellpadding="0" cellspacing="5">
                                    <tr>
                                      <td bgcolor="#FAD0C5"><strong><?php echo $row_translations['estilo_viaje']; ?></strong></td>
                                      <td bgcolor="#FAD0C5"><?php echo $row_DetailRS1['type']; ?></td>
                                    </tr>
                                    <tbody>
                                      <tr>
                                        <td><strong><?php echo $row_translations['temporada']; ?></strong></td>
                                        <td><?php echo $row_DetailRS1['temporada']; ?></td>
                                      </tr>
                                      <tr>
                                        <td bgcolor="#FAD0C5"><strong><?php echo $row_translations['inicio']; ?></strong></td>
                                        <td bgcolor="#FAD0C5"><?php echo $row_DetailRS1['inicio']; ?></td>
                                      </tr>
                                    </tbody>
                                    <tbody>
                                      <tr>
                                        <td><strong><?php echo $row_translations['salida']; ?></strong></td>
                                        <td><?php echo $row_DetailRS1['salida']; ?></td>
                                      </tr>
                                      <tr>
                                        <td bgcolor="#FAD0C5"><strong><?php echo $row_translations['minpas']; ?></strong></td>
                                        <td bgcolor="#FAD0C5"><?php echo $row_DetailRS1['pasajero_minimo']; ?></td>
                                      </tr>
                                      <tr>
                                        <td><strong><?php echo $row_translations['dificult']; ?></strong></td>
                                        <td><?php echo $row_DetailRS1['dificulktad']; ?></td>
                                      </tr>
                                      <tr>
                                        <td bgcolor="#FAD0C5"><strong><?php echo $row_translations['comienz']; ?></strong></td>
                                        <td bgcolor="#FAD0C5"><?php echo $row_DetailRS1['comienza']; ?></td>
                                      </tr>
                                      <tr>
                                        <td><strong><?php echo $row_translations['finaliz']; ?></strong></td>
                                        <td><?php echo $row_DetailRS1['finaliza']; ?></td>
                                      </tr>
                                    </tbody>
                                  </table>
                                  <div  style="float:left; width:300px; /* [disabled]line-height: 1em; */ margin-right: 20px;">
                                    <h3><strong><?php echo $row_translations['descriviaje']; ?></strong></h3>
                                    <p><br />
                                      <?php echo $row_DetailRS1['description']; ?></p>
                                  </div>
                                  <div> <?php echo $row_DetailRS1['itinierario']; ?> </div>
                                </div>
                                <div id="tabs-2">
                                  <div id="datepicker"></div>
                                </div>
                                <div id="tabs-3">Fotos</div>
                                <div id="tabs-4"> <?php echo $row_DetailRS1['itinera_completo']; ?> </div>
                                <div id="tabs-5"> <?php echo $row_DetailRS1['servicios']; ?> </div>
                              </div>
                              <?php } while ($row_DetailRS1 = mysql_fetch_assoc($DetailRS1)); ?>