Poprawa i Dodanie tabeli w panelu bocznym

Inne  Założony przez  Zielek.

wersja skryptu MyBB: 1.16.8
adres forum: Brak, nie mogę podać ponieważ nie życzy sobie klient, ewentualnie mogę podać dyskretnej osobie na PW.
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu): jak dodać fb w panel.

B -> Wyśrodkować C -> Dodać nową tabele (Partnerzy) A -> Zrobić żeby wysokość była mniejsza, bo jest strasznie wysoko.

[Obrazek: 2m496dx.png]

index ->

<html>

<head>

<title>{$mybb->settings['bbname']}</title>

{$headerinclude}

<script type="text/javascript">

<!--

&nbsp;&nbsp;&nbsp;&nbsp;lang.no_new_posts = "{$lang->no_new_posts}";

&nbsp;&nbsp;&nbsp;&nbsp;lang.click_mark_read = "{$lang->click_mark_read}";

// -->

</script>

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.min.js"></script>

<style type="text/css">

.buttons {

&nbsp;&nbsp;&nbsp;&nbsp;background: url(images/arrowleft.png) no-repeat;

&nbsp;&nbsp;&nbsp;&nbsp;width: 16px;

&nbsp;&nbsp;&nbsp;&nbsp;height: 16px;

&nbsp;&nbsp;&nbsp;&nbsp;display: block;

&nbsp;&nbsp;&nbsp;&nbsp;cursor: pointer;

}



.clickedbuttons {

&nbsp;&nbsp;&nbsp;&nbsp;background: url(images/arrowright.png) no-repeat;

&nbsp;&nbsp;&nbsp;&nbsp;width: 16px;

&nbsp;&nbsp;&nbsp;&nbsp;height: 16px;

&nbsp;&nbsp;&nbsp;&nbsp;display: block;

&nbsp;&nbsp;&nbsp;&nbsp;cursor: pointer;

}

</style>

</head>

<body>

{$header}

<div style="float: right;">

<a id="button" class="buttons"></a>

</div>

<table>

<tr>

<td width="100%;" valign="top">

{$forums}

</td>

&nbsp;&nbsp;&nbsp;&nbsp;<script type="text/javascript">

jQuery.noConflict();

&nbsp;&nbsp;&nbsp;&nbsp;jQuery(function() {

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//run the currently selected effect

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;function runEffect(){

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//get effect type from

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var selectedEffect = 'slide';

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//most effect types need no options passed by default

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var options = {};

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//check if it's scale or size - they need options explicitly set

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(selectedEffect == 'scale'){&nbsp;&nbsp;options = {percent: 0}; }

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else if(selectedEffect == 'size'){ options = { to: {width: 200,height: 60} }; }

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//run the effect

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;jQuery("#effect").toggle(selectedEffect,options,500);



&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;};

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//set effect from select menu value

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;jQuery("#button").click(function() {

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;jQuery(this).toggleClass("clickedbuttons")

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;runEffect();

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return false;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;});



&nbsp;&nbsp;&nbsp;&nbsp;});

&nbsp;&nbsp;&nbsp;&nbsp;</script>

<td valign="top">

<div id="effect" class="ui-widget-content ui-corner-all">

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" width="240">

<tr>

<td class="thead">

<strong><center>Facebook</center></strong>

</td>

</tr>

<tr>

<td class="trow1">
<center><iframe src="//www.facebook.com/plugins/follow.php?href=http%3A%2F%2Fwww.facebook.com%2FPodkarpackieTrybuny&amp;layout=button_count&amp;&amp;colorscheme=light&amp;font=tahoma&amp;width=150" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:200px;" allowTransparency="true"></iframe></center>

</form>

</td>

</tr>

</table>

</div>

</td>

</tr>

</table>





{$boardstats}



<dl class="forum_legend smalltext">

&nbsp;&nbsp;&nbsp;&nbsp;<dt><img src="{$theme['imgdir']}/on.gif"
alt="{$lang->new_posts}" title="{$lang->new_posts}"
style="vertical-align: middle; padding-bottom: 4px;" /></dt>

&nbsp;&nbsp;&nbsp;&nbsp;<dd>{$lang->new_posts}</dd>



&nbsp;&nbsp;&nbsp;&nbsp;<dt><img src="{$theme['imgdir']}/off.gif"
alt="{$lang->no_new_posts}" title="{$lang->no_new_posts}"
style="vertical-align: middle; padding-bottom: 4px;" /></dt>

&nbsp;&nbsp;&nbsp;&nbsp;<dd>{$lang->no_new_posts}</dd>



&nbsp;&nbsp;&nbsp;&nbsp;<dt><img src="{$theme['imgdir']}/offlock.gif"
alt="{$lang->forum_locked}" title="{$lang->forum_locked}"
style="vertical-align: middle;" /></dt>

&nbsp;&nbsp;&nbsp;&nbsp;<dd>{$lang->forum_locked}</dd>

</dl>

<br style="clear: both" />

{$footer}

</body>

</html>
O kurcze pieczone ale nasrane.

Jak Ty ten kod kopiowałeś?


Jak kopiujesz kod z internetu wklej go do notatnika, czy innego edytora tekstowego, a dopiero potem na stronę!

https://webboard.pl/wiki.php?zwijany-pan...posob.html

Tutaj masz wszystko opisane. I kopiuj tak, jak Ci napisałem.
Matslom napisał 13.02.2013, 15:17:
To że zagwiazdkujesz kawałek słowa nie zmienia jego znaczenia
Korzystaj z Notepad++ a nie z notatnika systemowego.

Wyśrodkowanie robisz przez <center>
Jeśli Ci pomogłem naciśnij guzik POMÓGŁ lub dodaj PUNKT REPUTACJI



Użytkownicy przeglądający ten wątek:

1 gości