(X)HTML, JavaScript, DHTML, XML, CSS Client scripting tehnologije, Dynamic HTML, Cascading Stylesheets, XML i standardi |
|
Alati teme | Način prikaza |
25. 03. 2009. | #1 |
profesionalac
Professional
Datum učlanjenja: 11.10.2006
Lokacija: beograd, srbija
Poruke: 271
Hvala: 32
10 "Hvala" u 7 poruka
|
vertical marquee
pozdrav ljudi,
nisam nasao ni jednu slicnu temu, a sada mi bas treba jedna ovakva skripta, znaci: - vertikalni marquee (scrolling text) - da tekst "curi" od dole-ka-gore ovo je dobar primer onoga sto mi treba: http://remysharp.com/demo/marquee.html ali problem sa ovom skriptom je sto ima ubagovanu _sirinu_ teksta, i tekst se nikada ne prelama, vec prosto nestaje u overflow:hidden atributu... da ne duzim previse - probao sam 7-8 razlicitih skripti sa neta, i ni jedna nije dovoljno dobra, ili cista za implementaciju. koristim jQuery maksimalno, pa sam probao da nadjem i nesto native za jquery, ali bez srece.. sta vi koristite, ako morate, za takav vertikalni skrol vesti ili necega slicnog na sajtu? znam da je malo retro fora, ali klijent trazi, pa stagod... necemo da prkosimo :P thx na vremenu! |
25. 03. 2009. | #2 |
Nikola Denić
Sir Write-a-Lot
|
evo ti kako smo mi radili horizonatlni ticker preko jq na syn-cap.com
Kôd:
$(document).ready(function() { try { var ticker_holder = $('.ticker-holder').get(0); var ticker_text = $('.ticker').get(0); var ticker_pos = ticker_text.parentNode.offsetWidth; var ticker_data = $(ticker_holder).html(); $(ticker_text).parent().html('<marquee scrollamount="1" scrolldelay="40">' + ticker_data + '</marquee>'); $('#sub-nav').hover ( function() { $('marquee', this).get(0).stop(); }, function() { $('marquee', this).get(0).start(); } ); if ($.browser.msie && $.browser.version >= 7.0) { $('#sub-nav').append('<div class="fadel"></div><div class="fader"></div>'); $('.fader').css('left', ticker_pos - 22); } } catch (o) {} });
__________________
Do not ask yourself what the world needs. Ask yourself what makes you come alive, and then go do that. Because what the world needs is people who have come alive |
25. 03. 2009. | #3 |
profesionalac
Professional
Datum učlanjenja: 11.10.2006
Lokacija: beograd, srbija
Poruke: 271
Hvala: 32
10 "Hvala" u 7 poruka
|
hvala Nixa druze, to je to!
reseno! |
25. 03. 2009. | #5 |
Nikola Denić
Sir Write-a-Lot
|
^ odma dodje
__________________
Do not ask yourself what the world needs. Ask yourself what makes you come alive, and then go do that. Because what the world needs is people who have come alive |
25. 03. 2009. | #6 |
Goran Pilipović
Sir Write-a-Lot
|
au bre, "horisonatal"?
__________________
Goran Pilipović a.k.a. Ugly Fingers Bradley f.k.a. bluesman I don't always know what I'm talking about but I know I'm right! |
25. 03. 2009. | #7 |
Nikola Denić
Sir Write-a-Lot
|
^ daj bre ne zajebavaj me pa ti ceo dan sam u guzvi
__________________
Do not ask yourself what the world needs. Ask yourself what makes you come alive, and then go do that. Because what the world needs is people who have come alive |
|
|
Slične teme | ||||
Tema | Početna poruka teme | Forum | Odgovori | Poslednja poruka |
CSS, vertical-align i skleroza | ivanhoe | (X)HTML, JavaScript, DHTML, XML, CSS | 13 | 04. 08. 2006. 15:43 |