• Page 1 of 1
  • 1
Forum moderator: bigblog  
uCoz Community » For Webmasters » Design Customization » Can i display comment right on entries list page (onclick expand comment div)
Can i display comment right on entries list page
IAM
Posts: 27
Reputation: 0

Message # 1 | 6:55 PM
is it possible to display comment on the page of entries archive...such that when i click comment it shows (expands) comment div right below that entry...(i.e. Facebook has it like that)

i don't mind third party method...please suggest any
joexyz
JOE-vascript
Posts: 1770
Reputation: 78

Message # 2 | 9:13 PM
IAM, i afraid, that is not possible with the actually system tools.
hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau

sometimes i lurk here
Cyberdasm
Posts: 639
Reputation: 7

Message # 3 | 2:34 PM
IAM, actually I'm also waiting for that features to be release.
1F4BF3B
IAM
Posts: 27
Reputation: 0

Message # 4 | 0:21 AM
some custom solution please....

Added (2014-12-06, 11:21 PM)
---------------------------------------------
Quote
For this you can create a div in your main page

<div id='iframediv'>
</div>
Then in your JS code mention the following line

$('#iframediv').load('https://www.google.co.in #DIVNAME');
Here you have to replace https://www.google.co.in with the target URL. And replace DIVNAME with the target div id in the target page.

UPDATE:

This method will not work if you are accessing a page in different domain because of security issues. In that case you can do the following

create a New Server-side Page (say GetContent.aspx) in your web application (so that the domain will be same).
Then on server-side you can load the required page (from a different domain) and extract the required section. If you are not able to extract the section, load the complete page.
Then load this content to the New Server-side Page (say
GetContent.aspx)
Now you can show this GetContent.aspx using .load function. If you are using the complete page (without extracting) then use the following code for loading the required content div.

$('#iframediv').load('https://www.google.co.in #DIVNAME');


Source: http://stackoverflow.com/questio....website

i tried this, but it didnt work

can someone please suggest a fix
Post edited by IAM - Sunday, 2014-12-07, 0:22 AM
uCoz Community » For Webmasters » Design Customization » Can i display comment right on entries list page (onclick expand comment div)
  • Page 1 of 1
  • 1
Search: