button

National lockdown just 'pause button' against coronavirus: Rahul Gandhi

Addressing a press conference via video conference, Gandhi also said the entire country has to fight the crisis "unitedly"




button

Click-to-Pay Buttons May Be in Your Online Shopping Future

On Black Friday in 2018, more than 80% of online shopping carts were abandoned, according to research firm Barilliance. But retailers are hoping new pay buttons will help, and investors are paying close attention.




button

Why Doesn't Facebook Have a Dislike Button?

Supporters of a "dislike" button, which Facebook does not have, say the culture of Facebook has become too nice. WSJ's Andy Jordan reports from San Francisco on what some creative contrarions are doing to game the Facebook system to "get" a dislike button.




button

5 Reasons Why Social Media Buttons Hurt Nonprofit Websites

That little row of social media buttons has become a ubiquitous feature of most websites. After all, it is good to show off that you are social, and that there are channels where you can interact directly with stakeholders.

But is your website header or sidebar the best place to show that off?

Here are five reasons why having social media buttons on your nonprofits website might do more harm than good:

1) They send visitors away from your website




button

New Google News Drops RSS Feed Subscription Buttons

With the new Google News, they did not just drop the standout tag and editors pick but it seems like the direct method to subscribe to Google News via RSS and Google News keyword searches is gone. There are still ways to subscribe, but the buttons seem to be gone in the new design.

complete article




button

Twitters chronological timeline button is here to stay

Nearly two months ago, Twitter began testing a feature that made it easier for users to see the latest tweets on their feed first, rather than the ones pushed by the companys algorithm. It is a toggle dressed as a sparkle icon that lives above the home timeline, which keeps you from having to go deep into your Twitter settings to get that purely chronological view. Certain iOS users have had access to this since October, but today Twitter is making the change permanent and rolling it out to everyone on Apples platform. Twitter's Android app as well as its website are getting the new magic button, too, but that won't be coming until after the holidays.

complete article




button

UI cheat sheet: radio buttons, checkboxes, and other selectors

In today’s cheat sheet we will be looking at selectors and how they differ. Unlike most of my other cheat sheets, this will focus on two components (radio buttons and checkboxes) side by side for easier comparison — while also comparing them to a few others.




button

Progressively enhancing radio buttons with SVG whilst staying accessible

Sometimes it is fun to re-visit very basic HTML things and look what we can do with them nowadays. This is what I will do now with a radio button group. I will progressively enhance it to look great and still work with keyboard and screen readers. As part of my Logo-O-Matic upgrade, I added […]




button

At the push of a button: IT project offers instant solutions in Gujarat village

After championing a number of innovations in plant breeding and crop research, the Anand Agricultural University (AAU) in Gujarat...




button

Container-Adapting Tabs With "More" Button

Or the priority navigation pattern, or progressively collapsing navigation menu. We can name it in at least three ways..

There are multiple UX solutions for tabs and menus and each of them have their own advantages over another, you just need to pick the best for the case you are trying to solve. At design and development agency Kollegorna we were debating on the most appropriate UX technique for tabs for our client’s website…

I wrote an article, coded a demo and got it all published on CSS-Tricks — you're very welcome to read, try and use it!

Read the article

Try the demo




button

How to Make a Giant Creature - How to Make Monster Sounds with the Click of a Button

Wonder how Bodock the Giant Creature and his alien sidekick got their voices? In this episode, we take a trip to Anarchy Post to see how the creature's voice came to life with the help of voice actors and Dehumaniser—a real-time vocal processor for monster sound FX.




button

20 Amazing Pure CSS Animated Buttons

If you want to give your website a little extra flair, you’ll definitely want to investigate and utilize CSS animated buttons. These bits of code add a layer of interactivity to your website that most site visitors will appreciate. Plus, …




button

Custom Tweet Button for WordPress

How to create a custom Tweet Button for WordPress using the bit.ly and Twitter APIs. The HTML and CSS is completely customisable and there is no need for JavaScript. PHP is used to automatically shorten and cache the URL of a post, fetch and cache the number of retweets, and populate the query string parameters in the link to Twitter.

The custom Tweet Button at the bottom of this post was created using this method. All the files are available on Github and released under MIT license. The PHP code was heavily influenced by the BackType Tweetcount plugin.

How to use

You’ll need your own bit.ly account and to be comfortable editing your theme’s functions.php, style.css, and template files. Be sure to make backups before you start making changes.

Step 1: Download the Custom Tweet Button for WordPress files from Github.

Step 2: Include the custom-tweet-button.php file in your theme’s functions.php file.

Step 3: Replace the bit.ly username, bit.ly API key, and Twitter username placeholders in the tweet_button function with your own. Your bit.ly credentials can be found on the “settings” page of your account.

Step 4: Add the custom Tweet Button CSS to your theme’s style.css file. Add the tweet.png image in your theme’s image folder. Make sure the image is correctly referenced in the CSS file.

Step 5: Call the function tweet_button in your template files (e.g. single.php) at the position(s) in the HTML you’d like the Tweet Button to appear:

if (function_exists('tweet_button')) {
   tweet_button(get_permalink());
}

Why make your own Tweet Button?

Making your own custom Tweet Button for WordPress has several additional advantages over using Twitter’s own offerings.

  • Full control over the HTML and CSS.
    Having full control over the HTML and CSS means that you can choose how to present your Tweet Button. I decided to reproduce the horizontal and vertical styles of Twitter’s own button. But any appearance is possible.

  • All click, traffic, and referrer data is stored in your bit.ly account.
    The URL for any published post is automatically shortened using the bit.ly service. The short URL is then passed to Twitter to ensure you can monitor the click and traffic data in your bit.ly account. The permalink is passed to Twitter in the counturl query string parameter to ensure that it counts the URL that your short URL resolves to.

  • No need for JavaScript or embedded iframes.
    The Tweet Button works without JavaScript. You have full control over any custom JavaScript enhancements you may wish to include. If you’d prefer Twitter’s share page to open in a pop-up window you can write your own JavaScript handler.

  • Faster page load.
    No external JavaScript or image files are loaded; both the short URL and retweet counts are cached.

  • Use the short URL and retweet count for other purposes.
    The short URLs and retweet counts are stored as post meta-data. This makes it easy to display this data anywhere else in a post. The retweet count data could be used for conditional template logic. For example, you could order posts based on the number of retweets, apply custom styles to your most retweeted posts, or display your most tweeted posts in a widget.

  • Easy to add Google Analytics campaign and event tracking.
    The Tweet Button is simple HTML and you have control over all the information that is sent to Twitter. Therefore, it is possible to use Google Analytics to help answer questions like: are people sharing your posts from the homepage or the post itself? If the Tweet Button is displayed above and below your posts, which gets the most clicks? How long do people take to click the Tweet Button? How many people are visiting my site thanks to links posted on Twitter using the Tweet Button?

  • Approximate the number of retweets for old posts.
    Before the release of the official Tweet Button, Twitter did not collect data on the number of times a URL was tweeted. This means your older posts may display far fewer retweets than actually occurred. However, there is a workaround. Use a service like Topsy, Backtype, or Tweetmeme to get the number of times your old post was retweeted. The difference between this and the number from Twitter’s APIs is the approximate number of retweets Twitter missed. To correct the retweet count for old posts add the number of missed retweets to a Custom Field called retweet_count_start.

How the custom Tweet Button works

Once a post is published its permalink URL is shortened using the bit.ly API.

The returned URL is permanently cached in the bitly_short_url Custom Field. The short URL is now part of the post’s general meta-data and can be used in contexts other than the Tweet Button.

The Twitter API is used to get the number of retweets for the post’s permalink URL. This number, along with the time at which it was requested, is cached in the retweet_cache Custom Field. When the cache interval has passed, an API call is made and the returned number of retweets is checked against the value stored in retweet_cache. If the returned number is greater, the value of retweet_cache is updated.

The content of the tweet is automatically created by setting several properties for the http://twitter.com/share URL. The post title makes up the message; the short URL is passed to Twitter as the URL to be displayed in the tweet; the permalink URL is passed to Twitter as the URL to be counted; and your username is declared.

$twitter_params =
'?text=' . urlencode($title) .
'&url=' . urlencode($short_url) .
'&counturl=' .urlencode($url).
'&via=' . $twitter_via;

The default HTML output is very simple and can be fully customised. To display the count number vertically, add the class vcount.

<div class="twitter-share vcount>
   <a class="twitter-button"
      rel="external nofollow"
      title="Share this on Twitter"
      href="http://twitter.com/share?query-string-params"
      target="_blank">Tweet</a>
   <a class="twitter-count" href="http://twitter.com/search?q=url>259</a>
</div>

Further enhancements

Please apply any improvements or enhancements for the script against the source repository.




button

Color Multiple Registration Buttons

I have multiple registration buttons and I’m looking for a way to use CSS for coloring the buttons rather than inline Style=background-color.
This is my html code.

form action=”registration.php” method=”post” name=”ApplicationsForm” id=”ApplicationsForm” align=”left”
input type=”submit” name=”ApplicationForm” id=”ApplicationForm” value=”Register for a Class”
span style=”color: blue;”>To Register: Click “Register for a Class” and complete the form.
/form

Thanks much
Dub




button

The marriage record of Lyons, Mathew P. and Button, Willie Walter




button

A Velvet coat with circular buttons




button

A Fur collared coat with braids, brass buttons and pants with appliqué




button

Marriage record of Button, Henry B. and Matt, Julia E.




button

Marriage record of Button, Henry B. and Altman, Alma




button

Marriage record of Benitez, Antonio P. and Button, Willie




button

Billy Button, the young clown and bareback rider




button

Marriage record of Button, Willminton and Tucker, Lottie




button

Marriage record of Keene, Berry W. and Button, Maude




button

Marriage record of Taylor, Charles A. and Button, Sadie




button

Old Buttonwood Tree In Parade Ground Fort Jefferson Dry Tortugas Oct 1956




button

A .Button is a Button is a Link

You’re working on a project and in it you see a button. It looks like a button, it acts like a button. It is a button. It is a <button>. It is a .button.

But is every <button> a .button? Is every .button a <button>?

Let’s take a look at some very specific examples:

We essentially have three different types of buttons:

  1. Image-only buttons (the next/previous paddles)
  2. Text-only buttons (the cancel link)
  3. Like, actual buttons

On most projects, I see developers choose to identify all of these as the same component: the .button.

As a result of trying to shoehorn everything under the umbrella of a single component, we run into a lot of style overrides. The default style is the actual button. And then text buttons need to strip away all those styles. And image buttons have other constraints like handling hover and active states of the images.

  1. .button--image
  2. .button--link
  3. .button

Different Patterns, Different Components

Just because the HTML under the hood is the same, doesn’t mean we need to use the same class for everything. Since we have three different types of buttons, we should identify them as such.

  1. .image-button
  2. .link-button
  3. .button

Or whatever name you want to come up with. (Naming things is hard.)

With each clearly defined, there is no need to override styles to add or takeaway styles applied by other button styles. This simplicity results in less complexity and possibly even less code by not having to override existing styles.




button

Kieran&#8217;s Big Red Button

It’s hard to believe it’s only been one week, no really, since our last confession. Where does the time go?

In this episode we catch up on what’s happened in our lives in the last seven days, discuss the latest goings on at Medium, ponder why the Guardian doesn’t write listicles and end on probably the best API in the world!




button

Jenson Button wins Legends race as Villeneuve makes strong virtual debut