PDA

View Full Version : FeaturedContentSlider 2.4 external htm & Javascript



tigger5
01-17-2009, 03:51 PM
1) Script Title: Featured Content Slider v2.4

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/featuredcontentslider.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/dynamicindex14/fadeinslideshow.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)

jscheuer1
01-17-2009, 04:13 PM
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/side/vfs/vac_import.htm

tigger5
01-17-2009, 04:35 PM
Thanx...

ur demo Looks good

tigger5
01-30-2009, 07:55 PM
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 ....

jscheuer1
01-30-2009, 08:39 PM
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.

tigger5
02-03-2009, 04:27 AM
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

tigger5
02-04-2009, 10:57 PM
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 ???????