21309 Posts in 5738 Topics by 2603 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 719 Views |
-
passing variables though jquery....

24 March 2011 at 9:25pm
Hi - I was wondering if anyone could help me with something... Basically I want to use gallery type thing that I downloaded that produces a fullscreen slideshow on the fly, the issue is that the images are created/input in the jquery code and I cannot work out how to pass them in my page controller... I understand how to produce the controller pages etc but cannot workout how the SS tags could be input (if possible) to the js pages.
Is this something that anyone can help with???
Many thanks
-
Re: passing variables though jquery....

25 March 2011 at 1:06pm
http://doc.silverstripe.org/sapphire/en/topics/javascript
You could use Requirements::customScript() to print your jquery code using data obtained through the controller.
| 719 Views | ||
|
Page:
1
|
Go to Top |


