logo
  • Home
  • About
  • Services
  • Portfolio
  • Contact Us
  • Submit Guest post
Simple Text Slider Using Jquery Slide Function

Simple Text Slider Using Jquery Slide Function

June 1, 2016 No comments Article SEO Website Designing

Hi Friends, Today i will how to create simple text slider using jquery slide function. Most of the time we need a text slider upon one image or somewhere else. At that moment anyone can use the text slider for enhancing the user experience with their website.

Advantages of Simple Text Slider Using Jquery Slide Function:

  • You can define your custom css.
  • You can add anywhere in your website
  • Fast loading speed due to simple code

Simple Text Slider Using Jquery Slide Function Live Demo:

See the Live Demo and download the code below:

SEO Website Designing Live Demo      SEO Website Designing Download

For More information about Website Design you can click below:
Pure CSS Button With Lightening Glowing and Shining Effect
Create Expand Collapse Sliding Menu Using jQuery
Background Color Change Automatically Using Jquery
How to add smart slider Facebook Like Box Pop-up
Learn Ajax For Beginners In Hindi
33 New Awesome Features in CSS3 and CSS4
Simple Show Hide Accordion Code Using Jquery
Add Diwali Fireworks Using Jquery In Your Website
Add CKEditor in Html Form using Jquery
Jquery Me Simple Slider Kaise Bnate Hai
Learn JQUERY Code Step By Step For Beginners

How To Simple Text Slider Using Jquery Slide Function:

You have to follow some steps to create a text slider using jquery. These steps are

Step1: You have to open your page in code editor.




Step2: Paste the Below Code in your web page.

HTML Code: In the below code you write your own text according to your requirement.

<h1>Simple Text Slider Using Jquery Slide Function</h1>
&nbsp;
<div id="TextSlider">
<div>Your First Text</div>
<div>Your Second Text</div>
<div>Your Third Text</div>
<div>Your Fourth Text</div>
<div>Your Fifth Text</div>
<div>Your Sixth Text</div>
<div>Increase div to add more</div>
&nbsp;
 
</div>

<h1>Simple Text Slider Using Jquery Slide Function</h1> &nbsp; <div id="TextSlider"> <div>Your First Text</div> <div>Your Second Text</div> <div>Your Third Text</div> <div>Your Fourth Text</div> <div>Your Fifth Text</div> <div>Your Sixth Text</div> <div>Increase div to add more</div> &nbsp;</div>





Jquery Code: Below jquery code is giving the functionality to text slider and you can see that i am using slideToggle function and timing to slide the text.

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>
 
<script>
 <script>
  $(function() {
    $("#TextSlider").css({
        "height" :$("#TextSlider div:first").css("height"),
        "overflow" : "hidden"
    });
 
    function slide() {
        $("#TextSlider div:first").slideToggle(1000, function() {
            var $this = $(this);
            $this.parent().append(this);
            $this.show();
            slide();
        });
    }
    slide();  
});</script>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script><script> <script> $(function() { $("#TextSlider").css({ "height" :$("#TextSlider div:first").css("height"), "overflow" : "hidden" }); function slide() { $("#TextSlider div:first").slideToggle(1000, function() { var $this = $(this); $this.parent().append(this); $this.show(); slide(); }); } slide(); });</script>

You can change the timing between the text

$("#TextSlider div:first").slideToggle(Your Time Interval, function()

Step3: After pasting the code you have to check your page in any web browser.

Enjoy Simple Text Slider Using Jquery Slide Function

For any problem you see the live demo and download the code from below.

SEO Website Designing Live Demo      SEO Website Designing Download

Read About Other Interesting Things below.

  1. HOW TO WRITE CSS CODE FOR SAFARI BROWSER ONLY (NOT CHROME)
  2. ADD GOOGLE CUSTOM SEARCH ENGINE ON YOUR WEBSITE
  3. DISABLE ADDING NOODP META ROBOTS TAG IN YOAST PLUGIN
  4. Basics of Social Media Optimization Services
  5. On Page Search Optimization Services
  6. How to Create a Website from scratch for beginners
  7. How To Write a Blog for Website and Content Marketing
  8. Website Promotion – Need For All Websites
  9. Important Things to Think Before Graphic Designs
  10. Remember Things Before Email Marketing

If You like my blog, kindly Subscribe it.

Share this:

  • Tweet
  • Telegram
  • WhatsApp
  • Share on Tumblr
  • Pocket
  • Email

Related

Categories: Website Design

Leave a Reply Cancel reply

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,505 other subscribers

Categories

  • Angular (1)
  • Content Marketing (2)
  • Email Marketing (3)
  • Graphics Design (3)
  • Keyword Strategy (1)
  • Other (3)
  • Search Engine Optimization (10)
  • Social Media Optimization (4)
  • Website Design (67)
  • WordPress (18)
  • Subscribe to Blog via Email

    Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,505 other subscribers

  • Tag Cloud

    Add Social Share button in WordPress without Plugins Bootstrap center div on screen with flexbox center div vertically and horizontally in body center div vertically and horizontally responsive Center Elements Vertically And Horizontally Using Flex Centering in CSS Create Your Own Fast Social Sharing Buttons For WordPress Creating Scroll-based Animations using jQuery and CSS3 CSS CSS3 CSS3 Variables CSS custom properties CSS Variables custom share buttons wordpress Disable Mouse Right Click Using Jquery disable right click with jquery Disabling right mouse click menu facebook Get to Know the CSS Object Fit and Position Properties How Can You Use CSS Variables HOW TO CODE A RESPONSIVE EMAILER OR NEWSLETTER How to Create Social Sharing Button without any Plugin HOW TO DESIGN A RESPONSIVE EMAILER OR NEWSLETTER how to disable right click menu in html page How to prevent Right Click option using jquery How to Restore WordPress Website from Backup Manually How to use CSS Variables HTML HTML5 javascript jquery jQuery make div slide in when scrolling down page Know About CSS Object Fit and Position Properties Meta Tags Mysql object-fit object-fit/object-position object-position Responsive Website Sliding Div When Scroll Down Page Using Jquery Vertical Centering - Solved by Flexbox Webpage Scrolling Animation Effects with CSS3 & jQuery What You Need To Know About CSS Variables wordpress
  • Copyright SEO Website Designing 2015

    loading Cancel
    Post was not sent - check your email addresses!
    Email check failed, please try again
    Sorry, your blog cannot share posts by email.