Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: simple gallery and facebook connect

  1. #1
    Join Date
    Sep 2009
    Posts
    28
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default simple gallery and facebook connect

    1) Script Title:
    Simple Controls Gallery v1.3
    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...plegallery.htm
    3) Describe problem:

    I'm using the simple gallery script on the home page that also includes a wordpress blog. The problem Iam having is that when someone selects the link to the single blog post with comment box the simple gallery banner no longer shows, just a white background. I think the problem is caused by the facebook comment box plugin as the galery works fine with the default wordpress comment box. Im not sure how to fix the problem but can I set a background image for the simple gallery script so at least there is an image instead of a white box. Long story short is it possible for me too set a background image for this script?

    site add is: www.rentafriend.ie/wordpress

  2. #2
    Join Date
    Sep 2009
    Posts
    28
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    bump dee bump dee bump

  3. #3
    Join Date
    Feb 2011
    Posts
    15
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default

    Are you using more than one version of jQuery in the same page? I have noticed in your source that the simple gallery is using jquery-1.2.6.pack.js and wp-includes/js/jquery/is using 1.4.2 this will more than likely be the cause as both scripts are getting called at the same time and then causing a conflict you can try adding this into between the <head></head>tags
    <script type="text/javascript">
    jQuery.noConflict();
    </script>

  4. The Following User Says Thank You to SillyoldDuffer For This Useful Post:

    timondeks (02-25-2011)

  5. #4
    Join Date
    Sep 2009
    Posts
    28
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Thanks for the reply. As far as I know there's only the one version jquery on the page. The only other dynamic content is the twitter/FLIKR feeds and wordpress. I tried adding the noconflict lines but alas the banner still shows up blank white

  6. #5
    Join Date
    Sep 2009
    Posts
    28
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Is it possible to set a background image for the script itself? I tried setting the background of the div positioning the simple gallery but it still shows a white background on page reload

  7. #6
    Join Date
    Sep 2009
    Posts
    28
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    bump bump bump bump

  8. #7
    Join Date
    Feb 2011
    Posts
    15
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default

    Ok like yourself I am a Junior coder..but looking at your page source and looking at the Gallery script I saw this....
    persist: false, //remember last viewed slide and recall within same session?

    Maybe try setting to persist: true,

  9. #8
    Join Date
    Sep 2009
    Posts
    28
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Cheers for the suggestion SillyoldDuffer, unfor still get the same blank gallery

  10. #9
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    Try using the simplegallery.js file that jscheuer1 is linking to in this thread.
    It is a noConflict version of the same script. It is needed because the facebook script is in jQuery.noConflict mode. Hope that works.

  11. #10
    Join Date
    Sep 2009
    Posts
    28
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Thx fo the help azoomer, I uploaded the no-conflict version but still no luck, jscheuer1 mentioned re-ordering the scripts, would this maybe be necessary with the facebook script?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •