javascript?
|
|
Naruto-kun | Date: Luni, 2011-08-15, 19:23 | Message # 1 |
| Cum pot face ca in momentul cand am mai multe servere sa am butoane ,iar atunci cand da pe un buton sa se schimbe video-ul...gen aici ..dedesupt la trailer http://filme-online-noi.com/sinners-saints . Multumesc !
|
|
|
|
Devil | Date: Marţi, 2011-08-16, 13:48 | Message # 2 |
| Naruto-kun, nu se poate automat
|
|
|
|
Naruto-kun | Date: Marţi, 2011-08-16, 18:26 | Message # 3 |
| si cum fac manual?
|
|
|
|
Devil | Date: Miercuri, 2011-08-17, 09:13 | Message # 4 |
| Naruto-kun, L-am intrebat pe Lucian ( face parte din staff-ul ucoz ) si a zis ca este un javascripts , pe care nu il are daca o sa fac rost o sa te anunt
|
|
|
|
Muşatinu | Date: Miercuri, 2011-08-17, 10:44 | Message # 5 |
| Devil, am sa iau o bata groasa si mare si am sa te invat sa scoti din sursa...
Naruto-kun, Deci in CSS bagi: Code /* minimal *******************************************************************************/ button.minimal { background: #e3e3e3; border: 1px solid #bbb; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; -moz-box-shadow: inset 0 0 1px 1px #f6f6f6; -webkit-box-shadow: inset 0 0 1px 1px #f6f6f6; box-shadow: inset 0 0 1px 1px #f6f6f6; color: #333; font-family: "helvetica neue", helvetica, arial, sans-serif; font-size: 12px; font-weight: bold; line-height: 1; padding: 8px 0 9px; text-align: center; text-shadow: 0 1px 0 #fff; width: 150px; cursor: pointer; }
button.minimal:hover { background: #d9d9d9; -moz-box-shadow: inset 0 0 1px 1px #eaeaea; -webkit-box-shadow: inset 0 0 1px 1px #eaeaea; box-shadow: inset 0 0 1px 1px #eaeaea; color: #3398C1; cursor: pointer; }
button.minimal:active { background: #d0d0d0; -moz-box-shadow: inset 0 0 1px 1px #e3e3e3; -webkit-box-shadow: inset 0 0 1px 1px #e3e3e3; box-shadow: inset 0 0 1px 1px #e3e3e3; color: #000; cursor: pointer; }
#playerc { display:none; background: #E5E7EB; border: 1px solid #3398C1; padding:3px; width:600px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; margin-top:10px; } Unde vrei sa apara chesti data in Head bagi: Code <script type="text/javascript" src="http://maxrom.ucoz.com/js/btnbuton.js"></script>
Si tot acolo unde a nevoie pui: Code <a class="btn_test" onclick="schimbare_sursa(1);"> <button class="minimal">Buton 1</button> </a> <textarea style="display:none" id="1"> Continut 1 </textarea>
<a class="btn_test" onclick="schimbare_sursa(2);"> <button class="minimal">Buton 2</button> </a> <textarea style="display:none" id="2"> Continut 2 </textarea>
<a class="btn_test" onclick="schimbare_sursa(3);"> <button class="minimal">Buton 3</button></a> <textarea style="display:none" id="3"> Continut 3 </textarea> <div id="playerc"></div>
Bafta..
|
|
|
|
Naruto-kun | Date: Miercuri, 2011-08-17, 13:15 | Message # 6 |
| încă o întrebare, dacă se poate. Cum pot face ca pe prima pagina să fie deschis serverul 1, dar dacă vizitatorului nu îi convine să treacă la următoarele. Dar 1 din cele 3 să fie deja deschis
|
|
|
|
|
Naruto-kun | Date: Miercuri, 2011-08-17, 13:32 | Message # 8 |
|
|
|
|
|
|
Naruto-kun | Date: Miercuri, 2011-08-17, 13:56 | Message # 10 |
| ok, astept un raspuns de la Devil
|
|
|
|
Muşatinu | Date: Joi, 2011-08-18, 09:38 | Message # 11 |
| Naruto-kun,
In CSS pui: Code /* ######### CSS for Shade Tabs. Remove if not using ######### */
.shadetabs{ padding: 3px 0; margin-left: 0; margin-top: 1px; margin-bottom: 0; font: bold 12px Verdana; list-style-type: none; text-align: center; /*set to left, center, or right to align the menu as desired*/ height:10px; }
.shadetabs li{ display: inline; margin: 0; }
.shadetabs li a{ text-decoration: none; position: relative; padding: 3px 7px; margin-right: 3px; border: 1px solid #778; color: #2d2b2b; background-color:#5A9CC9; padding-left: 5px; }
.shadetabs li a:visited{ color: #2d2b2b; }
.shadetabs li a:hover{ text-decoration: underline; color: #2d2b2b; }
.shadetabs li a.selected{ /*selected main tab style */ position: relative; top: 1px; }
.shadetabs li a.selected{ /*selected main tab style */ background-color:#98cef2; }
.shadetabs li a.selected:hover{ /*selected main tab style */ text-decoration: none; }
.tabcontent{ display:none; }
@media print { .tabcontent { display:block !important; } }
apoi mai in Head:
Code <script type="text/javascript" src="http://maxrom.ucoz.com/js/jsplayere/tabcontent.js"></script>
Unde vrei sa apara playerele pui: Code <ul id="countrytabs" class="shadetabs"> <li><a href="#" rel="country1" title="Click pentru a schimba sursa de vizionare" class="selected">Buton 1</a></li> <li><a href="#" rel="country2" title="Click pentru a schimba sursa de vizionare" class="selected">Buton 2</a></li> <li><a href="#" rel="country3" title="Click pentru a schimba sursa de vizionare" class="selected">Buton 3</a></li> </ul>
<br> <div id="country1" class="tabcontent"> Continut 1 </div> <div id="country2" class="tabcontent"> Continut 2 </div> <div id="country3" class="tabcontent"> Continut 3 </div>
Enjoy
|
|
|
|
Naruto-kun | Date: Marţi, 2011-08-23, 16:14 | Message # 12 |
| 1. Nu imi merge ! 2. As dori modificarea tot pe primul cod (messaje #5 din acest topic)
|
|
|
|
|
Naruto-kun | Date: Miercuri, 2011-08-24, 07:24 | Message # 14 |
| As dori ca primul player sa fie deschis iar celelalte inchise, dar prin modificarea primului cod Code /* minimal *******************************************************************************/ button.minimal { background: #e3e3e3; border: 1px solid #bbb; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; -moz-box-shadow: inset 0 0 1px 1px #f6f6f6; -webkit-box-shadow: inset 0 0 1px 1px #f6f6f6; box-shadow: inset 0 0 1px 1px #f6f6f6; color: #333; font-family: "helvetica neue", helvetica, arial, sans-serif; font-size: 12px; font-weight: bold; line-height: 1; padding: 8px 0 9px; text-align: center; text-shadow: 0 1px 0 #fff; width: 150px; cursor: pointer; }
button.minimal:hover { background: #d9d9d9; -moz-box-shadow: inset 0 0 1px 1px #eaeaea; -webkit-box-shadow: inset 0 0 1px 1px #eaeaea; box-shadow: inset 0 0 1px 1px #eaeaea; color: #3398C1; cursor: pointer; }
button.minimal:active { background: #d0d0d0; -moz-box-shadow: inset 0 0 1px 1px #e3e3e3; -webkit-box-shadow: inset 0 0 1px 1px #e3e3e3; box-shadow: inset 0 0 1px 1px #e3e3e3; color: #000; cursor: pointer; }
#playerc { display:none; background: #E5E7EB; border: 1px solid #3398C1; padding:3px; width:600px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; margin-top:10px; } In head: Code <script type="text/javascript" src="http://maxrom.ucoz.com/js/btnbuton.js"></script>
iar unde vreau sa apara playerele: Code <a class="btn_test" onclick="schimbare_sursa(1);"> <button class="minimal">Buton 1</button> </a> <textarea style="display:none" id="1"> Continut 1 </textarea>
<a class="btn_test" onclick="schimbare_sursa(2);"> <button class="minimal">Buton 2</button> </a> <textarea style="display:none" id="2"> Continut 2 </textarea>
<a class="btn_test" onclick="schimbare_sursa(3);"> <button class="minimal">Buton 3</button></a> <textarea style="display:none" id="3"> Continut 3 </textarea> <div id="playerc"></div>
2. Cel de-al doilea cod pe care mi l-ai dat nu functioneaza+ ca butoanele pentru schimbat playerele sunt foarte urate ..ultimul cod insemnand mesajul #11
Mesaj editat de Naruto-kun - Miercuri, 2011-08-24, 07:25 |
|
|
|
Muşatinu | Date: Miercuri, 2011-08-24, 07:49 | Message # 15 |
| Naruto-kun, ei se incepe... Paul eu reiau un script si vil dau, da in nici un caz nu lucrez la el sa vil fac asa cum va doreste ranza...
bine iti zic ideia tu fa singr, asta daca ai in vedere butonu, incercati sa lucrati singuri.... Deci iai din stiulul CSS1 primile 40 randuri le pui in al 2-lea CSS
iar in script (caatare ala nu e script ) schimbi selected cu minimal
garantie ca va merge nu-ti dau
|
|
|
|