Results 1 to 3 of 3

Thread: Combined scripts not working

  1. #1
    Join Date
    Jan 2006
    Location
    Brampton, Ont
    Posts
    41
    Thanks
    9
    Thanked 0 Times in 0 Posts

    Default Combined scripts not working

    1) Script Title:
    Lightbox - an image viewer
    Background Image Carousel a slider
    Ddmegamenu/ddaccordion a dropdown memu

    2) Script URL (on DD):
    Lightbox = http://www.dynamicdrive.com/dynamici...box2/index.htm
    Image Carousel = http://www.dynamicdrive.com/dynamici...bgcarousel.htm
    Accordian menu = http://www.dynamicdrive.com/dynamici...daccordion.htm

    3) Describe problem:

    I have these 3 script above, but only the first one works on the page, and the rest only work once lightbox is removed.

    Any suggestions please?
    Page = http://bcfchurch.net/gallery.html

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,072
    Thanks
    44
    Thanked 3,216 Times in 3,178 Posts
    Blog Entries
    12

    Default

    It can be difficult getting Prototype and jQuery working together. So I would ordinarily recommend using a jQuery based Lightbox type script here. However, proper organization of elements in the head is important too. What I've done here is organize things as they should be (meta Content-Type tag as the first meta tag, all styles before scripts, only one version of jQuery, scripts using jQuery before Prototype with at least one of the jQuery scripts setting noConflict mode, and updating to the most recent versions of Prototype and Scriptaculous). Since that takes care of things, I won't bother you with converting to a jQuery based Lightbox type script. Even if you decide to convert, proper organization is still important.

    Anyways, here's a working example of the page you linked to (right click and 'Save As'):

    bramalea-h.zip

    Just in case, back up what you have first, then replace it with the file from the attached archive.

    The browser cache may need to be cleared and/or the page refreshed to see changes.

    Any questions, feel free to ask.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. The Following User Says Thank You to jscheuer1 For This Useful Post:

    Jamcan (07-20-2013)

  4. #3
    Join Date
    Jan 2006
    Location
    Brampton, Ont
    Posts
    41
    Thanks
    9
    Thanked 0 Times in 0 Posts

    Default

    Thank you very much...IT WORKED!!!!!!!!!!!

    Awesome, thanks.

    Be blessed ALWAYS.
    Rohan

Similar Threads

  1. Can scripts Tab Content & CSS Image Enlarger be combined?
    By Granny in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 02-13-2013, 12:36 PM
  2. Can js scripts be combined?
    By kuau in forum JavaScript
    Replies: 3
    Last Post: 08-12-2009, 09:08 AM
  3. Need help with modifying combined scripts
    By dragonjo8 in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 03-02-2009, 06:49 AM
  4. Can these two scripts be combined?
    By moodyone00 in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 10-16-2008, 09:04 AM
  5. ddaccordion is not working if is combined with ajax auto refresh
    By petros in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 07-19-2008, 10:04 AM

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
  •