dario di bona
Junior Member
Posts: 3
Registered: 7/19/2004
Member Is Offline
|
| posted on 7/19/2004 at 09:14 AM |
|
|
Get content from MySql: parameter query
Hy,
I'm getting news items from MySql following advices you put on forums (renaming srcoll.tpl?.js into scroll.tpl?.php and changing line 19 into
scroll.html file): It works fine!!
Now, I'm tryng to pass some php variables to scroll.tpl?.php file to parametrize query and displayng different
items in different site sections.
I'm wondering if it's possible to append to scroll.html? url in scroll.js some GET parameters and retrive them from scroll.tpl?.php.
Any advice?
Thank you.
Great script!!
Coul I pa
|
|
|
rock
Moderator
Posts: 687
Registered: 4/15/2003
Member Is Offline
|
| posted on 7/19/2004 at 02:53 PM |
|
|
scroll.html already receives GET parameter - scroller index (0,1,2, etc.) - take a look at scroll.js to see how it's done. You could append you
own GET request using '&' separator.
|
|
|
dario di bona
Junior Member
Posts: 3
Registered: 7/19/2004
Member Is Offline
|
| posted on 7/19/2004 at 03:59 PM |
|
|
Ok,
it works,
just few code modification to get other GET parameters.
Thank you!
Just another question: Is it possible decrease items distance or display more than one item per time?
Thanks again!
|
|
|
rock
Moderator
Posts: 687
Registered: 4/15/2003
Member Is Offline
|
| posted on 7/20/2004 at 07:09 AM |
|
|
PRO version of the control supports more flexible adjustments.
|
|
|