Awesome Joel,

Thanks for the plugins.

Rey

Joel Birch wrote:
> On 15/03/2007, at 12:39 AM, Rey Bango wrote:
>> Hi Joel,
>>
>> I've added the Blush premium truss tomatoes site to the list.
>>
>> Also, where's the link to your Superfish menu??!!? I love it.
>>
>> I also love the rotating content div for "blush fact". Code?
>>
>> Rey...
> 
> Thanks Rey!
> 
> The Superfish demo page link is below (It's also added to the plugins  
> page at jquery.com). It's embarrassingly basic but definitely better  
> than nothing - any suggestions for content improvement (or anything  
> else) *more* than welcome.
> 
> http://users.tpg.com.au/j_birch/plugins/superfish/
> 
> Regarding the rotating content for the Blush Fact: It felt a bit like  
> reinventing the wheel as I assumed someone had already done it  
> (heartbeat plugin springs to mind), but here it is in case it helps  
> anyone. I'll try and get to making a demo page and look closer at  
> abstracting the code further (it's kind of focussed to this site's  
> use here) if it's worth it, ie. if it is unique enough to warrant it  
> (doubt it - let me know otherwise).
> 
> (function($){
>       $.fn.switchContent = function(spd,rpt,path){
>               var $$=this;
>               var factTimer = setTimeout(function(){
>                       
> $$.animate({"opacity":"hide","height":"hide"},spd,function(){
>                               var noCache= new Date().getTime();
>                               $$.load(path+"?version="+noCache,function(){
>                                       $$.slideDown(spd,function(){
>                                               $$.switchContent(spd,rpt,path);
>                                       });
>                               });
>                       });
>               },rpt*1000);
>               return this;
>       };
> })(jQuery);
> 
> Of course, you then need a script (PHP/whatever) on the server that  
> the 'path' argument points t, which merely sends back the next bit of  
> content to fill the element you attach the plugin to. In my case I  
> randomly drew from an array of 'facts' each time.
> 
> Joel Birch.
> 
> 
> _______________________________________________
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 

-- 
BrightLight Development, LLC.
954-775-1111 (o)
954-600-2726 (c)
[EMAIL PROTECTED]
http://www.iambright.com

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to