.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 » Реклама » FrankAbuts


FrankAbuts

Сообщений 1 страница 7 из 7

1

I always used to study post in news papers but now as I am a user of net thus from now I am using net for posts, thanks to web.

0

2

I believe what you wrote made a ton of sense. But, think about this, what if you typed a catchier post title? I am not saying your content isn't solid., but suppose you added something to possibly get a person's attention? I mean %BLOG_TITLE% is a little boring. You should look at Yahoo's front page and see how they create news titles to grab viewers interested. You might add a video or a picture or two to grab readers excited about everything've got to say. In my opinion, it might make your posts a little bit more interesting.

0

3

Usually I don't learn post on blogs, but I wish to say that this write-up very forced me to try and do it! Your writing style has been amazed me. Thanks, quite nice article.

0

4

I know this if off topic but I'm looking into starting my own weblog and was wondering what all is required to get setup? I'm assuming having a blog like yours would cost a pretty penny? I'm not very internet smart so I'm not 100% sure. Any recommendations or advice would be greatly appreciated. Thanks

0

5

Wonderful blog! I found it while browsing on Yahoo News. Do you have any tips on how to get listed in Yahoo News? I've been trying for a while but I never seem to get there! Thank you

0

6

It is perfect time to make a few plans for the long run and it is time to be happy. I've learn this publish and if I could I want to recommend you few fascinating issues or suggestions. Perhaps you can write next articles regarding this article. I wish to learn even more things approximately it!

0

7

Have you ever thought about publishing an e-book or guest authoring on other sites? I have a blog based upon on the same information you discuss and would really like to have you share some stories/information. I know my visitors would value your work. If you're even remotely interested, feel free to send me an e mail.

0


Вы здесь » Threads of the Fate » Реклама » FrankAbuts


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