Question : CSS works locally but not on server

This page has a slider image transition.  http://74.81.196.208/carolinescoffee2010/index.htm

It works fine on my local system, but fails when I view it on the server. I swear every support file is in place.

Help!

Answer : CSS works locally but not on server

What is happening is you set a variable "c2transitionType" to "fade" in the top of your cycle2_script file.  Then, you load the XML file and overwrite the value with a blank value.  If you look at your xml file, you should really put some values for the all of the nodes:

http://74.81.196.208/carolinescoffee2010/sliders/cycle/cycle2/cycle2_params.php

(you may need to view source to see the xml code, depending on the browser you are using).

In my honest opinion, just get rid of the whole XML file stuff.  You don't really need it unless you plan on changing the slider settings on the fly.

If you decide to keep it, then start off by duplicating the settings to your XML file
1:
2:
3:
4:
5:
6:
7:
8:
<?xml version="1.0"?>
<settings>
    <fx>fade</fx>
    <speed>1500</speed>
    <timeout>5000</timeout>
    <sync>1</sync>
    <texttrans>1</texttrans>
</settings>
Random Solutions  
 
programming4us programming4us