01-May-2012, 12:09 PM
Hi, I am very appreciative of this excellent script, thank you very much!
I am using Commentics on a page that loads via PHP (obviously) with subsequent navigation to various page elements via Javascript. There is no problem setting the initial $page_id on page load, but I would like to reset my $page_id parameter based on the element currently in view after navigating using the Javascript functions (i.e., no page refresh). Is there any way to do this?
I should point out that the page elements are passed in a PHP array that is read and stored in a Javascript array. I could potentially resolve the issue by converting the $page_id parameter to an array that loads with my page but I'd still need to somehow tell the server that I clicked to the next element on the page. Conundrum!
Thanks in advance for your help and advice.
Skilife
I am using Commentics on a page that loads via PHP (obviously) with subsequent navigation to various page elements via Javascript. There is no problem setting the initial $page_id on page load, but I would like to reset my $page_id parameter based on the element currently in view after navigating using the Javascript functions (i.e., no page refresh). Is there any way to do this?
I should point out that the page elements are passed in a PHP array that is read and stored in a Javascript array. I could potentially resolve the issue by converting the $page_id parameter to an array that loads with my page but I'd still need to somehow tell the server that I clicked to the next element on the page. Conundrum!
Thanks in advance for your help and advice.
Skilife