.wrapAll('
') // Float left to display horizontally, readjust .slides width .css({ 'float' : 'right', 'width' : slideWidth }); // Set #slideInner width equal to total width of all slides $('#slideInner').css('width', slideWidth * numberOfSlides); // Insert controls in the DOM $('#slideshow') .prepend('Clicking moves left') .append('Clicking moves right'); // Hide left arrow control on first load manageControls(currentPosition); // Create event listeners for .controls clicks $('.control') .bind('click', function(){ // Determine new position currentPosition = ($(this).attr('id')=='rightControl') ? currentPosition+1 : currentPosition-1; // Hide / show controls manageControls(currentPosition); // Move slideInner using margin-left $('#slideInner').animate({ 'marginLeft' : slideWidth*(-currentPosition) }); }); // manageControls: Hides and Shows controls depending on currentPosition function manageControls(position){ // Hide left arrow if position is first slide if(position==0){ $('#leftControl').hide() } else{ $('#leftControl').show() } // Hide right arrow if position is last slide if(position==numberOfSlides-1){ $('#rightControl').hide() } else{ $('#rightControl').show() } } });

Threads of the Fate

Информация о пользователе

Привет, Гость! Войдите или зарегистрируйтесь.


Вы здесь » Threads of the Fate » Гостевая


Гостевая

Тем 61 страница 90 из 266

Тема Ответов Просмотров Последнее сообщение
0 1 2024-02-08 17:55:12  XRumer23Lig
62 CUTE LITTLE GIRLS  MatthewBef
0 1 2024-02-08 06:33:59  MatthewBef
63 FU??CK COLLECTION  LuonelOdota
0 3 2024-02-02 19:19:07  LuonelOdota
0 3 2024-01-31 01:29:09  Normanbem
0 8 2024-01-27 01:26:24  0kyanusBahis
66 Test, just a test  Robertamupt
0 2 2024-01-26 22:31:24  Robertamupt
67 FU??CK COLLECTION  LuonelOdota
0 1 2024-01-26 14:02:54  LuonelOdota
68 FU??CK COLLECTION  LuonelOdota
0 3 2024-01-25 18:00:50  LuonelOdota
0 4 2024-01-22 17:02:04  onyxBet
0 3 2024-01-22 00:41:43  JimmymUrdy
0 5 2024-01-17 15:13:32  onyxBet
72 S??E??X?  Anthunyrab
0 2 2024-01-16 06:58:40  Anthunyrab
0 6 2024-01-12 22:48:12  StephenBib
0 1 2024-01-06 07:41:24  Willy
0 5 2024-01-01 02:51:46  Chesterdruts
0 6 2023-12-22 18:29:26  BillyNIB
77 When chat gpt 6 arrive?  Sergigoglma
0 11 2023-12-22 14:35:43  Sergigoglma
0 2 2023-12-15 02:26:20  MichaelDex
1 13 2023-12-14 16:09:58  Ruben
1 12 2023-11-30 15:35:12  Wallace
0 2 2023-11-30 11:43:15  Grovergeown
82 ...  SEOCopywriting
0 9 2023-11-22 16:17:21  SEOCopywriting
83 Guest Post on news sites  Jamesbadly
0 2 2023-11-21 08:40:15  Jamesbadly
1 9 2023-11-20 04:57:43  Harriett
0 2 2023-11-16 19:02:09  Williammet
86 gmail gmail gmail  gmailinsep
0 1 2023-11-16 06:35:15  gmailinsep
0 5 2023-11-14 03:20:32  HowardClEds
88 Thanks, +  Michaelrhike
0 7 2023-11-13 13:09:05  Michaelrhike
0 1 2023-11-10 23:29:37  ScottHaump
90 Cool + for the post  ThomasNox
0 3 2023-11-10 09:46:23  ThomasNox

Вы здесь » Threads of the Fate » Гостевая


Рейтинг форумов | Создать форум бесплатно