>Just a suggestion. How about being able to do it in a more jQuery-like >way. Instead of adding a div called 'HeartBeatDIV' to the page, you >could apply it to an existing div, i.e.: > >$("#mydiv").jheartbeat({url: "mypage.asp", delay: 3000}, myCallBackFunction) > >You could then use it several times on a page as well (as in several >div's that reload content from different locations periodically).
Good idea, thanks. And, if I can get it working like that, as a bonus, it will help me out with the next JQuery plugin I'm working on (JTicker). >Another suggestion would be the ability to pass on parameters: >$("#mydiv").jheartbeat({url: "mypage.asp", delay: 3000, urlparams : >{searchfor: "bar"} }, myCallBackFunction) Another good suggestion, thanks. :-) -Jason Levine http://www.jasons-toolbox.com/ _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/