Get Comments On Website?
Jul 24, 2011
I was wondering how to get a form to request name and comment and then post them on a page. I know how to get it to post to a mysql database and then have the displaying page pull the data and post it in a table, but I'm not sure if this is the correct/best way to do it. Do most people use AJAX or something else, or just do the mysql thing?
View 2 Replies
ADVERTISEMENT
Jan 31, 2011
I have been working on this for four hours and none of the methods online have worked. Every site has outdated screenshots and I have nowhere else to turn. There's supposedly just a couple of lines of code and "3 easy steps" to allow me to have a Facebook comment box on any page of my site. I DO NOT use Wordpress or any blogging software / sites. I am working from scratch in Dreamweaver.
View 5 Replies
View Related
Jul 12, 2011
How can I read html comments with JS?
View 2 Replies
View Related
Mar 25, 2011
I have a 10 checkboxes on a form. When the user clicks one of the boxes the rest are hidden and a comments box shows. That works great, the part I can't figure out is how to make all the boxes show again if the user unchecks the checkbox and make the comments box hide again.[code]...
View 3 Replies
View Related
Nov 23, 2005
I'm from a non-profit organization, working for gender equality. We wish to get a small message across to sister blogs (blogs with a common thread, purpose) Code:
View 4 Replies
View Related
Nov 16, 2011
I'm looking to implement: [url]
The demo taken from: [url]
However the content for the LazyLoad is within comments - which means that if the page is loaded with JS switched off, the page fails to load as all the content is commented out.
The use of comments comes from the JS line: if (child.nodeType === 8) // 8 is a comment node It'd be better if this could come from the Div so that the content shows if there's no JS
How to write it something like: if (child.nodeType === "div")
View 3 Replies
View Related
Feb 1, 2011
I have the following code:
Code:
<![if lt IE 7]>
<script type="text/javascript">
[code]....
View 6 Replies
View Related
Jan 10, 2011
Here is Javascript to show and hide my comments div:
<script language=javascript type='text/javascript'>
function showdiv() {
if (document.getElementById) {
// DOM3 = IE5, NS6
document.getElementById('comments').style.visibility = 'visible';
} else {
if (document.layers) { // Netscape 4
document.hideShow.visibility = 'visible';
} else { // IE 4
document.all.hideShow.style.visibility = 'visible';
}}}
function hidediv() {
if (document.getElementById) { // DOM3 = IE5, NS6
document.getElementById('comments').style.visibility = 'hidden';
} else {
if (document.layers) { // Netscape 4
document.hideShow.visibility = 'hidden';
} else { // IE 4
document.all.hideShow.style.visibility = 'hidden';
}}}
I would now like to animate the div fading or moving down
View 7 Replies
View Related
Jul 19, 2009
So in the past I've mostly just copy and pasted other JavaScript functions I needed, and made slight modifications based on my exact needs. However, this time I couldn't find anything that would work with what I wanted to do (show and hide comments on news stories in a particular way), so I decided to just make my own.After a few hours of messing around with it, I'm quite exasperated, because what I have looks like it should work, but for some reason I can't identify, doesn't.Essentially what it should do is, find the table with the ID of the news article whose comments are being toggled, then find all the rows in the table that are labeled as comments, and either show them or hide them, based on their current state (as defined by their class with a "display: none;" in it or not).
Obviously it uses PHP, but I know that's not the problem; it just uses the article's ID number to pass on which comments need to be hidden/shown to the function.From everything I've looked up, this should work, but doesn't. Something peculiar, though, is that the function looks like it's not even being called; I put a simple alert('Test'); in the function, and still nothing happened when I clicked the link. So maybe my function is fine in itself, but I'm just calling it in an incorrect manner?
View 4 Replies
View Related
Sep 13, 2011
I need a script that can go on someone's facebook profile and like everything, including all their photos and such and all of their statuses and comments on their statuses. I don't intend to use this for too terribly much evil, just winning a notification spam fight.
View 5 Replies
View Related
Jul 12, 2011
I am using a framework, which returns invalid JSON Strings like:
/* { "myobject" : "test"} */
The error is the comments before and after the json string. This has been invented for security reasons. As the www says returning JSON directly is somehow discouraged because it can be exploited. I am not a security expert at all but would like to go conform with this recommendation. However, now I get this string above with header type "application/json" Can I somehow hook into jQuery and tell it to remove /* */ from the json string by default before parsing the json and breaking it into objects?
View 1 Replies
View Related
Jan 28, 2010
The javascripts files in my website are constantly getting injected with malicious codes which redirects my website
View 2 Replies
View Related
Dec 29, 2005
I'm trying to code a feature for my website using DHTML where the person viewing the website can rotate between viewing the positive/negative points of the website being reviewed. This example was in the publication called Using HTML 4 by Lee Anne Phillips. Code:
View 5 Replies
View Related
Nov 30, 2010
I have a ajax program on a page on website A. And I need to let it talk to a program on website B. I tried to put website B into the url of the parameter but it doesn't work.It gives me a "[objet XMLHttpRequest]" error.here is the code on website A:
[Code]...
View 1 Replies
View Related
Apr 27, 2010
Suppose I want to allow a user of a website to add a poll to the website for everyone to see/vote on. How exactly would I write a script for that?
View 8 Replies
View Related
Nov 17, 2009
I have a webpage and i want to put a section of another website on to my own website..
The Section i want to put on my website is on this page www.bebo.com/thegaadiscos and i only want to put the section with the comments on it...
What i want is a bit like the face book section of this website [URL]
View 4 Replies
View Related
Jan 7, 2010
Is there any javascript regex to remove the html comments, i want to be able to view what it is in the comments.
if <!-- comment here -->
will become "comment here"
View 6 Replies
View Related
Feb 2, 2010
I started looking at the new docs today and I'm seeing a lot of noise in the comments... people have posted comments like "thanks", "very useful", "great addition". For example, see the .toArray() page.I could add a "very useful" comment to about 50 jQuery pages -- would anyone care if I liked those? I don't think they should. , these kinds of comments are better suited to personal blogs.Is it okay to flag these comments so they get removed? or is that an improper use of flagging?
View 2 Replies
View Related
Aug 10, 2006
we use <link rel="Shortcut Icon" href="favicon.ico"to define the
website icon.
But I view the source of apple.com and yahoo.com, I find there is no this tag but they can show the icon very well. What is this technique?
View 3 Replies
View Related
Dec 28, 2006
Are there any GREAT javascript websites out there?? or an Official
site??
I'm looking for an MSDN / PHP / JAVA style-site with examples and (for
gods sake) FREE samples of Tabbed Menus.
View 2 Replies
View Related
Mar 20, 2007
I am crewating a website using HTML and Javascript. The website can be
seen by everybody that has internet. Do I have to consider that some
people don't have javascript enabled in their browsers?? I mean If
someone has disabled javascript they wont see some part of the
website.
View 6 Replies
View Related
Jan 18, 2010
i am developing a site where should remain the option of adding this site adding as homepage of user. but i did not do anything like this in previous.
View 3 Replies
View Related
Oct 6, 2010
way to get all the links in a web page using javascript?
View 1 Replies
View Related
Dec 23, 2005
I have a website and i want to have a counter. how i do that? I mean a counter count all who go in my wedsite.
View 2 Replies
View Related
Jun 7, 2011
I want a script to login to website without even typing the username and password while logging in.Its very annoying when you have to type the passwords to to login to multiple sites each time and open those sites one by one instead I could have somthing like a click on a file and all the websites open(no need to login)/OR a click on the bookmark and all the websites open(no need to login).
I know a bit of HTML/javascript(as well as windows shell scripting,C++,unix shell scripting). provide some working example in any one of these two languages if possible and how to use it.(I don't know ajax at all so please avoid ajax unless it becomes impossible to do without it).
EDIT:Any other language is also welcome but I would need the instructions to use your programme
View 4 Replies
View Related
Jul 28, 2011
Run exe file from website I used javascript code to open a application from a webpage link., its opening in my local PC but its not working in Apache server. I need to add this code to my intranet page. I want to put this script to my Intranet web page, I want to run notepad when i click the Link.
Here is the code:
View 10 Replies
View Related