Forum

 
You must be logged in to post Login Register


Register? | Lost Your Password?

Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

DCG issues with jQuery slide out panel

awaiting user
UserPost

9:37 pm
February 10, 2010


AliKK

Member

posts 6

1

Hi there,

I've been a long time fan of Studiopress themes and the FCG.  Built many sites using both.  However, this time around, I'm trying to add a jQuery slide out panel to the page, which conflicted with FCG.  Thought I'd finally give DCG a try, as it seems to have more scripting options.  Well, I've done all I can, and I still can't seem to get the slider to work with DCG.  Do you have any tips?  

Using WordPress 2.9.1

Check out the issue here:

http://204.12.97.59/

Thanks so much.

10:45 pm
February 10, 2010


Ade

Admin

posts 1140

2

Hi,

The DCG is supplied with 2 javascripts. Try selecting jQuery in the Javascript Framework options in the DCG's Settings page.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

11:02 pm
February 10, 2010


AliKK

Member

posts 6

3

Yeah…I've actually tried that with no luck. 

11:18 pm
February 10, 2010


Ade

Admin

posts 1140

4

Looks like you're using the Featured Content Gallery, not my plugin.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

11:21 pm
February 10, 2010


AliKK

Member

posts 6

5

Yes, I reverted back, just because I'm more familiar with it.  I'd be happy to activate and insert the DCG code if that will help you.  I just thought you might see something in the slide out code that might be affecting the DCG.

12:23 am
February 11, 2010


Ade

Admin

posts 1140

6

It's easier to help when I can see what's going on. Have you removed the FCG code from home.php when swapping to the DCG?

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

1:06 am
February 11, 2010


AliKK

Member

posts 6

7

Hi,

Thanks again for the help.  

I have reactivated and inserted the correct code for DCG.  I have it using mootools right now.  If I set it to jQuery, the box surrounding the gallery increases in size (length wise) and the black box disappears completely.

9:24 am
February 11, 2010


Ade

Admin

posts 1140

8

It's difficult to tell for sure, but it looks like the slide out plugin you're using doesn't use jQuery noConflict() properly.

Can you show me what it looks like when you use the DCG in jQuery mode?

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

12:36 am
February 12, 2010


AliKK

Member

posts 6

9

Hi there,

I just switched it to jQuery.  Also, when I was doing some of my own research, I found something that suggested I add the following code to my functions.php file, which I did.  I'd be happy to remove it, if that helps:

function childtheme_jquery() {
?>

   <script type="text/javascript">
     jQuery.noConflict();
   </script>

<?php
}
add_action('wp_head', childtheme_jquery);

10:28 am
February 12, 2010


Ade

Admin

posts 1140

10

Post edited 10:31 am – February 12, 2010 by Ade


Is the Slider Tab thing a WP plugin or a script you've added manually to the theme? If the latter, you need to change this line of code (added by your Slider Tab):

$(function(){    $('.slide-out-div').tabSlideOut({
to this:

jQuery(function(){    jQuery('.slide-out-div').tabSlideOut({

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

9:23 pm
February 12, 2010


AliKK

Member

posts 6

11

Hi,

I added it manually, and changed the above code.  Still no luck (even tried with mootools, just in case).

12:21 am
February 16, 2010


Ade

Admin

posts 1140

12

Not sure what to suggest, I'm afraid. Confused

I've seen plenty of sites using similar sliders and the DCG. I wonder if you should try some different scripts. Just a thought.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?