Reader
  • Home
  • About
  • Deals
  • Services
  • Contact
You are here: Home / Archives for modal box

Catch404: Modal Plugin for Handling Broken Links: jQuery | CSS

Last updated on January 25th, 2011 by Gabriel Livan

Catch404 is a jQuery and CSS3 Modal Plugin for showing broken links and 404 errors without users even having to leave the page after they click the actual link. The plugin uses the power of AJAX to check the target clicked link in the background. If the URL is not broken nor generates a 404 error, then the page will load for the user. Otherwise, the visitor would be prompted through an Inline jQuery Modal Window that he is trying to access a non-workable URL address.

Let’s pretend that this is a broken link. Can you imagine that when your users click this link, instead of them being redirected to a 404 error on your site, a friendly modal message pops up on your current page saying that it’s not available?. In that same message box you can then give them a sense of direction so that they’re not lost – you could ask them to click on a contact link to report the link’s broken, offer an alternative mirror, recommend they do a site search for the file or just say that you’re experiencing hosting issues and the file will be back up soon.

  • Source: http://addyosmani.com/blog/catch404/
  • Demo: http://www.addyosmani.com/resources/catch404/catch404.html

Filed Under: AJAX, jQuery Tagged With: modal box

Simple Lightboxing | The Programmer’s Lightbox Tool | Lightbox_me

Last updated on January 25th, 2011 by Gabriel Livan

Lightbox_me aims to be a simple solution to lightbox a DOM element without having all the fanciness of all the lightbox-related plug-ins out there. It’s an essential tool for the jQuery developer’s toolbox. Feed it a DOM element wrapped in a jQuery object and it will lightbox it for you, no muss no fuss.

Features include:

  • Handles overlay resize when the window is resized
  • Handles overlay size in cases where the document is smaller than the window
  • Handles position: fixed in all browsers
  • Position: fixed automatically swaps to position: absolute when the window size is smaller than the modal, so the user can scroll to see the contents
  • Tiny footprint (just over 1000 bytes gzipped & compressed)
  • Small DOM overhead (adds 1 DOM element for the overlay)
  • Dynamic iFrame shim is created and destroyed for the IE 6 select box peek issue (tested and working on HTTPS pages)

  • Source & Demo: http://buckwilson.me/lightboxme/
  • Download: http://github.com/buckwilson/Lightbox_me/zipball/master

Filed Under: jQuery Tagged With: modal box

Facebook-style Lightbox/Modalbox powered by jQuery and MooTools

Last updated on January 9th, 2016 by Gabriel Livan

Famspam is sharing Facebox, a Facebook-style Lightbox useful to display images, DIVs, or entire remote pages using AJAX. The download package comes with the JavaScript and CSS files, a loading image, a close label, four corners, and solid border images.

Implementation Example

1) Load Dependencies – First, you need to load jQuery before Facebox.

<script src="jquery.js" type="text/javascript"></script>
<link href="facebox.css" media="screen" rel="stylesheet" type="text/css"/>
<script src="facebox.js" type="text/javascript"></script>

Read more from this entry…

Filed Under: jQuery, MooTools Tagged With: lightbox, modal box

WordPress Login Modal Box: SimpleModal Login

Last updated on February 25th, 2015 by Gabriel Livan

SimpleModal Login is a Modal AJAX Login for WordPress that uses the jQuery library and the SimpleModal JQuery Plugin. This WP Plugin allows you to create your own custom themes. Currently, there are 2 themes available: default and osx.

From the plugin’s settings menu you can choose from one of the available themes as well as select where the user will be taken upon successful logon.

If you want to create a new theme, you need to add 2 files under the simplemodal-login plugin directory. css/THEME.css and js/THEME.js. Replace theme with the name you would like to use. Eric Martin, the author of this awesome plugin, suggests using one of the existing themes as a template.

More information – including installation guide, FAQ’s, screenshots – can be found on the WordPress SimpleModal Login Plugin page.

  • Source: http://www.ericmmartin.com/projects/simplemodal-login/
  • WordPress Plugin Page: http://wordpress.org/extend/plugins/simplemodal-login/

Filed Under: Plugins Tagged With: modal box

Creating an Exit Modal Box using the jQuery library

Last updated on March 26th, 2015 by Gabriel Livan

Shows up when the user is going to click close [X] button

Do you need to show a specific message to the visitors that leave your website? You can do that by initiating a modal box before they close the browser window.

To do this we need to include 2 JQuery files (the actual library and a plugin written by Eric Martin), the modal box’s CSS and the file that triggers the modal box based on the user’s action.

Read the rest of this entry…

Filed Under: AJAX, JavaScript, jQuery Tagged With: modal box

Next Page »

About Me

Gabriel LivanHey, there! I'm Gabriel Livan, Web Developer, Blogger and Internet Marketer. I love making fast, secure and scalable web applications, running and travelling around the world. I blog about WordPress, site speed & security and quality tools for web professionals. Read more

What are you looking for?

Categories

  • AJAX (22)
  • Deals (10)
  • Design (30)
  • eBooks (2)
  • Flash (19)
  • Freebies (11)
  • General (62)
  • Giveaways (1)
  • Graphics (27)
  • HTML & CSS (35)
    • Frameworks (9)
  • JavaScript (160)
    • Frameworks (8)
    • jQuery (89)
    • MooTools (14)
  • Page Loading Speed (2)
  • Photoshop (3)
  • PHP (113)
  • Reviews (8)
  • SEO (6)
  • Statistics (2)
  • Web Tools (13)
  • WordPress (27)
    • Plugins (15)
    • Snippets (4)
    • Tools (2)
    • Tutorials (6)

Copyright © 2026 · BitRepository.com - All Rights Reserved

  • Home
  • About
  • Contact