[support] Is there a drupal way to do this? (views + AJAX/jQuery)

brendan, fresh-off.com hello at fresh-off.com
Wed Nov 11 23:08:03 UTC 2009


Thanks for the response and getting me started!

 

From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On
Behalf Of Tony Zielinski
Sent: Tuesday, November 10, 2009 12:34 AM
To: support at drupal.org
Subject: Re: [support] Is there a drupal way to do this? (views +
AJAX/jQuery)

 

I think you'll find that sort of thing very easily done without any modules
at all just by learning a little jQuery.  It sounds like you already have
the knowledge how to create the View so I'll just give you a simple jQuery
snippet:

$(window).unload( function() { $("div.contentToChange
p.firstparagraph:visible").slideUp("slow"); } );
$ <http://docs.jquery.com/Core/%24> (window).load( function() {
$("div.contentToChange p.firstparagraph:hidden").slideDown("slow"); } );
 
I don't foresee it being any more of a performance issue than the example
site you mentioned.  
 
Best of luck!

 

On Nov 10, 2009, at 12:13 AM, brendan, fresh-off.com wrote:





Hello  List

 

I'm working on finally updating my site/portfolio and came across this while
looking for inspiration:  http://pixelresort.com/portfolio/

You'll notice that underneath his main navigation, he has "exposed filters"
that change the portfolio view with some Javascript/AJAX/jQuery/etc.  I'm
wondering if something like that Javascript/AJAX/jQuery/etc. effect could be
done with Drupal - and on a portfolio page that not only uses Views, but
also pagination?  And if it is, any pointers towards helpful modules?

 

Another question that comes to mind is, if one were to use a
Javascript/AJAX/jQuery/etc. effect like the one on the Pixel Resort site,
but with several pages of content -  is that likely to cause any performance
issues?

 

 

Thanks for any input!


----

 

brendan, fresh-off.com

Creative Direction & Consultation: Web | Print | Brand

 

http://fresh-off.com

hello at fresh-off.com

206.328.1067

 

 

-- 
[ Drupal support list | http://lists.drupal.org/ ]

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20091111/b9e7a020/attachment-0001.html 


More information about the support mailing list