Search

Rss Posts

Rss Comments

Login

 

Posts in ‘jQuery’

prettyComments 1.2

Jul 14

I’ve just updated my prettyComments plugin and made a project page for it (the old post was too dirty for me ;) )

You can view/test the updated version on this page. Feel free to leave any comment in this post as this will become the main post for the plugin.

Thanks!

prettyPhoto 2.1 is out.

Jul 02

I have just put online a new version of prettyPhoto, this version now supports titles.

As usual, if you have any comments/bugs feel free to leave a comment in the main prettyPhoto post.

Head to the project page to view the latests changes.

prettyPhoto 2.0 is out!

Jun 05

I’ve just put online the new version of prettyPhoto. This release include a bunch of fixes and improvement that makes it much, much better, it is recommend to update your current version if you are already using it.

Here’s a list of updates:

  • New button design;
  • Fixed a glitch on image resizing;
  • The images bigger than the viewport are now resized to fit;
  • The pictures now follow the scroll when the gallery is opened;
  • CSS has been tweaked a bit.

To view a demo or download the latest version, go to: http://www.no-margin-for-errors.com/projects/prettyPhoto

Feel free to leave your suggestions/comments!

prettyPhoto, a jQuery lightbox clone

Apr 14

I’ve just finished prettyPhoto, a lightbox jQuery plugin.

You can find it here: http://www.no-margin-for-errors.com/projects/prettyPhoto/

Pretty Photos

Apr 03

My new jQuery plugin is on it’s way, it’s done, tested, I just need to make it ready for wide usage. That means, clean up the code, optimize the css, dynamize the images, basic stuff like that. Nothing like the hell I went through the past couple of days to make it work in IE…

Basically it’s a lightbox clone for jQuery (yes, another one!). The reason is simple, the clones already available either don’t reproduce lightbox close enough, or were not flexible enough for my needs. So I went ahead and created one of my own!

Release is expected to be around mid-week next week. I really do hope to get the same feedback as the ones I got for my Pretty Comments script.

First post in a while.

Feb 23

Let me say first off, that I’m am more than happy with the response I had for my pretty comments jQuery plugin. More than 1500 people visited my blog last month and more are coming just for that bit of code. Really, I am impressed, never tought I’d get such response.

I have been on vacation for 2 weeks, I’ll be back at work and in fully working shape next week. That means I should get more active. I’m currently working on another jQuery plugin that takes the standard browser drop downs (we all know they can’t really be styled with css) and give you the ability to customize them. The script is started, pretty advanced, I only have some issues with accessibility and needs to test it some more to make sure it doesn’t break anything in the forms when you use it. The name? Pretty dropdown ;) You can see I am very inspired :D
Thanks again for all the positive feedback!

Blogged with Flock

Pretty comments

Feb 01

UPDATE: Please refer to this post for support/updates on prettyComments

Here’s a small jQuery plugin that allow textareas to strech as content is put in. If the content goes over the defined height of the textarea, the textarea will stretch.

So no need to more scroll up in that cramped space to take a look at what you wrote 10 lines before.

It’s really easy to use, just download the file pretty-comments.js and include it in the html page where you want to allow the comment box stretching. Then put that bit of code in that same page to include the script:

<script src=“the-path/js/pretty-comments.js” type=“text/javascript” charset=“utf-8″></script>

You can then play a bit with the options which are located at the top of the javascript file, you can define if you want to have it animated or not and the speed of the animation.

Then put that bit of code in the same page you have your comment box, you need to pass the comment box id as a parameter for it to work.

<script type=”text/javascript” charset=”utf-8″>
$(document).ready(function(){
prettyComments.init(’comment’);
});
</script>

That’s really all there’s to it, if you want a demo, just leave a comment, you’ll see the box stretch :)

Files: Un-compressed (3kb,options)
Packed (1kb, animated, no options)

Demo: Right in that page, just enter a lot of content in the comment box.

If you notice any bug, need any support, just leave a comment, I’ll do my best to help you!

Note: You also need the jQuery library in order to use this plugin

Update: Version: 1.1 relased! Now the textarea can shrink back to it’s original size when you delete content from it!