Advanced Search

Results 1 to 3 of 3

Thread: Dynamic Ajax Content & Image Thumbnail Viewer II Integration Help

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

    Default Dynamic Ajax Content & Image Thumbnail Viewer II Integration Help

    1) Script Title:
    Dynamic Ajax Content and Image Thumbnail Viewer II

    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...jaxcontent.htm
    http://www.dynamicdrive.com/dynamici...thumbnail2.htm


    3) Describe problem:
    Let me start with what works: FF, Safari and Opr load my main test page (http://www.pineapplefarmdesign.com/test) fine. It loads with an external Ajax page loaded into a DIV. The external page has the Thumbnail Viewer II toggling a couple of images. As you can see I have 3 image tabs each referencing 3 seperate external pages to load in the DIV on the test page.

    Tab 1's external page loads up automatically via the below script in the head of the test page:

    <script type="text/javascript">
    ajaxpage('port-wed-1.html', 'portloadarea'); loadobjs('portstyles.css', 'thumbnailviewer2.js', 'popwindow.js')
    </script>

    I added "loadobjs('portstyles.css', 'thumbnailviewer2.js', 'popwindow.js')" to the script because the .css and .js files did not load for tab 1's external page.

    Here's what does not work: As soon as you click on tab 2 or tab 3 and click back on tab 1, the Thumbnail Viewer II doesn't work anymore. It opens the larger image in a new window as if the javascript is ignored and it's a straight link.

    I don't know if adding the loadobjs to the script in the head remidied one issue and caused another. But even if the loadobjs function is not added I still have the problem of the Thumbnail Viewer II not working properly.

    I am super new to scripting and really do not know any code at all for that matter. I follow the directions from your site (which are nicely written) and apply the scripts with success. This is my first time that something is not working as it should.

    Please advise how to fix and thanks in advance.

  2. #2
    Join Date
    Oct 2008
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Same Problem

    I'm running up against the same problem and wondering if you found a solution yet?

    Thanks for any help.

  3. #3
    Join Date
    Aug 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Sorry ronchan, I haven't been able to get these two scripts to play together nicely.

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
  •