This article mainly introduces jQuery's focus chart code for achieving title typing effects, which enables simultaneous display of titles one by one during slide switching, it involves jQuery's skills in json format data operations and time functions. For more information, see the example in this article to describe jQuery's focus graph code for achieving typed titles. We will share this with you for your reference. The details are as follows:
We will share with you a focus chart based on jQuery titles with a typing effect. it has the function of gradually displaying titles. This focus chart applies to browsers such as IE8, 360, FireFox, Chrome, Safari, Opera, Aoyou, Sogou, and windows of the world.
The running effect is as follows:
The online demo address is as follows:
Http://demo.jb51.net/js/2015/jquery-title-print-style-flash-codes/
Click here to download the complete instance code.
The html code is as follows:
The js code is as follows:
If (! Window. slider) {var slider ={};} slider. data = [{"id": "slide-img-1", // corresponds to the img tag id in slide-runner "client": "Title 1", "desc ": "Here modify description here" // Here modify description}, {"id": "slide-img-2", "client": "Title 2", "desc ": "add your description here" },{ "id": "slide-img-3", "client": "Title 3", "desc": "add your description here "}, {"id": "slide-img-4", "client": "Title 4", "desc": "add your description here" },{ "id": "slide-img-5 ", "client": "Title 5", "desc": "add your description here" },{ "id": "slide-img-6", "client": "Title 6 ", "desc": "add your description here" },{ "id": "slide-img-7", "client": "Title 7", "desc ": "add your description here"}];
I hope this article will help you with jQuery programming.