Go Back   Pligg CMS Forum > Pligg Development > Modification Tutorials

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-18-2007, 12:04 PM
Constant Pligger
 
Join Date: Oct 2006
Posts: 227
Thanks: 56
Thanked 22 Times in 18 Posts
Lightbox Thickbox Scriptaculous jbquery

I've been reading through a bunch of threads trying to wrap my head around thickbox and lightbox and scriptaculous and jbquery. It seems like since thickbox was introduced people are now thinking of switching all effects over to jbquery.

Is jbquery an alternative to scriptaculous?
Do the two offer similar functionality?
Does one eliminate the need for the other?

If so ...
Is there anything we would be missing out on from scriptaculous (such as the possibility of using it's Ajax features)?

Is jbquery as easy to implement for novices as scriptaculous?
Reply With Quote
  #2 (permalink)  
Old 04-18-2007, 12:13 PM
Constant Pligger
 
Join Date: Mar 2006
Posts: 575
Thanks: 14
Thanked 126 Times in 61 Posts
At one point there was talk about replacing current scriptaculous effects with jquery, so that everything could use 1 library (the thickbox effects have proved popular). However it was decided that the default yget template was too heavily coded to use scriptaculous to make the change worthwhile.

Technically, jquery can do everything scriptaculous can do....and vice versa. There is a thickbox module that uses scriptaculous (which would solve the problem of multiple libraries and confusion) but it doesn't work 100% from my testing. I'm hoping it can be made to work, then jquery can be pushed aside.

If I was starting from scratch though, I'd use jquery for everything! Their website has all the functions needed to do whatever you want quite easily.
__________________

Reply With Quote
The Following User Says Thank You to Simon For This Useful Post:
  #3 (permalink)  
Old 04-18-2007, 12:23 PM
Constant Pligger
 
Join Date: Oct 2006
Posts: 227
Thanks: 56
Thanked 22 Times in 18 Posts
Thanks for the info Simon.

Is jbquery more efficient? more powerful?
Reply With Quote
  #4 (permalink)  
Old 04-18-2007, 12:54 PM
Constant Pligger
 
Join Date: Mar 2006
Posts: 575
Thanks: 14
Thanked 126 Times in 61 Posts
Direct comparisons are really hard to make - there are some cases when jquery is faster, others where it is not. I do think that jquery lets you do things in a way that is more lightweight in a lot of cases (less code) and their website is great for info on how to achieve different effects or actions.

Maybe it comes down to personal preference at the end of the day...
__________________

Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
[MOD] Thickbox Module for Pligg cent Modification Tutorials 35 11-19-2008 09:54 AM
Optimised Scriptaculous Module with Thickbox Simon Modification Tutorials 78 07-27-2008 01:11 AM
Lightbox for images upload v.xx qvnsq Modification Tutorials 0 06-04-2008 12:06 PM
Lightbox and Thickbox Geoserv General Help 2 02-16-2008 09:17 AM


Search Engine Friendly URLs by vBSEO 3.2.0