I am just starting with php programming and I have this question:
Is there any way to set the width and height values of bgStretcher image with variables?
<?php $arrPath=array("bg" => "http://mydomain.com/myimage.jpg"); $w=1500; $h=800; ?>
$(document).ready(function(){
$(document).bgStretcher({
images: $arrPath["bg"], imageWidth: $w, imageHeight: $h
});
});
I'm getting the variable name instead of its values...