background preloader

Web

Facebook Twitter

CSS and jQuery Tutorial: Overlay with Slide Out Box. The other day I was creating an overlay with a box for Cody’s jTextTranslate jQuery Plugin and I thought, it could be useful to describe the technique in a tutorial. So, I want to show you how to create a semi-transparent overlay that covers all the page, and a message box that can be turned […] The other day I was creating an overlay with a box for Cody’s jTextTranslate jQuery Plugin and I thought, it could be useful to describe the technique in a tutorial.

So, I want to show you how to create a semi-transparent overlay that covers all the page, and a message box that can be turned off again. You can see on the screenshot how that will look. Then I will show you how to add some jQuery that will make the overlay appear and the message box slide down from the top of the page (try the demo at the end of this post). Ok, let’s get to work: 1. We just need two elements in our HTML: a div for the overlay and a div for the box. Let’s give them some style. 2. 3. And that’s it! Enjoy! Resolve. Clumsy-bird/CUSTOMIZING.md at gh-pages · ellisonleao/clumsy-bird. Dino Pairs Game - Using CSS3 Animation. Today were talking about how I created my Dino Pairs Game using CSS3 animations.

This tutorial only really works in Chrome because I’m using 3d transforms. The game is playable in Firefox but better in Chrome. So yeah I’ve had a bit of time off and had a little dabble with games. I’ve been having a look at the canvas tag, looking at out of the box game development like Construct2 (which by the way is awesome for rapid development of HTML5 games). I’ve also had a look at impactjs but haven’t managed to get to grips with that yet. But my heart lies with CSS, I just get it. I find it easy can experiment with confidence and enjoy coding it. View DemoDownload Hit the Deck So first things first we need the image assets for the deck. So now that is done we can get on with the rest of the game. HTML5 Page The HTML is pretty straight forward but I have used HTML5 layout elements within the page. Time: Reset Play Your time taken was . Play again The Javascript So now the CSS And that’s it. Shaker Brand | Audio Branding | Original Music | Jingles | IVR.

World Baking Day 2015. De Haus - Gin & Tonic Bar in Brussels. Biscuiterie bio en Picardie (60) - La Pierre Qui Tourne. Biscuiterie bio en Picardie (60) - La Pierre Qui Tourne. Saint-Aubin | Grands vins de Bourgogne. Ristorante Giapponese Cinese Roma | La Dogana Food. Risotteria Melotti New York – Home of Italian risotto in NYC. Cantina Valpolicella Negrar. Monte Ré. Ristorante Giapponese Cinese Roma | La Dogana Food. Cantina Valpolicella Negrar. Risotteria Melotti New York – Home of Italian risotto in NYC. 11 Zitoune - Nominee April 28 2015. Website evaluation 4. Content 1 2 3 4 5 6 7 8 9 10 Website evaluation 4. Content 1 2 3 4 5 6 7 8 9 10. TYM Tractors | Manufacturer of agriculture tractors, parts, and equipment. Oliver Harvey Is The Leading Supplier of Professional Chef Clothing in Britain. Ristorante Giapponese Cinese Roma | La Dogana Food.

The 5 Weirdest Ways the Modern World Changed Human Behavior. MOODBOARD – Film-Manufaktur | Filmproduktion. Pace Law - Nominee December 31 2013. Best Free Responsive Html5 Css3 Templates | Themes in 2013. Usage Examples | MaxImage 2.0. Caution: This example is meant for expert users. Remember, with FillElement you can often accomplish an offset scheme very easily... just set your containing element where you want the images to be displayed. Because the first rule of Maximage 2.0 is to try to remain hands off and out of your way, the built in support for offsets have been dropped with version 2.0. This doesn't mean they aren't possible. With a little elbow grease they can still be accomplished (and are better).

What I am doing with the below code is creating curtains / offsets that live in front of the slideshow. Once we have our curtains up, the slideshow is still resizing to the full window and we want to have it maximize within the viewable area... our window size minus our offsets. View Example. Paging and Custom WordPress Loops. Last week I published two articles using custom loops. The first was about how to create a custom loop. The second was how to retrieve posts based on custom fields. In both articles, several readers commented that they would like to see paging and have it explained. I’d like to thank Aaron Harun from Anthology of Ideas for supplying the code used in this post. Paging, and why it doesn’t work with WP_Query The paging magic happens in a file called ‘link-template.php‘ in the ‘wp-includes‘ folder. Most themes have basic paging built in, with the help of two functions: next_posts_link and previous_posts_link.

These functions, as well as several others, make use of a global variable called $wp_query. How to make paging work with a custom loop As Aaron mentioned, the paging functions rely on a global variable called $wp_query. In the example below, I’ll show how to display the last five recent articles with our own custom loop with paging intact. <h3>Recent Articles</h3><ul><? <? The Full Code Howdy! Quick Wordpress Tip: Limiting Post Excerpt Word Count in your Wordpress themes - Cuppa. UPDATE: A great alternative to the solution below is using the built in function wp_trim_words(); is was added in WordPress version 3.3.0.

Check out the wordpress codex on this. Here is a quick tip that enables you to have more control over your post excerpts word count. This snippet allows you to limit the amount of words that are displayed in your post excerpts. The code isn’t hard at all to include in your themes, it involves adding some php to your functions.php file and replacing “<? Php the_excerpt(); ? Put this code snippet in your functions.php file (If you do not currently have a functions.php file in your theme you will need to create one). This code replaces your <? To choose the amount of words you would like to display all you need to do is change the second parameter of the limit_words function. Making a web page fit an iPhone screen. I’ve made three simplified pages that demonstrate the problem and solution. The basic HTML on all three pages is the same, and looks like this: <body><div id="wrapper"><p>Some paragraphs here... </p><p>More text...

</p></div></body> The first example is here. Width: 600px; And, in common with many recommendations I’ve seen for getting websites to display properly on the iPhone, the page has this meta tag: This causes problems though, as the CSS’s set width seems to take precedence over that meta tag’s “width=device-width” and the page comes out too large. OK, so we need to fix something. If your webpage is narrower than 980 pixels, then you should set the width of the viewport to fit your web content. OK, so let’s try our same example page, with the same CSS, but with the viewport meta tag like this: Here’s the second example, with the new meta tag, and here’s how it looks, again in Safari on the left, and opened from the Home Screen on the right: That surprised me. Max-width: 600px; Success! jQuery Ajax - load() method. AJAX stands for Asynchronous JavaScript And XML, it is a technique for creating fast and dynamic web pages.

Ajax lets us send requests from the browser to the server, and manage the server response without page reload, so we can update a part of the page while the user remains on the same page. jQuery has multiple methods (functions) for AJAX. In this tutorial it's presented the load() method. The load() method is a simple AJAX function that loads data from the server and place the returned HTML into the matched element on the current web page. Syntax: $('element').load(url, data, complete) - url - specifies the URL to which the request is sent. - data - (optional) a string that is sent to the server with the request. - complete - (optional) a function that is executed when the request completes.

For security reasons, the external file with the content you load must be stored on the same domain (server) as the web page from which your script is running. Let's see a simple example. <! <! <! Ryan Scherf : Minneapolis based web design + development. Ascensor.js. 11 Best jQuery Plugins December 2011. In this post, we have compiled 11 best jquery plugin for december 2011 that are used to let you stand out unique in the latest web trend. Enjoy !. An amazing plugin for jQuery 1.6+ & HTML5 fancyBox is a tool that offers a nice and elegant way to add zooming functionality for images, html content and multi-media on your webpages. It is built at the top of the popular JavaScript framework jQuery and is both easy to implement and a snap to customize.

With this jQuery plugin, you can extend the animate function to support the CSS box shadow-property. You can animate the color, the x- and y-offset, the blur-radius and spread-radius. PicStrips adds a little style to your images to help them stand out from the crowd. The jQuery webcam plugin is a transparent layer to communicate with a camera directly in JavaScript.

Textualizer is a jQuery plug-in that allows you to transition through blurbs of text. Tubular is a jQuery plugin that lets you set a YouTube video as your page background. Tiny Circleslider: A lightweight circular carousel for jQuery. What is it? Tinycircleslider is a circular slider / carousel. That was built to provide webdevelopers with a cool but subtle alternative to all those standard carousels. Tiny Circleslider can blend in on any wepage. It was built using the javascript jQuery library. Features IOS and Android support. AMD, Node, requirejs and commonjs support. Need support or custom features? Anything is possible! Examples $(document).ready(function(){ $('#circleslider1').tinycircleslider();}); Note: There is no lightbox natively in tiny circleslider for this example fancybox was used. To get a better understanding of how it all comes together I made a (corny) styled example. Constructor Properties Methods Events Usage The image below displays how you calculate the radius of your circleslider.

Minimit Gallery Plugin. JqPagination, a jQuery pagination plugin (obviously) Introduction jqPagination is a jQuery plugin that provides a newer method of pagination for your web site or application. Instead of displaying a list of page numbers like traditional pagination methods jqPagination uses an interactive 'Page 1 of 5' input that, when selected, allows the user to enter their desired page number. The plugin will ensure that only valid pages can be selected, a valid request will result in the paged callback.

First, previous, next and last buttons work out of the box, but are optional. Download Fork on GitHub Here are a few key points: Design agnostic Customisable Degrades beautifully Super simple to integrate with your app / site Uses jQuery... who doesn't love jQuery?! Demo It's oversized too, so you can try it when you're drunk! Show / hide event log: Installation Installation is super easy, for a basic setup you'll need the following HTML: And now we'll need to initialise the plugin against our HTML: Customisation Options Callbacks Methods current_page max_page. 11 Best jQuery Plugins December 2011. In this post, we have compiled 11 best jquery plugin for december 2011 that are used to let you stand out unique in the latest web trend.

Enjoy !. An amazing plugin for jQuery 1.6+ & HTML5 fancyBox is a tool that offers a nice and elegant way to add zooming functionality for images, html content and multi-media on your webpages. It is built at the top of the popular JavaScript framework jQuery and is both easy to implement and a snap to customize. With this jQuery plugin, you can extend the animate function to support the CSS box shadow-property. You can animate the color, the x- and y-offset, the blur-radius and spread-radius. PicStrips adds a little style to your images to help them stand out from the crowd.

The jQuery webcam plugin is a transparent layer to communicate with a camera directly in JavaScript. Textualizer is a jQuery plug-in that allows you to transition through blurbs of text. Tubular is a jQuery plugin that lets you set a YouTube video as your page background. Tubular, a YouTube Background Player jQuery Plugin | Sean McCambridge Design. Video controls:Play | Pause | Volume Up | Volume Down | Mute Tubular is a jQuery plugin that lets you set a YouTube video as your page background. Just attach it to your page wrapper element, set some options, and you're on your way.

$(page content wrapper element).tubular(options); Tubular's hello, world Assuming you're happy with the default options and you use a wrapper div with the id of wrapper, you simply attach to your wrapper div and specify the video you want to load: and Presto! A word of caution Tubular does not design your website for you. Options and defaults ratio: 16/9 // usually either 4/3 or 16/9 -- tweak as needed videoId: 'ZCAnLxRvNNc' // toy robot in space is a good default, no?

FlexSlider 2. Waste Creative. Really open. Timeline Portfolio. Timeline is a jQuery plugin specialized in showing a chronological series of events. You can embed all kinds of media including tweets, videos and maps, and associate them with a date. With some design tweaks, this will make it perfect for a portfolio in which you showcase your work and interests. The HTML Timeline comes with a light colored theme by default. It is perfectly usable and in most cases would be exactly what you need.

First, let's look at the basic layout of the page: index.html <! In the head section, we have the plugin's stylesheet - timeline.css, and styles.css, which will hold our customizations. When we call the plugin, it will search for a div on your page with the ID of timeline. <div class="container main" id="timeline"><div class="feature slider" style="overflow-y: hidden;"><div class="slider-container-mask slider-container slider-item-container"><! As we will be modifying the CSS of the timeline, the fragment above will give you a better idea of the customizations. Make an accordian style slider in CSS3. CodeAndMore @font-face made simple tool. Simple jQuery Modal Window Tutorial. Introduction In this tutorial, I'm going to share how to create a simple modal window with jQuery. I like jQuery, it makes everything so simple and so easy.

In case you don't know what's modal window. You can click here. That's an example of a modal window. In this website, I'm using facebox (inspiration from facebook). Others, such as lightbox, thickbox, multibox, litebox...... it's too many of them and they all are having different features. Right, let's start, this example will show you how to create a modal window that will display the content of a DIV #ID. My objectives are: Able to search the whole html document for A tag NAME="modal" attribute, so when users click on it, it will display the content of DIV #ID in the HREF attribute in Modal Window.A mask that will fill the whole screen.Modal windows that is simple and easy to modify.

Advertisement 1. <! 2. 3. It's very straight forward and easy to understand. 4. Due to popular demand :), I have an example for it. Use Cookie on First Load. Digital Creativity Guidebook. HAITI NEWS NETWORK -  Sakapfet, Haiti news, haiti info, latest news, nouvelles, Fouye,,headlines, haiti radio, newspapers. Haiti chat line, Haiti forums  Haiti global village  Haiti sports football soccer, port haiti , haitian music. CRAZY cRaZy cRaIG. Summer Under The Stars. Top 50 Los Peores y mas Locos Sitios Web Parte I. Beautiful Unique Design for Web & Print | Racket. Zoomooz.js. Web Developer Checklist. Thinknologies d.o.o.

15 Examples of Brilliant Homepage Design.

CSS