Recent Topics

1 Apr 25, 2010 22:55    

My b2evolution Version: 2.x

I'm updating my skin and would like to incorporate some ajax transitions; ie. if you click on a link to a post, or a link to a category, there is an ajax transition almost like a slideshow effect, when loading that post/category.

I can find examples of code easily on the net, but is there a specific way to implement it in b2evo? (I'm assuming that some hacking of the php code will be necessary) Is it even doable with b2evo?

(Or if anyone has a suggestion that would work better, that would be great too)

I'm kind of looking for ways to make my design more web 2.0, but still keep using b2evo.


2 Apr 27, 2010 11:49

use a jQuery its a a fast, concise, JavaScript Library that simplifies how you traverse HTML documents, handle events, perform animations, and add Ajax interactions to your web pages. jQuery is designed to change the way that you write JavaScript."

In your skin's main.tpl.php file, find this line:

skin_include( '' );

and right above it, add this:

require_js( '#jquery#' );

3 May 05, 2010 15:14

Thanks jmcausing. I'm trying it out now - wish I understood more of the jquery code, not having much luck implementing it yet! :)

Form is loading...