Post Reply 
$page_id from Javascript
01-May-2012, 01:09 PM
Post: #1
$page_id from Javascript
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
Find all posts by this user
Quote this message in a reply
02-May-2012, 09:05 PM
Post: #2
RE: $page_id from Javascript
Hi,

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

Have you completed the interview?
Find all posts by this user
Quote this message in a reply
12-May-2012, 01:35 PM
Post: #3
RE: $page_id from Javascript
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.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Javascript error breezy 2 403 17-Aug-2011 05:06 PM
Last Post: breezy

Forum Jump:


User(s) browsing this thread: 1 Guest(s)