Jump to content

Corriger une phrase script tpl ! merci


Recommended Posts

Bonjour

 

Dans un fichier TPL j'ai un script.

 

A votre avis :

 

effect : '{$xml->effect}' ,

 

ou

 

effect : {$xml->effect} ,

 

Voici le code en entier qui contient une erreure :

 

 

<script type="text/javascript">
$(window).load(function() {
$('#anim').nivoAnim({
 effect:'{$xml->effect}', //Specify sets like: 'fold,fade,sliceDown'
    slices: {$xml->slices}, // For slice animations
    boxCols: {$xml->boxcols}, // For box animations
    boxRows: {$xml->boxrows}, // For box animations
 animSpeed:{$xml->animspeed}, //Slide transition speed
 pauseTime:{$xml->pausetime},
 directionNav:{$xml->directionnav}, //Next & Prev
 directionNavHide:{$xml->directionnavhide}, //Only show on hover
 controlNav:{$xml->controlnav}, //1,2,3...
 pauseOnHover:{$xml->pauseonhover}, //Stop animation while hovering
});
});
</script>

Merci

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...