Carbon is an extendable and beautiful rich text editor in the browser. It is inspired by Medium Editor.
It is built on top of an internal model for an article that clients can translate to and from JSON and HTML.
by via jQuery-Plugins.net RSS Feed
"Mr Branding" is a blog based on RSS for everything related to website branding and website design, it collects its posts from many sites in order to facilitate the updating to the latest technology.
To suggest any source, please contact me: Taha.baba@consultant.com
Carbon is an extendable and beautiful rich text editor in the browser. It is inspired by Medium Editor.
It is built on top of an internal model for an article that clients can translate to and from JSON and HTML.
If you’ve used Foundation before you might have found the menu / navigation components a bit tedious to use. If you wanted to build an icon bar or horizontal sidebar navigation menu, you would need to use those components exactly as they are (and customise them to suit your needs if you wanted anything else).
With the release of Foundation 6, all of that has changed. In one of their biggest overhauls to date, Zurb have managed to simplify the process so you can power along with your development.
In a previous post, I discussed many of the new features in Foundation 6. In this post, I’ll cover navigation menus. You’ll see that the Zurb team now offers a pared-back build, along with several really useful JavaScript plugins to make the menu system better than ever.
[author_more]
Navigation components have gone under a serious reconstruction in Foundation 6. In Foundation 5 you had a large range of menus to choose from, each of which required its own specific markup, settings, and styles to work correctly.
With the latest version, Zurb has re-worked these different menus into one large menu with multiple configuration options. So the following menus are now gone:
These have been replaced with a single component called Menu.
The menu is straight-forward. You define your markup with your a and li items inside your ul element with the menu class:
[code language="html"]
<ul class="menu">
<li><a href="#">Option 1</a></li>
<li><a href="#">Option 2</a></li>
<li><a href="#">Option 3</a></li>
</ul>
[/code]
This new menu component offers the same basic functionality as the previous menus in Foundation 5, but has them as options so you can choose if your menu is to be a vertical menu, horizontal menu, icon bar, etc.
By default, the menu class adds padding, subtle colours, and other layout aspects to help get you started. If you prefer to style everything yourself, you can add the .simple class to your menu and it will strip out most of the styling.
[code language="html"]
<!-- A basic menu with most styling stripped out -->
<ul class="menu simple">
<li><a href="#">Vanilla</a></li>
<li><a href="#">Strawberry</a></li>
<li><a href="#">Chocolate</a></li>
<ul>
[/code]
Menus will be horizontal by default, which will work much like the older ‘inline menu’ from Foundation 5. If you want to have a vertical menu instead, it’s as easy as adding the vertical class to the menu. We could use this feature to create, for example, a listing of our latest news items.
[code language="html"]
<!-- Basic vertical menu example for showcasing blog items -->
<ul class="menu vertical">
<li><a href="#">Dynamic Interactivity, 21st December 2015</a></li>
<li><a href="#">Web Fundamentals, 12th December 2015</a></li>
<li><a href="#">Intro to CSS, 02nd December 2015</a></li>
</ul>
[/code]
If you’re going to have sub-menus, you will most likely end up using one of the menu plugins such as the dropdown/drilldown components, however you can easily make a sub-menu offset to the left for use in a vertical menu by adding the nested class:
Continue reading %Foundation 6: The New Menu Component%
Out of the box, WordPress provides tons of functions that can be used to interact with the database. In most cases, the WP_Query class and related functions such as wp_insert_post, update_post_meta, get_posts will be sufficient to get the job done. However, there will be times that we're required to do something that is not provided by WordPress natively, especially when we need to deal with custom tables.
In this tutorial, we'll walk through the most important class to deal with databases in WordPress - wpdb, including a few tips and tricks that can be implemented in our development workflow later on. We'll also touch on dbDelta that can be used to create custom tables in our plugin.
wpdb Classwpdb is perhaps the single most important class that we use when we need to deal with database directly. It is based on the ezSQL class written by Justin Vincent, adapted to work with WordPress.
The basic methods and properties of the wpdb class is already well explained on the WordPress Codex page so there's no point to reiterate them here. Instead, we're going to go through a few common mistakes that WordPress developers can make, how to rectify them, as well as best practices that can be applied when using the wpdb class.
Continue reading %Working with Databases in WordPress%
Since Material design was introduced, the Floating Action Button (FAB) has become one of the simplest components to implement, becoming a fast and essential favorite amongst designers and developers.
In this tutorial I will show you how to make your apps FAB interactive and how to make your own animations. But let’s start simple, adding the Floating Action Button to an Android project.
Continue reading %Animating Android Floating Action Button%