Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> przewijanie reklam
pys1986
post
Post #1





Grupa: Zarejestrowani
Postów: 233
Pomógł: 0
Dołączył: 18.01.2005

Ostrzeżenie: (0%)
-----


Witam, chciałbym zrobić na swoją strone na dole poziomy pasek z przewijanymi w kółko reklamami, ale niewiem jak sie do tego zabrać (IMG:style_emoticons/default/sad.gif) niestety javascript`u nieznam za bardzo (IMG:style_emoticons/default/sad.gif) proszęo jakieś podpowiedzi i może przykłady (IMG:style_emoticons/default/smile.gif)
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
pys1986
post
Post #2





Grupa: Zarejestrowani
Postów: 233
Pomógł: 0
Dołączył: 18.01.2005

Ostrzeżenie: (0%)
-----


niestety próbowałem już tych wszystkich opcji i nic (IMG:style_emoticons/default/sad.gif)


edit:
a może tu trzeba coś zmienić (carousel.js):
  1. next: function () {
  2. if (this.current) {
  3. var currentIndex = this.current._index;
  4. var nextIndex = (this.slides.length - 1 == currentIndex) ? (this.options.circular ? 0 : currentIndex) : currentIndex + 1;
  5. } else {
  6. var nextIndex = 1;
  7. }
  8.  
  9. if (nextIndex == 0 && this.options.circular && this.options.effect != 'fade') {
  10. this.scroller.scrollLeft = 0;
  11. this.scroller.scrollTop = 0;
  12. nextIndex = 1;
  13. }
  14.  
  15. if (nextIndex > this.slides.length - (this.options.visibleSlides + 1)) {
  16. nextIndex = this.slides.length - this.options.visibleSlides;
  17. }
  18.  
  19. this.moveTo(this.slides[nextIndex]);
  20. },


no więc nadal poszukuje skryptu do przewijania rekalm (IMG:style_emoticons/default/sad.gif)

Ten post edytował pys1986 16.08.2009, 08:42:27
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 3.10.2025 - 17:15