• Rejestracja
vBHELP.pl - polskie wsparcie vBulletin
Strona 1 z 2 12 OstatniOstatni
Like Tree1Przydatne posty
  1. #1
    WyrafinowanY jest nieaktywny Użytkownik
    Dołączył
    Aug 2011
    Posty
    54
    Przydatne posty
    1

    Domyślnie Problem ze strona glowna i tabelka sponsorow

    Posiadam taki kod tabelki sponsorow :
    Kod:
    <div id="ad_global_below_navbar"><head>
    <title>.::GameSol.pl::.</title>
    </head>
    
    <br>
    <script language="javascript" type="text/javascript">
    <!--
    if(GetCookie('hmZ3') == '2') ShowHide('hmZ', 'hmZ2', 'hmZ3');
    //-->
    </script>
    
    <p align="center">
    
    </p>
    
    </body>
    </html><vb:if condition="$adsshown[] = 2"></vb:if></div>
    
    <!-- Kod Sponsorów -->
    <div id="hmZ" style="POSITION: relative">
    <br>
    <table class="forumline" cellspacing="1" cellpadding="3" width="100%" align="center" border="0">
    <tr>
    <th class="thCornerL" title="Partnerzy/Sponsorzy naszej sieci" style="CURSOR: pointer" onclick="javascript:ShowHide('hmZ','hmZ2','hmZ3'); " nowrap="nowrap" height="25"><b>Partnerzy/Sponsorzy</b></th>
    </tr></table>
    <table width="100%" class="forumline" cellspacing="1" cellpadding="3" border="0" align="center">
    <tr>
    <td class="row2" align="middle" width="50%"><span class="gensmall"><a href="http://www.gamesol.pl/" target="_blank"><img src="http://img805.imageshack.us/img805/5540/gslow.png" border="0" alt="Hosting serwerów gier"></a></span></td>
    <td class="row2" align="middle" width="50%"><span class="gensmall">
    <b>Partner Cs-BadBoys.com.pl</b></span></td>
    </tr>
    </table>
    </div>
    
    <table width="100%" class="forumline" cellspacing="1" cellpadding="3" border="0"  align="center" style="background:#f7f7f7">
    <tr>
    <td class="row2" align="middle" width="50%"><span class="gensmall"><a href="http://csadvert.pl/" target="_blank"><img src="http://csadvert.pl/images/banner.gif" border="0" alt="CSADVERT-Szybka,Profesjonalna reklama"></a></span></td>
    <td class="row2" align="middle" width="50%"><span class="gensmall">
    <b>Partner Cs-BadBoys.com.pl</b></span></td>
    </table>
    </div>
    
    <div id="hmZ2" style="DISPLAY: none; POSITION: relative">
    <br>
    <table class="forumline" cellspacing="1" cellpadding="3" width="100%" align="center" border="0">
    <tr>
    <th class="thCornerL" style="CURSOR: pointer" onclick="javascript:ShowHide('hmZ','hmZ2','hmZ3'); " nowrap="nowrap" height="25">Sponsorzy</th>
    </tr>
    </table>
    </div>
    Jednak mieszcza sie tam tylko 2 bannery gdy chce dodac trzeci dzieje sie takie cos


    Przenosi Adtaily nad header ktore powinno zostac nad ta tabelka sponsorzy/partnerzy.
    Dlaczego tak sie dzieje ??



  2. #2
    Mateusz K. jest nieaktywny vBHELP.pl Team
    Dołączył
    Sep 2008
    Posty
    1 447
    Przydatne posty
    164

    Domyślnie

    Z tego co widze nie masz zamkniętego jednego tr, w części kodu
    Kod:
    <table width="100%" class="forumline" cellspacing="1" cellpadding="3" border="0"  align="center" style="background:#f7f7f7">
    <tr>
    <td class="row2" align="middle" width="50%"><span class="gensmall"><a href="http://csadvert.pl/" target="_blank"><img src="http://csadvert.pl/images/banner.gif" border="0" alt="CSADVERT-Szybka,Profesjonalna reklama"></a></span></td>
    <td class="row2" align="middle" width="50%"><span class="gensmall">
    <b>Partner Cs-BadBoys.com.pl</b></span></td>
    </table>
    </div>
    Reszta wydaje się pozamykana.


  3. #3
    WyrafinowanY jest nieaktywny Użytkownik
    Dołączył
    Aug 2011
    Posty
    54
    Przydatne posty
    1

    Domyślnie

    Zamknales ten tr ktory nie byl zamkniety jednak to nie pomoglo :/
    Dalej problem jest taki sam.


  4. #4
    Mateusz K. jest nieaktywny vBHELP.pl Team
    Dołączył
    Sep 2008
    Posty
    1 447
    Przydatne posty
    164

    Domyślnie

    A gdzie ty dodajesz to adtaily tutaj w podanym kodzie tego nie ma więc co ma tabela do adtaily skoro jest w innym miejscu ?


  5. #5
    WyrafinowanY jest nieaktywny Użytkownik
    Dołączył
    Aug 2011
    Posty
    54
    Przydatne posty
    1

    Domyślnie

    Dodaje do ad_global_below_navbar

    Gdy dodaje tam kod adtaily przenosi ...


  6. #6
    Mateusz K. jest nieaktywny vBHELP.pl Team
    Dołączył
    Sep 2008
    Posty
    1 447
    Przydatne posty
    164

    Domyślnie

    Podaj cały kod który masz już z adtaily.


  7. #7
    WyrafinowanY jest nieaktywny Użytkownik
    Dołączył
    Aug 2011
    Posty
    54
    Przydatne posty
    1

    Domyślnie

    Adtaily jest dodany jako reklama przez PA pod navbarem .
    A kod sponsorow dodaje recznie do ad_global_below_navbar.
    To jest wszystko co mam w ad_global_below_navbar
    Kod:
    <div id="ad_global_below_navbar"><head>
    <title>.::GameSol.pl::.</title>
    </head>
    
    <br>
    <script language="javascript" type="text/javascript">
    <!--
    if(GetCookie('hmZ3') == '2') ShowHide('hmZ', 'hmZ2', 'hmZ3');
    //-->
    </script>
    
    <p align="center">
    
    </p>
    
    </body>
    </html><vb:if condition="$adsshown[] = 2"></vb:if></div>
    
    
    <!-- Kod Sponsorów -->
    <div id="hmZ" style="POSITION: relative">
    <br>
    <table class="forumline" cellspacing="1" cellpadding="3" width="100%" height="100%" align="center" border="0">
    <tr>
    <th class="thCornerL" title="Partnerzy/Sponsorzy naszej sieci" style="CURSOR: pointer" onclick="javascript:ShowHide('hmZ','hmZ2','hmZ3'); " nowrap="nowrap" height="25"><b>Partnerzy/Sponsorzy</b></th>
    </tr></table>
    
    <table width="100%" class="forumline" cellspacing="1" cellpadding="3" border="0"  align="center">
    <tr>
    <td class="row2" align="middle" width="50%"><span class="gensmall"><a href="http://www.gamesol.pl/" target="_blank"><img src="http://img805.imageshack.us/img805/5540/gslow.png" border="0" alt="Hosting serwerow gier"></a></span></td>
    <td class="row2" align="middle" width="50%"><span class="gensmall">
    <b>Partner Cs-BadBoys.com.pl</b></span></td>
    </tr>
    </table>
    </div>
    
    
    <table width="100%" class="forumline" cellspacing="1" cellpadding="3" border="0"  align="center" style="background:#f7f7f7">
    <tr>
    <td class="row2" align="middle" width="50%"><span class="gensmall"><a href="http://csadvert.pl/" target="_blank"><img src="http://csadvert.pl/images/banner.gif" border="0" alt="CSADVERT-Szybka,Profesjonalna reklama"></a></span></td>
    <td class="row2" align="middle" width="50%"><span class="gensmall">
    <b>Partner Cs-BadBoys.com.pl</b></span></td>
    </tr>
    </table>
    </div>
    
    
    
    
    
    
    
    
    <div id="hmZ2" style="DISPLAY: none; POSITION: relative">
    <br>
    <table class="forumline" cellspacing="1" cellpadding="3" width="100%" align="center" border="0">
    <tr>
    <th class="thCornerL" style="CURSOR: pointer" onclick="javascript:ShowHide('hmZ','hmZ2','hmZ3'); " nowrap="nowrap" height="25">Sponsorzy</th>
    </tr>
    </table>
    </div>


  8. #8
    Mateusz K. jest nieaktywny vBHELP.pl Team
    Dołączył
    Sep 2008
    Posty
    1 447
    Przydatne posty
    164

    Domyślnie

    Piszesz:
    Jednak mieszcza sie tam tylko 2 bannery gdy chce dodac trzeci dzieje sie takie cos
    Ale gdzie masz te 2 banery ? Chodzi ci o banery w Adtaily czy w Tabela Sponsorów ?

    Powyższy kod nie jest prawidłowy masz o 1 div za dużo zamknięty.

    To jest prawidłowy:
    Kod:
    <div id="ad_global_below_navbar"><head>
    <title>.::GameSol.pl::.</title>
    </head>
    
    <br>
    <script language="javascript" type="text/javascript">
    <!--
    if(GetCookie('hmZ3') == '2') ShowHide('hmZ', 'hmZ2', 'hmZ3');
    //-->
    </script>
    
    <p align="center">
    
    </p>
    
    </body>
    </html><vb:if condition="$adsshown[] = 2"></vb:if></div>
    
    
    <!-- Kod Sponsorów -->
    <div id="hmZ" style="POSITION: relative">
    <br>
    <table class="forumline" cellspacing="1" cellpadding="3" width="100%" height="100%" align="center" border="0">
    <tr>
    <th class="thCornerL" title="Partnerzy/Sponsorzy naszej sieci" style="CURSOR: pointer" onclick="javascript:ShowHide('hmZ','hmZ2','hmZ3'); " nowrap="nowrap" height="25"><b>Partnerzy/Sponsorzy</b></th>
    </tr></table>
    
    <table width="100%" class="forumline" cellspacing="1" cellpadding="3" border="0"  align="center">
    <tr>
    <td class="row2" align="middle" width="50%"><span class="gensmall"><a href="http://www.gamesol.pl/" target="_blank"><img src="http://img805.imageshack.us/img805/5540/gslow.png" border="0" alt="Hosting serwerow gier"></a></span></td>
    <td class="row2" align="middle" width="50%"><span class="gensmall">
    <b>Partner Cs-BadBoys.com.pl</b></span></td>
    </tr>
    </table>
    
    
    
    <table width="100%" class="forumline" cellspacing="1" cellpadding="3" border="0"  align="center" style="background:#f7f7f7">
    <tr>
    <td class="row2" align="middle" width="50%"><span class="gensmall"><a href="http://csadvert.pl/" target="_blank"><img src="http://csadvert.pl/images/banner.gif" border="0" alt="CSADVERT-Szybka,Profesjonalna reklama"></a></span></td>
    <td class="row2" align="middle" width="50%"><span class="gensmall">
    <b>Partner Cs-BadBoys.com.pl</b></span></td>
    </tr>
    </table>
    </div>
    
    
    
    
    
    
    
    <div id="hmZ2" style="DISPLAY: none; POSITION: relative">
    <br>
    <table class="forumline" cellspacing="1" cellpadding="3" width="100%" align="center" border="0">
    <tr>
    <th class="thCornerL" style="CURSOR: pointer" onclick="javascript:ShowHide('hmZ','hmZ2','hmZ3'); " nowrap="nowrap" height="25">Sponsorzy</th>
    </tr>
    </table>
    </div>
    Ale ogólnie w kodzie jest strasznie namieszane, po co za każdym razem Ci tabela, skoro możesz tr nowe wiersze zaczynać.

    Podaj przykład co chcesz uzyskać i opisz dokładnie problem co jak dodajesz przestaje działać.


  9. #9
    WyrafinowanY jest nieaktywny Użytkownik
    Dołączył
    Aug 2011
    Posty
    54
    Przydatne posty
    1

    Domyślnie

    Chce uzyskac taka tabelke sponsorow jak na screenie :

    To jest aktualny kod
    Kod:
    <!-- Kod Sponsorów -->
    <div id="hmZ" style="POSITION: relative">
    <br>
    <table class="forumline" cellspacing="1" cellpadding="3" width="100%" height="100%" align="center" border="0">
    <tr>
    <th class="thCornerL" title="Partnerzy/Sponsorzy naszej sieci" style="CURSOR: pointer" onclick="javascript:ShowHide('hmZ','hmZ2','hmZ3'); " nowrap="nowrap" height="25"><b>Partnerzy/Sponsorzy</b></th>
    </tr></table>
    
    <table width="100%" class="forumline" cellspacing="1" cellpadding="3" border="0"  align="center">
    <tr>
    <td class="row2" align="middle" width="50%"><span class="gensmall"><a href="http://www.gamesol.pl/" target="_blank"><img src="http://img805.imageshack.us/img805/5540/gslow.png" border="0" alt="Hosting serwerow gier"></a></span></td>
    <td class="row2" align="middle" width="50%"><span class="gensmall">
    <b>Partner Cs-BadBoys.com.pl</b></span></td>
    </tr>
    </table>
    
    
    
    <table width="100%" class="forumline" cellspacing="1" cellpadding="3" border="0"  align="center" style="background:#f7f7f7">
    <tr>
    <td class="row2" align="middle" width="50%"><span class="gensmall"><a href="http://csadvert.pl/" target="_blank"><img src="http://csadvert.pl/images/banner.gif" border="0" alt="CSADVERT-Szybka,Profesjonalna reklama"></a></span></td>
    <td class="row2" align="middle" width="50%"><span class="gensmall">
    <b>Partner Cs-BadBoys.com.pl</b></span></td>
    </tr>
    </table>
    </div>
    ktory znalazlem gdzies w internecie .
    Gdy dodaje powyzszy kod do templatki ad_global_below_navbar to moge dodac tylko 2 bannery poniewaz gdy dodaje 3 banner robi sie takie cos :



    A powinno byc tak :



    Inaczej juz tego nie da sie chyba napisac ;x


  10. #10
    Mateusz K. jest nieaktywny vBHELP.pl Team
    Dołączył
    Sep 2008
    Posty
    1 447
    Przydatne posty
    164

    Domyślnie

    Najprostsza tabelka:
    Kod:
    <!-- Kod Sponsorów -->
    <br>
    <table>
    <tr>
    <b>Partnerzy/Sponsorzy</b>
    </tr>
    </table>
    
    <table width="100%" class="forumline" cellspacing="1" cellpadding="3" border="0"  align="center">
    <tr>
    <td align="middle" width="50%"><span class="gensmall"><a href="http://www.gamesol.pl/" target="_blank"><img src="http://img805.imageshack.us/img805/5540/gslow.png" border="0" alt="Hosting serwerow gier"></a></span></td>
    <td align="middle" width="50%"><span class="gensmall">
    <b>Baner1</b></span></td>
    </tr>
    <tr>
    <td align="middle" width="50%"><span class="gensmall"><a href="http://csadvert.pl/" target="_blank"><img src="http://csadvert.pl/images/banner.gif" border="0" alt="CSADVERT-Szybka,Profesjonalna reklama"></a></span></td>
    <td align="middle" width="50%"><span class="gensmall">
    <b>Baner2</b></span></td>
    </tr>
    
    <tr>
    <td align="middle" width="50%"><span class="gensmall"><a href="http://csadvert.pl/" target="_blank"><img src="http://csadvert.pl/images/banner.gif" border="0" alt="CSADVERT-Szybka,Profesjonalna reklama"></a></span></td>
    <td align="middle" width="50%"><span class="gensmall">
    <b>Baner3</b></span></td>
    </tr>
    
    
    <tr>
    <td align="middle" width="50%"><span class="gensmall"><a href="http://csadvert.pl/" target="_blank"><img src="http://csadvert.pl/images/banner.gif" border="0" alt="CSADVERT-Szybka,Profesjonalna reklama"></a></span></td>
    <td align="middle" width="50%"><span class="gensmall">
    <b>Baner4</b></span></td>
    </tr>
    </table>
    WyrafinowanY uważa to za przydatne.


Strona 1 z 2 12 OstatniOstatni
Chmurka.pl

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67