Results 1 to 7 of 7

Thread: FeaturedContentSlider 2.4 external htm & Javascript

  1. #1
    Join Date
    Jan 2009
    Posts
    12
    Thanks
    2
    Thanked 1 Time in 1 Post

    Default FeaturedContentSlider 2.4 external htm & Javascript

    1) Script Title: Featured Content Slider v2.4

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

    3) Describe problem: Trying to get OTHER javascripts to load from the "single external file on your server, then fetched via Ajax"

    Hi..
    I am hoping it is a simple solution...I do not have the site online (can put it up if REALY needed)..I think it is just something I am missing...I (as an example) am trying to get Ultimate Fade-in slideshow (v1.51) ( http://www.dynamicdrive.com/dynamici...nslideshow.htm ) to load in Featured Content Slider....when I click page 2 (or next) the page goes blank...nothing runs...I read somewhere (but cannot find anymore) that in Featured Content Sliderver 2.3 there was a place to add extra javascript...is this the case with this version, and if so, where do I add it ??

    Thank in advance for any help/info

    On a side note:..separately, both scripts work fine on their own (links are good etc)

  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

    These two scripts are incompatible. The U-Fade slideshow writes to the page using the document.write() method, which if executed after page load (say with an AJAX import), will overwrite the existing contents of the page.

    Anyways, most scripts on pages that are imported via AJAX do not execute. So if you were to have a script that could look like U-Fade (I can think of one - more on that later) the script code for it would have to be on the 'top' page. Content for the script could be imported, but not the script code itself, though an external script tag for the script could be written to the 'top' page, though even this will not always work out as desired/expected.

    Now about this other script I mentioned, it's still in beta (mostly because I want to figure out ways to simplify explaining it's usage), demo:

    http://home.comcast.net/~jscheuer1/s...vac_import.htm
    - 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:

    tigger5 (01-17-2009)

  4. #3
    Join Date
    Jan 2009
    Posts
    12
    Thanks
    2
    Thanked 1 Time in 1 Post

    Default

    Thanx...

    ur demo Looks good

  5. #4
    Join Date
    Jan 2009
    Posts
    12
    Thanks
    2
    Thanked 1 Time in 1 Post

    Default Resolved

    jscheuer1 .... or anyone else,

    Do you know of a fading image script that will work with featured content ??? (jscheuer1 don't be shy to post when the demo is done ....
    Last edited by tigger5; 02-06-2009 at 04:44 PM. Reason: Resolved

  6. #5
    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

    If you are a little handy with browser's and code, you can get the scripts and pages involved in the demo. The only configuration is in the on page style of the 'top' page (which sets things up and allows for configuration of the look of things), and the on page script (also on the 'top' page, and fairly well commented). The lxhr_min.js file is just my personal AJAX routine, so you may use another AJAX script of your choice.

    Once you have a working or non-working version, if you have questions, let me know.

    If you need help just getting the files, let me know that too. But to make that easier, in addition to the top page (link in my previous post), they are (scripts):

    http://home.comcast.net/~jscheuer1/side/vfs/lxhr_min.js - The AJAX routine I mentioned.

    http://home.comcast.net/~jscheuer1/side/vfs/vfs_min.js - The main View Fade Slide script.

    And the external page (example markup to import):

    http://home.comcast.net/~jscheuer1/side/vfs/vac_ext.htm

    I'm assuming you can use your own images.

    The main reason that this thing is still in beta is that I'm having a heck of a time explaining it to people, as it is a different approach in several ways.

    If you are willing to meet me half, or even a quarter of the way, I can probably learn something about how to make up a more accessible demo for others, and you will get what you need as well.

    Let me know.
    Last edited by jscheuer1; 02-03-2009 at 05:28 AM. Reason: spelling
    - John
    ________________________

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

  7. #6
    Join Date
    Jan 2009
    Posts
    12
    Thanks
    2
    Thanked 1 Time in 1 Post

    Default

    jscheuer1...
    thanx...sorry for taking some time to answer...wanted to get part of my site up to take you up on ur offer...will dl the files tonight/tomorrow and see what i can do with it...and will try to meet you atleast halfway...maybe more..
    thanx again for ur help

  8. #7
    Join Date
    Jan 2009
    Posts
    12
    Thanks
    2
    Thanked 1 Time in 1 Post

    Default

    jscheuer1...
    your script is WORKING....beautifully i might add....

    I am putting together a brief explanation of what i did / what it does etc etc.....it isnt perfect but will hopefuly be easy for us simple folk to understand...lol..

    would need to ask a couple of questions...which would you prefer...should I ask them here , start a new thread, or pm you ???????

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
  •