This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

$page_id from Javascript
#1

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
Reply
#2

Hi,

Sorry, I don't know how this would be done.

Have you completed the interview?
Reply
#3

Hi Steven,

Thanks for your reply. I didn't discover a workaround to integrate in Javascript, but I was able to integrate Commentics into my site in a more traditional manner. I really think this is a great addition to my site. Thank you and I'll be donating.
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by breezy
17-Aug-2011, 04:06 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)