I tried with ajax script in php file but it's not working as I want, maybe You can help me
I made this script in mod_remislideshow.php:
http://pastebin.com/kS13AsMu
cant paste here because of "forbidden acces"
I think i have to change settings.slider_type in slider.js to get other value depends of resolution
like this:
Code: |
if ($(window).width() <= 1024 ) {
settings.slider_type = 1 // veritcal
}
else{
settings.slider_type = 3 // horizontal
}
|
but it's not working :< maybe u have other solution ?
but it's not working like i want :<
// default settings
http://pastebin.com/8XecUAND