Results 1 to 3 of 3

Thread: Step Carousel - Dynamic Load with URL (with file hosting website) not working

  1. #1
    Join Date
    Jul 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Step Carousel - Dynamic Load with URL (with file hosting website) not working

    1) Script Title: Step Carousel Viewer

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

    3) Describe problem:
    (I'm new to web-coding in general, so please bear with me.)

    I'm trying to dynamically change the panels of the step carousel using the loadcontent function with a URL, like so:

    <a href="javascript:stepcarousel.loadcontent('mygallery', 'http://www.a-web-site.com/something.html')"/>

    Also, I've been attempting to use an external file for the initial contents of the carousel, like so:

    contenttype: ['ajax', 'http://www.a-web-site.com/something.html']

    Both instances only gives me the "Error fetching content. Server Response:" error (without a reason shown). How do I fix this?

    I'm on Blogspot, which doesn't allow files to be uploaded to directories (as far as I know), so I'm using the external file-hosting site OpenDrive. I can't find any examples of someone else having problems with a full URL, so is that the problem? And is there a workaround?

    Thanks,
    Aaro

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    You cannot fetch a page via AJAX from another domain. You could fetch a same domain page that has images on it that are from another domain.
    - John
    ________________________

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

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

    Default

    Thanks for the information. My problem to begin with was that Blogspot won't let me create pages on whim - at least, not the source code kind I need - or upload files, and moving from Blogspot is not something my client will accept.

    But it works now. I changed the code so the dynamic loading bypasses the ajax query all together.

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
  •