Enpòtan: Paj sa a se lè l sèvi avèk bonbon (cookies). Sèvi ak sit entènèt sa a san yo pa vire sou bonbon nan navigatè, vle di ke ou dakò pou sèvi ak li.
Buy Now! Features Downloads

Gen ak nou!

Si ou ta renmen kòmanse lajan ak are vBET pou salè pou gwo travay Afilye pwogram.
Rezilta 1 7 nan 7

Thread: koutim drapo plasman

  1. #1

    Question koutim drapo plasman

    Hi

    Mwen vle ajoute drapo yo nan modèl navbar mwen an nan pozisyon sa a:


    Men, tou sa mwen fè l 'pa fè okenn travay.
    Swa li kase totalman Layout la si mwen ajoute li kòm eleman lis nan modèl la navbar
    <li> {VB: anvan tout koreksyon vbenterprisetranslatorflags} </ li>

    epi si mwen vlope l 'nan yon div ak pozisyon li via CSS (tankou sou Ekran an), drapo yo, yo pa klikabl sou Firefox (men sou IE8 yo)

    Code:
    .vbetflags_position {
    	position: absolute;
    	right:200px;
    	top: 25px;
    }
    
    <div id="flaggen" class="vbetflags_position">
     {vb:raw vbenterprisetranslatorflags}
    </div>
    Tanpri ede

    StarBuG

  2. #2
    Michał Podbielski (vBET Anplwaye) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    Ou ka itilize deroulan meni si ou vle - vBET gen bati nan sipò pou ajoute l 'nan navbar.

    Si ou vle mete yo nan drapo navbar nòmal, tanpri chanje modèl: vbenterprisetranslator_flags
    Tanpri eseye yon sèl sa a (pa te teste):
    Code:
    <!--vBET_SNTA--><!--vBET_NRE-->
    <vb:each from="flags" value="flag">
    <li><a rel="novbseo" href="{vb:var flag.url}" <vb:if condition="$flag['code']==$vbulletin->options['vbenterprisetranslator_forumlanguage']">onclick="document.cookie = 'vbet_language=; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/'; return true;"</vb:if>><img src="images/vbet/flags/{vb:var flag.code}.gif" alt="{vb:var flag.name}" <vb:if condition="$vbulletin->options['vbenterprisetranslator_flags_noborder'] && !$flag['highlight']">border="0"</vb:if><vb:if condition="$flag['highlight']">style="border-style: solid; border-width: 1px; border-color: yellow;"</vb:if>/></a></li>
    </vb:each>
    <!--vBET_ENTA-->
    Tanpri, fè nou konnen li te ede

  3. #3

    Default

    Postal ou a mete drapo ki anwo yo chak ak lòt yo toujou pa klikabl.
    Mwen pa ta vle yon gout desann paske li pral dwe rate pa itilizatè yo.
    Avèk drapo dirèkteman vizib li se pi fasil jwenn pou itilizatè.

  4. #4
    Michał Podbielski (vBET Anplwaye) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    Jis fè tès sa a postal epi li se OK. Tanpri asire w ke ou te ajoute nan plas drapo ki apwopriye yo. Nan ka nan pwoblèm lavni tanpri voye HTML pwodiksyon pou moun ki drapo kase.

  5. #5

    Default

    Ahh ok,

    Mwen te eseye li ak veso a ak DIV ki travay did't.
    Kounye a ak Version la <li> li fonksyone.

    Mèsi poutèt ou

  6. #6
    Senior Member
    Join Date
    Nov 2010
    Posts
    6

    Default

    Quote Originally Posted by vBET View Post
    Ou ka itilize deroulan meni si ou vle - vBET gen bati nan sipò pou ajoute l 'nan navbar.

    Si ou vle mete yo nan drapo navbar nòmal, tanpri chanje modèl: vbenterprisetranslator_flags
    Tanpri eseye yon sèl sa a (pa te teste):
    Code:
    <!--vBET_SNTA--><!--vBET_NRE-->
    <vb:each from="flags" value="flag">
    <li><a rel="novbseo" href="{vb:var flag.url}" <vb:if condition="$flag['code']==$vbulletin->options['vbenterprisetranslator_forumlanguage']">onclick="document.cookie = 'vbet_language=; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/'; return true;"</vb:if>><img src="images/vbet/flags/{vb:var flag.code}.gif" alt="{vb:var flag.name}" <vb:if condition="$vbulletin->options['vbenterprisetranslator_flags_noborder'] && !$flag['highlight']">border="0"</vb:if><vb:if condition="$flag['highlight']">style="border-style: solid; border-width: 1px; border-color: yellow;"</vb:if>/></a></li>
    </vb:each>
    <!--vBET_ENTA-->
    Tanpri, fè nou konnen li te ede
    Hi there,

    nan vBulletin 4.0.8 mwen te chanje vbenterprisetranslator_flags yo template soti nan

    Code:
    <!--vBET_SNTA--><!--vBET_NRE-->
    <div class="vbetflagsbox">
    <vb:each from="flags" value="flag">
    <a rel="novbseo" href="{vb:var flag.url}" <vb:if condition="$flag['code']==$vbulletin->options['vbenterprisetranslator_forumlanguage']">onclick="document.cookie = 'vbet_language=; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/'; return true;"</vb:if>><img class="vbet-flag vbet-{vb:raw flag.code}" width="16" height="11" src="images/vbet/flags/clear.gif" alt="{vb:var flag.name}" <vb:if condition="$vbulletin->options['vbenterprisetranslator_flags_noborder'] && !$flag['highlight']">border="0"</vb:if><vb:if condition="$flag['highlight']">style="border-style: solid; border-width: 1px; border-color: yellow;"</vb:if>/></a>
    </vb:each>
    </div><!--vBET_ENTA-->
    modificated youn ou

    Code:
    <!--vBET_SNTA--><!--vBET_NRE-->
    <vb:each from="flags" value="flag">
    <li><a rel="novbseo" href="{vb:var flag.url}" <vb:if condition="$flag['code']==$vbulletin->options['vbenterprisetranslator_forumlanguage']">onclick="document.cookie = 'vbet_language=; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/'; return true;"</vb:if>><img src="images/vbet/flags/{vb:var flag.code}.gif" alt="{vb:var flag.name}" <vb:if condition="$vbulletin->options['vbenterprisetranslator_flags_noborder'] && !$flag['highlight']">border="0"</vb:if><vb:if condition="$flag['highlight']">style="border-style: solid; border-width: 1px; border-color: yellow;"</vb:if>/></a></li>
    </vb:each>
    <!--vBET_ENTA-->
    men drapo yo pa pral fè sa yo yo sipoze. Yon vire epi boule. Èske nenpòt moun gimme yon men ede sou sa a?

  7. #7
    Entèdi
    Join Date
    Nov 2010
    Posts
    95

    Default

    Èske ou ta kapab louvri yon moso fil nouvo ak pwoblèm ou an?
    Additionaly, presize, nan ki kote ou vle gen sa yo drapo.

Tags pou sa a Thread

Posting Permissions

  • Ou Pouvwa pa Post fil nouvo
  • Ou Pouvwa pa Post replies
  • Ou Pouvwa pa Post atachman
  • Ou Pouvwa pa modifye posts ou
  •