background preloader

Twitter

Facebook Twitter

Limit Number of Characters in a TextArea using jQuery. New Twitter Design with CSS and JQuery. The Twitter new web interface design is live for many more today. The makeover of the new Twitter was really fantastic, In this post I decided to explain how to implement new Twitter user interface design with CSS and JQuery. Use it and enrich your web applications. Take a look at this awesome demo. Download Script Live Demo Step 1 First create a DIV element with attribute ID value container. Step 2 Now create a panel-frame DIV element inside the container DIV. Step 3 Here the final HTML code ready. Container'> // Right partright'> <div id="panel-frame"> <div class="panel"> <div class="head"><a href="#" class="close">Close</a></div> <div class="data">// jquery id </div> </div> </div> //Left Part <div class="left"> // Message display here <div class="block" id="1">1</div> <div class="block" id="2">2</div>..............................................................

Javascript$(".block").click(function(){})- block is the class name of DIV tag. });</script> How to Limit the Number of Characters in a Textarea or Text Field. This script allows you to set a limit on the number of characters a user can enter into a textarea or text field, like so: Step 1 - Create Function Insert the following code into the page head: <script language="javascript" type="text/javascript"> function limitText(limitField, limitCount, limitNum) { if (limitField.value.length > limitNum) { limitField.value = limitField.value.substring(0, limitNum); } else { limitCount.value = limitNum - limitField.value.length; } } </script> Step 2 - Create Text Area Use the following code to create the form and text area (if necessary, change the name of the form and text area to suit your needs): <form name="myform"><textarea name="limitedtextarea" onKeyDown="limitText(this.form.limitedtextarea,this.form.countdown,100);" onKeyUp="limitText(this.form.limitedtextarea,this.form.countdown,100);"></textarea><br><font size="1">(Maximum characters: 100)<br> You have <input readonly type="text" name="countdown" size="3" value="100"> characters left.

How to Unfollow people on Twitter. Creating a Twitter OAuth Application. OAuth can be a tricky concept to wrap your head around at first, but with the Twitter API now requiring its use, it is something you need to understand before creating a Twitter application. This tutorial will introduce you to OAuth, and walk you through the process of creating a basic application. Introduction In this tutorial, we will be building a simple app that allows users to apply different effects to their Twitter avatar. In order to work with the Twitter API, we must use OAuth to authorize our app to make requests on the user's behalf.

Our application flow will be something like this: The user is asked to connect with Twitter.The user is presented a list of preview avatars to select from.Upon selection, the user is presented a confirmation screen showing the original and new avatar for comparison. Setup To start, we should set up our source directory. Here's what your directory tree should look like: tutorial cssimglibtmp (writable) Register Your Application Authentication Downloading. Tweet Analysis. I’ve been using Hootsuite (affiliate link) for a while now, and have really been interested in a few things more than other parts: scheduled tweets and stats. I want to talk about the latter today. (Note: I’m an affiliate for this product because I really appreciate what it does for me.) Checking Stats I became interested in which of my tweets with links were successful or not, so I started looking at the details of what Hootsuite provided.

For the picture above at the top of the post, I was surprised that so many people clicked the link about how introverts view confidence, but also not surprised that there weren’t a lot of retweets. In another case, I tweeted a link to Coca-Cola’s wrapped up social media year: I got over a thousand clicks of that link. That post is a joke post, but the text of the link is linkbait.

What I Believe People tend to click more on things that aren’t self-promotional. Except that it is. Are You Looking At Your Stats? Thoughts? Become a StudioPress Affiliate.