Software To Post Blog Comments

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


ADVERTISEMENT

Split Test Url Links On A Blog Post?

Nov 13, 2009

I have searched wide and far for something like this. Thought I would find it because it is something that has become quite big these days - split testing.Possibly some php to put in the head that would open and get a value from a text file. myfile.txtInside the myfile.txt file is either a 1 or a 0. Each time it is opened to read/write, it switches... 1 for 0, or 0 for 1. A switch or toggle.Then in the body, javascript only (cannot use php in the body because I want to be able to add javascript into a wordpress or similar blog post) and a value could be sent from the php in the head (hardcoded) to the javascript...IF the var is 1, then "http://linkA.php"ELSE "http://linkB.php"The php can read (get the number in the myfile.txt), then write with the other - 1 or 0.No matter what page I add the js script to, each post can use the php code values in the <head> / the myfile.txt file.This seems like it should be straight forward, and I know it can get a little more involved if we first check for a file, and if no exist, then create.

View 3 Replies View Related

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 View Related

Allow Facebook Comments On Site?

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

Read Html Comments With JS?

Jul 12, 2011

How can I read html comments with JS?

View 2 Replies View Related

Show / Hide Comments Box?

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

Put A Blog On My Website?

Nov 23, 2010

I am building a website and on my homepage there is a small section where I want recent blogs to be posted. Of course I want a page for blogging also. how to do this?

View 5 Replies View Related

JQuery :: Lazy Load Using Comments

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

IE Conditional Comments But Applies To All Browsers?

Feb 1, 2011

I have the following code:

Code:
<![if lt IE 7]>
<script type="text/javascript">

[code]....

View 6 Replies View Related

Animate Show / Hide Comments DIV

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

Customizing Blog Import With CSS?

May 1, 2010

I am importing a Word Press blog to a web site, but it looks kind of sloppy. You can see it here : What I need to do is just present the title, and maybe the first 100 characters, then have a "read more" link. Once this link is clicked, the full article will show on the same page.

I think I might need to use a JavaScript library as well, but I know I will need some CSS. If someone could give me a general idea of how to go about this,

View 1 Replies View Related

Poll For Each Story In Blog

Jun 14, 2010

1. Yes you're bad (344567)| 2.No you're good (5676)| Here 5 stars they can rate. the numbers stand for how much people clicked on that option But it is a blog with wordpress system . But every story need there own poll. And i m not a expert in xml or what other system i need to build this.

View 4 Replies View Related

Calling A Function To Hide / Show Comments

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

Program - Displays My Age On My Blog In The Format ?

Apr 9, 2011

I have previously copied and adapted Javascript examples from textbooks but yesterday I wrote my first program from scratch. The script basically displays my age on my blog in the format 'I am 20 years, 6 months and 12 days old.' The script automatically adjusts my age each day. I would love to receive some critique on my program; particularly on programming style, use of comments, and whether the code is generally well written.

Calculates the difference between the two dates, and convert into days

Calculating Years

Rounds years_old and years_old_r to the nearest whole number

Calculating Months

Calculating Days

View 8 Replies View Related

Facebook Autoliking Script For Images / Comments And Status?

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

Two Dropdown List Search For My Posting In Blog

Oct 14, 2010

I would like to have two dropdown list search for my posting in my blog. Example: First dropdown list : Select Cuisine Second dropdown list : Select Location Then Search button. I can't figure out the javescripts.

View 3 Replies View Related

JQuery :: Remove Trailing Comments From JSON String With Ajax?

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

JQuery :: Put Together A Adobe Air Application That Is Basically A RSS Feeder For My Blog ?

May 29, 2009

I am trying to put together a Adobe Air Application that is basically a RSS feeder for my blog (custom made). I have the Air application all design and coded on the front end in terms of how it looks. My problem now is that I dont know how to get that XML document to my Air application using jQuery. Im still a beginner at jQuery (and JS in general).

View 1 Replies View Related

Code - Redirect All Of The IE Users To My Blog Instead Of My Main Page

Nov 23, 2010

I am looking for some code to redirect all of the IE users to my blog instead of my main page.

View 14 Replies View Related

JQuery :: IE - When Connect Through Reverse Proxy To Blog Theme Does Not Load The Ie7.css

Jan 28, 2010

I have set up a reverse proxy for a wordpress blog that is using the theme mystique. When I use IE to connect directly to the blog the theme works fine and loads ie7.css When I connect through the reverse proxy to the blog the theme does not load the ie7.css

From what I can work out it looks like the person who wrote it is using jquery to determine the browser type. Any ideas why jquery would fail when passed through a reverse proxy?

View 2 Replies View Related

JQuery :: Blog Entry - How To Toggle Specific Class Element

Nov 6, 2010

On my website I have a lot of entries which are similar to blog-entries. Every single entry has about 500 signs and if there are more than there is supposed to be a button "read further"(atm there is no button but later it will be). If the user click this button, the remaining text of the entry is supposed to slide down. My problem is now that I don't know how to slide down just one article. Every article looks like this:

<article class="dark">
<div class="text"><h2>Title</h2> .....
<div class="slide_text"> .....
</div></div>
</article>

But how to slide down only the "slide_text" which belongs to the clicked article. If I use:
$('article').click(function() {
$('.slide_text').slideToggle(200);
});
Every singe "slide_text" of all the entries appears. But this is not, what I want. Is there a way to toggle just the child-slide_text of one entry? Or do I have to give every entry an id to define which entry is supposed to toggle?

View 1 Replies View Related

Make Custom Playlist For Window Media Player In A Blog?

Apr 12, 2009

I have a blog which is dedicated to english music. I was using flash audio player before but now using window media player. Iam successfully runing the code in my blog and using a playlist in which songs play one by one, but i want to make the song list visible in my blog so that people coming in can decide themselves what to listen. so i want to make a playlist above or below the player so that songs are visible for selection and for listening. The current code which i am using now is.......

<OBJECT ID="MediaPlayer1" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab# Version=5,1,52,701" STANDBY="Loading Microsoft Windows� Media Player components..." TYPE="application/x-oleobject" width="280" height="46">

[code]....

View 2 Replies View Related

Give The Client An Option Of Having A Blog Set Up Withtheir Website By Using A Select Tag?

May 13, 2009

I am trying to give the client an option of having a blog set up withtheir website by using a select tag and some javascript.Problem is the js is not updating the variable - so I must have got something wrong.This is my select code ( it uses a bit of php at the top of the page) :

$N_blog_cd = "n";
$blog = array(
"y"=>'Yes',

[code]....

View 6 Replies View Related

JQuery :: Adapting Xhtml Layout For Photo Slider To PHP Blog Template?

Jun 18, 2009

I am hoping to use a 3rd party script for a simple JQuery photo slider for my WP blog. But the script creator says: "If you are trying to 'include' this into a blog template then you will need to have a good knowledge of the template structure and how it is pulling the information from the database. The files that I supply are intended for use in a normal xhtml page where you would just add the javascript calls and stylesheet links to the page head, then embed the xhtml into the web page or use a simple php 'include' to add this at run time." He couldn't help further. The blog theme I purchase comes with a photo slider but I wasn't happy with it 100%. I took the code from the new one and put it in as best as I could where the original one was formatted. I am not a programmer though and I know that clearly I did not do it right, as I used "a" ids like you would in HTML and I know they don't belong in PHP. However, it magically is working somewhat! All the graphics are showing, it's pulling images, and they are sliding. I just need to clean it up a bit. Here is a page where it is on:

[Code]...

View 2 Replies View Related

Decode Code - Injected Into Wordpress Blog Header And Script Automatically Forwards Visitors To Other Websites

Feb 27, 2010

Recently I had a piece of code injected into my wordpress blog header and the script automatically forwards visitors to other websites. I do not know who did it, as they left this piece of cryptic script on it. Can anybody decode it so I can do some investigative work to see who put it there?

CODE:

View 6 Replies View Related

JQuery :: Ajax Post Success - Run An External Function Outside The Post

Aug 17, 2010

I want to run an external function outside the post.

This is what I have currently.

On success of the post I want to run the setGrandTotal(); function which will do some calculating for me.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved