Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need to set delay only for one icon in the browser
26th May, 20:31
Post: #1
Need to set delay only for one icon in the browser
HI Everyone,

I am new to Jquery,I need help in setting delay only for one icon of 5 icon on my page.
I tried
var elems = $('li');
hide: {
target: elems, delay: 5000
},

Didnt work,Can any one help me out with this.

Thanks in advance.
Find all posts by this user
Quote this message in a reply
26th May, 21:15
Post: #2
RE: Need to set delay only for one icon in the browser
So, you want to use the exact same config, except one of the links has a delay? Perhaps...
JS Code
$('.selector').each(function(i) {
	$(this).qtip({
		hide: {
			elems: $('li'),
			delay: i === 5 ? 4000 : 0
		}
	});
});

Craig Thompson
Web Developer / Designer
Craigsworks
http://www.craigsworks.com
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [Solved] how to set an ID for the qtip generated element buntu 8 3,226 16th February 09:53
Last Post: johannapelkonen
  [Solved] qTip Delay is not working yenni104 2 620 1st November 03:32
Last Post: yenni104
  Loading images: how to set the 'src'? Gustavo 2 1,458 26th October 23:15
Last Post: thomaspiter



User(s) browsing this thread: 1 Guest(s)