Hi there,
i give users the ability to use flag-module in combination with the ddblock-slideshow to flag images they like. I do that with the ajax-flag-link so the page wont reload but: what actually happens is, that in the background the URL is reloaded and the slideshow switches back to the first image after a flag-link is clicked.
Since flag takes the current URL (query-string plus flag-token), my problem would be solved if ddblock could extend the current query-string and update my URL on every imageswitch with slidenum=[slidenumber]
to www.myurl.com/slideshow/fashion?slidenum=[slidenumber]
Any idea how to slove this?
Thanks in advance and best regards,
Fabian
Comments
Comment #1
stone_d commentedComment #2
ppblaauw commentedDo you have a link to your Internet site, so I can see how it (not) works now.
I don't think changing the URL on every imageswitch would be a solution.
Comment #3
stone_d commentedHi Philip,
thanks for the reply. I tested it, and changing the URL would solve my problem, since the current URL is taken as the variable with the flag-link where to redirect. Is there any possibility to do that?
Thanks in advance,
Greetz, stone
Comment #4
ppblaauw commentedNo, don't think you can change the URL of a page.
Comment #5
stone_d commentedhm - i thought it would be possible, cause i read something that you can change the URL by jQuery. But im not that good in it - thats why i asked for that feature.