Autor Zpráva
Helper
Profil *
Zdravím, potreboval by som menšiu pomoc.
Mám anketu,, ide perfektne. Niečo podobné ako má blueboard a už mi chýba len jedná vec.
Blueboard má anketu tu
No a ja by som to potreboval spraviť presne ako majú aj oni. Všetko mám, okrem tých rohov čo tam majú. Ja to mám teda zatiaľ bez nich takto

<td background=\"". $imagesPath .$plugin_cf['anketa']['bar_1'].".gif"."\"  height=\"".$plugin_cf['anketa']['bar_width']."px\"></td>


No a tam by som to potreboval nejako doplniť (tie rohy na ľavo a na pravo)

ďakujem
keeehi
Profil
<td background=\"levy-roh.gif\"></td><td background=\"". $imagesPath .$plugin_cf['anketa']['bar_1'].".gif"."\"  height=\"".$plugin_cf['anketa']['bar_width']."px\"></td><td background=\"pravy-roh.gif\"></td>
Helper
Profil *
To som už skúšal, ale keď to tak spravím tak mi zobrazí len roh po celom.
Pridám radšej celý kód čo tam mám, či tam nemám nejakú chybu teda.

....
<tr><td style=\"color:#".$plugin_cf['anketa']['anketa_text_color']."\" align=\"left\">".$array[$pocitat]."</td><td></td></tr><tr><td width=\"100%\" align=\"left\"><table width=\"".$vote[$pocitat]."%\">
					<tr><td background=\"". $imagesPath .$plugin_cf['anketa']['bar_1'].".gif"."\"  height=\"".$plugin_cf['anketa']['bar_width']."px\"></td></tr></table></td><td style=\"color:#".$plugin_cf['anketa']['anketa_text_color']."\">&nbsp;".$vote[$pocitat]."%&nbsp;(".$votes_r[$pocitat].")</td></tr>
...
keeehi
Profil
Helper
Tu patlaninu jsem radši ani nezkoumal a napsal jsem toto:
  <table border="0">
    <tr>
      <td><img src="levyroh.gif" border="0"></td>
      <td background="natahovaci-prostredek.gif"  height="20" width="600"></td>
      <td><img src="pravyroh.gif" border="0"></td>
    </tr>
    <tr>
      <td><img src="levyroh.gif" border="0"></td>
      <td background="natahovaci-prostredek.gif"  height="20" width="600"></td>
      <td><img src="pravyroh.gif" border="0"></td>
    </tr>
  </table>


PS: pozadí a velikosti prvků by bylo lepší psát do css
Helper
Profil *
"Patlanina" to možno je, ale chcem aby mal kolega všetko v administracii po ruke.
Poďme k veci,, nejako som to porobil, avšak medzi rohmi a tým stredom je ešte medzera ktorej sa neviem zbaviť.

<td width=\"100%\" align=\"left\">
  <table width=\"".$vote[$pocitat]."%\">
    <tr>
      <td background=\"". $imagesPath .$plugin_cf['anketa']['bar_roh'].".gif"."\" width=\"1\" height=\"".$plugin_cf['anketa']['bar_width']."px\></td>
      <td background=\"". $imagesPath .$plugin_cf['anketa']['bar_1'].".gif"."\"  height=\"".$plugin_cf['anketa']['bar_width']."px\"></td>
      <td background=\"". $imagesPath .$plugin_cf['anketa']['bar_roh'].".gif"."\" width=\"1\" height=\"".$plugin_cf['anketa']['bar_width']."px\></td>
    </tr>
  </table>
</td>


zdroják html

<td width="100%">
  <table width="62%">
    <tr>
      <td background="./plugins/anketa/images/bar_roh.gif" width="1" height="10px"></td>
      <td background="./plugins/anketa/images/bar_stred.gif"  height="10px"></td>
      <td background="./plugins/anketa/images/bar_roh.gif" width="1" height="10px"></td>
    </tr>
  </table>
</td>
keeehi
Profil
  <table style="border: 0px none white; border-collapse: collapse;">
    <tr>
      <td style="background: url(./plugins/anketa/images/bar_roh.gif) no-repeat top center; height:10px; width:2px;"></td>
      <td style="background: url(./plugins/anketa/images/bar_stred.gif) repeat-x top center; height:10px; width:100px;"></td>
      <td style="background: url(./plugins/anketa/images/bar_roh.gif) no-repeat top center; height:10px; width:2px;"></td>
    </tr>
  </table>
Helper
Profil *
To isté ako to vyššie, stále tam mám medzery a to som sa ešte prplal hodinu čo som to dával do toho môjho kódu/php

Vaše odpověď

Mohlo by se hodit


Prosím používejte diakritiku a interpunkci.

Ochrana proti spamu. Napište prosím číslo dvě-sta čtyřicet-sedm:

0