PDA

View Full Version : gradual fader not working with other scripts?



anaelegance
08-28-2010, 08:44 PM
1) Script Title: Gradual Element Fader

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex11/gradualfader.htm

3) Describe problem: i have installed gradual fader absolutly fine but when i add my tracker script (i use extremetracking) or my recent images script for coppermine galleries the fader no longer works. it just stays dull.
you can see what i mean here: http://layout-test.anastacia-elegance.com

does anyone know how i can still use those scripts and your gradual fader? i really like your fader!

any help would be appreciated!!

sarah

jscheuer1
08-28-2010, 08:53 PM
Your page is missing (from the demo page):


Step 2: At the very bottom of your page following all your elements (ie: right above the </body> tag), add the below code to activate the effect:


<script type="text/javascript">
gradualFader.init() //activate gradual fader
</script>

There could also be other problems.

anaelegance
08-28-2010, 09:10 PM
thankyou

i actually have that in my footer.php at the moment? should it be in the index or header instead?

thank you so much for the fast reply, im still kinda learning about php as i go along so i know i will have made some mistakes! lol

jscheuer1
08-28-2010, 11:00 PM
It should be on the page as per the demo's instructions as the last thing before the closing </body> tag. If you have it in an include, that include must not be being included, or the code on it isn't what you think it is. Check your PHP source code to make sure it's correct.

You should also use your browser's 'view source' (which will show how the server is serving the page) while viewing the live page to see whether or not the code has made it onto the live page at the correct spot in the live page's code.

anaelegance
08-29-2010, 01:04 PM
brilliant thank you for your help! :D