Category: ajax/javascript

tooltip

como agora os balões andam muito na moda, deixo aqui umas dicas :=)


qTip http://craigsworks.com/projects/qtip/demos/

JQuery

Share and enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • LinkedIn
  • Netvibes
  • PDF
  • RSS
  • Slashdot
  • StumbleUpon
  • Twitter

Firefox accelerometer

Paul Rouget shows off some cool new demos that are baking on the trunk of Firefox currently.

First are some nifty new events that get fired if your computer has an accelerometer:

JAVASCRIPT:

  1. window.addEventListener(“MozOrientation”, function(e) {
  2. /* 3 values: e.x, e.y, e.y */
  3. }, true)

It works with MacBooks and on Windows and Linux with Thinkpads.

Check out this cool screencast of the orientation event in action:

orientation_demo

They also have WebGL and CSS Transitions going in Firefox trunk now as well! There are some demos in the original blog post of WebGL + CSS3 + SVG as well as CSS Transitions + the HTML5 Video tag that are very cool (require Firefox Nightly).

Here’s an example code snippet showing how you can use CSS Transitions to change the background color of a DIV over time as well as changing the width and height of an HTML5 Video at the same time:

CSS:

  1. div {
  2. -moz-transition-property: background-color, height, width, font-size;
  3. -moz-transition-duration: 2s, 1s, 2s, 1s;
  4. -webkit-transition-property: background-color, height, width, font-size;
  5. -webkit-transition-duration: 2s, 1s, 2s, 1s;
  6. }
  7. div video {
  8. -moz-transition-property: width, height;
  9. -moz-transition-duration: 2s, 2s;
  10. -webkit-transition-property: width, height;
  11. -webkit-transition-duration: 2s, 2s;
  12. }

Someone’s also put together a cool demo that puts the new accelerometer support with some SVG to create a Super Mario Kart clone:

mario_orientation

Fonte:Ajaxian

Share and enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • LinkedIn
  • Netvibes
  • PDF
  • RSS
  • Slashdot
  • StumbleUpon
  • Twitter

Preload Page

The classic animated gif, or the “loading…” text, could be now easily replaced thanks to this new jQuery plug-in.

Specially suited for a page loads of images, the final result showed in this demo looks really nice and flashy.

Features:

  • Preload a whole web page.
  • Preload a part of the page.
  • Gets all images, <img> tags and background-image of your CSS
  • Easy to implement.
  • Adjustable loading bar.
  • Tested in Firefox, Safari, Opera, Chrome, IE7, IE8 and IE6 (script will be ignored in IE6 though).

Full post, demo, and source code, are in Gaya Design blog.

To be honest, I instantly had a thought about this technique:  wasn’t the DOMContentLoaded event purpose the one to avoid people waiting a full page download before they’re allowed to interact with it? … never mind, we cannot do much in any case in front of images dedicated layouts.

Fonte:GayaDesign

Share and enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • LinkedIn
  • Netvibes
  • PDF
  • RSS
  • Slashdot
  • StumbleUpon
  • Twitter

Manual AJax e PHP

AJAX & PHP

Manual de PHP

  1. http://battisti.wordpress.com/2007/03/10/apostila-de-php/

Manual de AJAX

  1. http://battisti.wordpress.com/2007/08/17/apostila-de-ajax-epac-conged/
  2. http://battisti.wordpress.com/2007/05/09/apostila-de-ajax/


Share and enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • LinkedIn
  • Netvibes
  • PDF
  • RSS
  • Slashdot
  • StumbleUpon
  • Twitter

Ajax lightbox and modal dialog solutions

1. Lightbox2

lightbox2.jpg

A popular lightbox solutions that written by Lokesh Dhakar, it is built on prototype and scriptaculous framework. It only supports images and slideshow.

 

2. Lightbox Gone Wild

lightbox-gone-wild.jpg

Inspired by lightbox and include the support for form and html. It is based on prototype and scriptaculous.

3. Colorbox

colorbox.jpg

Lightweight and customizable lightbox plugin through CSS and jQuery. The plugin support images, image group, ajax, inline content and iframe content.

4. Fancybox

fancylightbox.jpg

Display images, html and multimedia content. It is a jQuery based lightbox.

5. jQuery Lightbox Plugin

jquerylightbox.jpg

Similar to Lokesh Dhakar lightbox solutions, except it is jQuery based.

6. prettyPhoto

prettyphoto.jpg

Jquery lightbox clone and support more multimedia format.

7. Litebox

litebox.jpg

Lightweight lightbox which built on moo.fx and prototype.lite.

8. Thickbox

thickbox.jpg

Similar solutions to lightbox2, but it has more features like display inline content, iframed content or content served through ajax in a hybrid modal. It is build on jQuery.

9. Slightly Thickerbox

slightlythickerbox.jpg

A mod from thickbox which add on next and previous button to form a images gallery.

10. Slimbox

slimbox2.jpg

The ultimate lightweight Lightbox clone for jQuery. As stated, slim and slimmer solutions for lightbox.

11. LightView

lightview.jpg

Built with prototype and scriptaculous. Supports plenty of media format.

12. jQuery Dialog

jquerydialog.jpg

jQuery UI also contains dialog component, although its nature is more like a dialog and form. But, you can customize to create your own flavor of image preview or gallery.

13. Prototype Window

prototype.jpg

A prototype based window dialog.

14. MochaUI

mochaui.jpg

MochaUI is an UI framework for mootools. It includes dialog windows for displaying rich content.

15. Facebox

fambox.jpg

Facebook lightbox aliked, jQuery based modal dialog. It support images, div or entire remote pages.

16. Boxy

boxy.jpg

Facebox aliked, but it support more features like dragging and size tweening.

17. ModalBox

modalbox.png

A modal dialog that allow you to include html within. Build with prototype and scriptaculous.

18. Shadowbox

shadowbox.jpg

Support most of the media format and it is customizable through css. On top of that, it is a standalone javascript solutions. It is free for non-commercial usage.

19. LightWindows

lightwindow.jpg

A comprehensive lightbox solutions which enable you to embed images, video,iFrame, flash and more.

20. SimpleModal

simplemodal.jpg

Yet another jQuery based modal dialog.

21. jqModal

jqmodal.jpg

22. Multibox

multibox.jpg

Support images,flash, video, mp3 and html and it is build with mootools.

23. Greybox

greybox.jpg

Can be used to display websites, images and other content, doesn’t rely on any ajax framework.

24. Highslide

highslide.jpg

A really quick and smooth free image viewer. It supports plenty of formats like html,ajax,iframe and flash.

25. Sexybox

sexybox.jpg

Another standalone lightbox which display content directly from html.

Lightbox Generator

VisualLightbox

WebGalleryCreator

Lightbox Plugins for Wordpress

Lightbox2

jQuery Lightbox

Shadowbox

Flexible Lightbox

If you need more lightbox plugin for wordpress, you can visit the link here.

Alternative Solutions

Creating Lightbox with CSS

Firefox hack – Greased Lightbox

Via: http://www.dottony.com/30-useful-ajax-lightbox-and-modal-dialog-solutions/

Share and enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • LinkedIn
  • Netvibes
  • PDF
  • RSS
  • Slashdot
  • StumbleUpon
  • Twitter

WordPress Themes