Tuesday, January 20, 2009

Ultra versatile slider for websites

After my previous post about the Art of reusing code in your web projects I received many messages which asked to me to release an improved version of the slider I illustrated in the example number 3 of that post.

So, in this tutorial I'll explain a simple step-by-step way to implement an ultra versatile slider with horizontal scrolling and animated effects using MooTools. This is a basic proposal you can improve how you prefer. I included a link to the source code you can customize and reuse quickly in your web projects. The result is something like this:



Take a look at the live preview and download the source code.



Download the source code Live preview


HTML structure
HTML structure is very simple. We need a layer (DIV) and a simple list (UL). First step:create a layer which is the container of slider content:


Add this code:

<div id="slider-stage">
</div>

Simply, no? Now you have to add some elements (boxes) into that container using a simple <ul> list and some <li> elements. You have to set #slider-stage width to a certain value (for example 600px) and use owerflow property to create a "mask" like the following:



In this way you have a visible area and an invisible area. To set overflow property take a look at the next step which defines CSS properties. So...this is the code for the list:

<div id="slider-stage">
<ul id=
"myList">
<li >Box 1</li>
<li >Box 2</li>
<li >Box 3</li>
<li >Box 4</li>
<li >Box 5</li>
<li >Box 6</li>
</ul>
</div>


You can add all boxes you want simply adding a new <li> element in the previous code. Within each <li> element you can add all you want (text, images, videos...)
Now, after the previous code, add buttons to slide content to left or right using this code:

<div id="slider-buttons">
<a href="#" id="previous">Previous</a> | <a href="#" id="next">Next</a&gt;
</div>

Make attention do not change the name of buttons ID property (previous and next)!


CSS Code
Now take a look at CSS code. How I said you have to use overflow property to create a "layer mask" and hide all content (list elements) external to the container #slider-stage. More over take a mind this in order to set #slider-stage width:



If you have 3 visible boxes in your slider to set #slider-stage width you have to consider the box widht, padding and margin-left. So, #slider-stage width will be:

(box width * 3) + (box padding*3) + (box margin-right *2)

In the following case #slider-stage width is 632px (200*3 + 4*2*3 + 4*2):

#slider-stage{
width:632px;
overflow:auto;
overflow-x:hidden;
overflow-y:hidden;
height:200px;
margin:0 auto;
}
#slider-list{
width:2000px;
border:0;
margin:0;
padding:0;
left:400px;
}
#slider-list li{
list-style:none;
margin:0;
padding:0;
border:0;
margin-right:4px;
padding:4px;
background:#DEDEDE;
float:left;
width:200px;
height:200px;
}


JavaScript Code
Now, take a look at this simple script to enable slider features. I used MooTools to implement this script so, you have to add this link into the <head> tag of the page where you want to use this slider:

<script type="text/javascript" src="mootools.svn.js">
</script>

Now, copy and paste this code below the previous line of code to enable scrolling features (you can also copy this file in an external Js file and import it into the page):

<script type="text/javascript">
window.addEvent('domready', function(){
// Declaring increment vars
var totIncrement = 0;
var increment = 212;
var maxRightIncrement = increment*(-6);
// FX var
var fx = new Fx.Style('slider-list', 'margin-left', {
duration: 500,
transition: Fx.Transitions.Back.easeInOut,
wait: true
});

// Previous Button
$('previous').addEvents({
'click' : function(event){
if(totIncrement<0){
totIncrement = totIncrement + increment;
fx.stop()
fx.start(totIncrement);
}
});

// Next Button
$('next').addEvents({
'click' : function(event){
if(totIncrement>maxRightIncrement){
totIncrement = totIncrement - increment;
fx.stop()
fx.start(totIncrement);
}
}
})
});
</script>

If you have some familiarity with MooTools and JavaScript it will be very simple to understand:

var increment = 212;

...is the horizontal increment when you click the button previous or next. It's equal to the width of <li> element (200px) + padding (left + right = 4px+4px = 8px) + margin-right (4px).

var maxRightIncrement = increment*(-6);

...is the maximum increment from left to right. Why (-6)? Because I added 9 elements into the slider; default view display 3 elements each time; so to reach the element 9 you have to press the button "next" 6 times! Naturally you have to change this value if you change the number of <li> elements.

It's all! Take a look at the live preview or download the source code ready to use in your web porojects! Add a comment or send me a message if you have problems to implement it.

Download the source code Live preview

Monday, January 19, 2009

30+ Interesting Twitter services and applications

Are you a Twitter addicted? Take a look at this list with 30+ interesting Twitter services and applications which simplify your life with Twitter adding photos on your profile, creating tiny polls, monitoring the twittersphere and much more!

If you want to suggest other interesting links, please add a comment.

Twitter Search
Search Twitter in realtime - see what the world is doing right now.

TwitterTroll
TwitterTroll is the only real-time Twitter search engine providing the best way to find new twitter friends.

TweetScan
In the innovative world of Microblogging, one site aims to organize it all. Tweet Scan searches Twitter, identi.ca and other Laconica-based sites with more being added all the time.

Twittercal
It's a free service that connects your Twitter account to your Google Calendar. Add events in a snap from your favorite Twitter client.

Monitter
Monitter is a twitter monitor, it lets you "monitter" the twitter world for a set of 3 keywords and watch what people are saying.

Twilert
Twilert is a Twitter application that lets you receive regular email updates of tweets containing your brand, product, service, well any keyword you like really.

Twingly
Twingly.com is a micro-blog search engine featuring a spam-free, faceted, social search for the global blogosphere.

Twitter Grader
Measure the power and authority of your twitter profile.

TwitSay
Give your Twitter Account a Voice! Record up to 10 Seconds using your mobile phone.

Tweet2Tweet
Put two Twitter screen names into the boxes below to see their conversation via @ replies!

Twitterfone
Send message to Twitter using voice!

Twitter Ratio
Your Twitter Ratio is the ratio of your followers to friends (or people who you follow). It is measured with the TFF Ratio (Twitter Follower-Friend Ratio). The higher the ratio, the more Twitter heat you pack.

Happytweets
Happytweets is a measuring stick for how positive, or happy, a particular Tweep is. Enter the Twitter username for you or one of your buddies, click the "get happy" button, and you'll find out how happy your Tweets are.

StrawPoll
Create your tiny polls in 140 characters or less!

Qwitter
Qwitter e-mails you when someone stops following you on Twitter.

Tweetree
Tweetree puts your Twitter stream in a tree so you can see the posts people are replying to in context. It also pulls in lots of external content like twitpic photos, youtube videos and more, so that you can see them right in your stream without having to click through every link your friends post.

Twitthis
TwitThis is an easy way for people to send Twitter messages about your blog post or website. Read this post about how to add Twitthis on your Blogger Template.

Tweet This
TweetThis is a Wordpress plugin that adds a Twitter icon to every post and page, so your readers can share your blog entries on their Twitter accounts with ease.

Twitterfeed
Offers to tweet the last posts published in a blog via the RSS feed. twitterfeed can post directly to twitter, identi.ca, custom laconica installations, and via Ping.fm, simultaneously to the many services supported by Ping.fm.

TweetSnap
Personalised Twitter badges, images and banners for forums, MySpace and websites.

Twitxr
With Twitxr you can share pictures from your mobile phone, automatically publish them on social networks and photosharing sites, tell your friends where you are and what you are doing, automatically add your location to your pictures and status updates.

Twitpic
TwitPic lets you share photos on Twitter. You can post pictures to TwitPic from your phone, our API, or through the site itself.

BubbleTweet
With BubbleTweet you can add a pop-up video message to your twitter page in seconds.

TwitterFriends
TwitterFriends help you to see your relevant network and some stats about your tweeting behavior compared to other Twitter users.

Tweetr
Tweetr is a Twitter client for Mac and PC. Send files to your friends, but just dragging any file on to Tweetr. Tweetr will automatically upload your file and when it is done will provide a short url to send to your friends (please do not upload copyrighted material).

Twitterrific
Twitterrific is a fun application for MAC that lets you both read and publish posts or "tweets" to the Twitter community website. The application's user interface is clean, concise and designed to take up a minimum of real estate on your Mac's desktop.

Twhirl
Twhirl is a desktop client for social software such as Twitter, Friendfeed, identi.ca, or seesmic.

TwitterFox
TwitterFox is a Firefox extension that notifies you of your friends' tweets on Twitter.

Tweenky
Tweenky is a web-based micro-blogging ("tweet") client that currently supports Twitter and Identi.ca/Laconi.ca.

TweetCube
Share your files via Twitter with TweetCube.

Twingr
Twingr is nota a Twitter services, but you can create a microblogging community (twitter-like) and communicate with friends and other people that share your same interests.


Do you have any interesting links to suggest? Add a comment, thanks!

Saturday, January 17, 2009

Videocopilot - The Bullet - 3DS MAX, After Effects


Videocopilot - The Bullet
Advanced Training for 3D & After Effects
  • Composite a bullet with live action footage
  • 21 Tutorials and over 5 hours of training
  • 3-in-1 Training for Cinema 4D, 3Ds Max & Blender
  • Learn the secrets of 3d multi-pass compositing
  • Project files, help files and source footage included
What is The Bullet?
This training product is designed to show you how to create large-scale visual effects in an organized and powerful workflow. Starting with the raw footage, we will build all of the necessary elements to complete this amazing visual effects shot of Sam Loya firing a gun in slow motion.

What else will I learn?
The concepts and techniques will translate to unlimited visual effects possibilities and a powerful compositing pipeline for creative visual effects.


Do I need 3D software experience?
3D experience is not required; neither is an expensive 3D program for that matter. This DVD let's You choose your tools such as: Cinema 4D, 3Ds Max, or the powerful free program called Blender. The Blender portion of the DVD explains the program and everything you need to know to get started. The 3D camera movement is created in the tutorials so we do not need to use match moving software with live-action footage.

What can I expect to learn?

After Effects:
  • Creating elements from scratch
  • Working between AE and 3D, integrating camera data
  • Multi-Pass exporting and compositing
  • Advanced color correction techniques
  • File management and workflow tips such as pre-comp proxies
  • Displacement effects and other creative uses for common plug-ins
3D Software:
  • Model a realistic bullet and shell casing
  • Texturing and lighting with reflections
  • Animation with Null objects and groups
  • How to render multiple elements for compositing
Download Videocopilot - The Bullet
http://rapidshare.com/files/160867999/VCPTheBullet.part01.rar
http://rapidshare.com/files/161113264/VCPTheBullet.part02.rar
http://rapidshare.com/files/161139718/VCPTheBullet.part03.rar
http://rapidshare.com/files/161414246/VCPTheBullet.part04.rar
http://rapidshare.com/files/161451031/VCPTheBullet.part05.rar
http://rapidshare.com/files/161483852/VCPTheBullet.part06.rar
http://rapidshare.com/files/161522238/VCPTheBullet.part07.rar
http://rapidshare.com/files/162351112/VCPTheBullet.part08.rar
http://rapidshare.com/files/162373546/VCPTheBullet.part09.rar
http://rapidshare.com/files/162405126/VCPTheBullet.part10.rar
http://rapidshare.com/files/162644888/VCPTheBullet.part11.rar

Z Brush 3.1 - 3D Design and Sculpting



ZBrush 3.1

gives you access to unparalleled power and control previously unknown in digital art creation software. Controls enable sculptors to create with a stylus and a tablet as intuitively as if they were using their hands on a block of clay. ZBrush further extends the creation experience, harnessing technology and providing artists with a multitude of creation-enhancing tools.


Transpose:

Posing your model is as simple as moving an action line. Create a mask to isolate an area, click and drag. It’s no more complicated than posing a clay model with your fingers.


Metcap:

Matcap lets you apply real world texturing and lighting to your model. Sample a few points from your chosen photograph or texture; apply to your model, and seconds later you’ve got a model complete with texture and lighting


Perspective camera:

The perspective camera gives you the ability to apply perspective to your model, giving you the ability to adjust your focal length at will


Speed:

Multithreaded support for up to 256 processors let ZBrush compute at the speed of your imagination


HD Geometry:

Up to a billion polygons allow you to create objects with almost infinite detail HD Geometry allows you to divide your model to 1 billion polygons, and your system will only process the polygons visible onscreen


Topology:

ZSpheres makes simple and fast work of creating a new topology. And the projection feature lets you shrink-wrap your topology to an existing model


Scripted Interface:

ZBrush’s integrated scripting lets you create an interface that suits your workflow and your needs. Move existing interface items as you like, or add entirely new buttons and palettes to your interface.


User Defined Alpha and texture Start up:

Customize your environment with the alphas, textures, materials and plug-ins you use most


NEW MOVIE PALETTE:

Create, view or export ZBrush tutorials, movies, turntables, models, and even time-lapse videos of your sculpting process


Download Z Brush 3.1



Download Z Brush 3.1 Keygen and Update

http://rapidshare.com/files/164946901/ZBrush_3.1_Update_cw.info.rar

Friday, January 16, 2009

Hotmail Account Creator

Hiya

I just stumbled upon this hotmail account creator and hope this might come in handy for someone.

MSN
Hotmail
Windows Live

DOWNLOAD
http://rapidshare.com/files/169327380/Hotmail_Account_Creator_3.0__BETA_.zip

10 Delicious Free Fonts with commercial-use license

Ethan Dunham recently launched Fontsquirrel a showcase of free commercial-use typefaces which provides high-quality commercial use, free fonts. Take a look at this selection of ten delicious free fonts you can use in your design projects. This collection includes Aller, Fertico Pro Regular, Colaborate, Neo Retro Draw, Ubuntu Title, Marketing Script, UglyQua, Universal Fruitcake and Yanone Kaffesatz.


1. Aller (download)





2. Fertigo Pro Regular (download)
You can download this very nice font for free from myfonts.com (requires registration).




3. Colaborate (download)




4. NeoRetroDraw (download)




5. Ubuntu title (download)




6. Marketing (download)




7. Justus (download)




8. UglyQua (download)




9. Universal Fruitcake (download)




10. Yanone Kaffeesatz (download)




10 Beautiful and free must have Serif Fonts10 Awesome typewriter fonts for web designers10 Interesting fonts for web designers10 Delicious Free Fonts with commercial-use license10 Beautiful and free fonts for web designers5 Beautiful pen-style fonts10 Fonts to design original logos10 Handwritten fonts you can't miss

3D Studio Max 2009 Scripts Collection



About 3D Studio MAX:
Create stunning 3D in less time with Autodesk® 3ds Max® software. This full-featured 3D modeling, animation, rendering, and effects solution is used to produce top-selling games and award-winning film and video content. Those looking to quickly and efficiently generate convincing characters, seamless CG effects, or jaw-dropping games will want to explore this latest release of the software.



Scripts Included:


  • BlobMesh_Max2009.zip
  • BlurVColor.dlm
  • BlurVColor_64.dlm
  • Carrera_Max2009.zip
  • ColorPolyByVerts.dlm
  • ColorPolyByVertsSetup_1.1c.exe
  • ColorPolyByVerts_64.dlm
  • CounterText_v4.1.26.11_x86.exe
  • CrossSectionObject_Max2009.zip
  • Dem2Max_Max2009.zip
  • Displays-b1b_RC1.zip28125 Ego_Max2009.zip
  • ExtendedMultiPassMotionBlur.dlv
  • ExtendedMultiPassMotionBlur_64.dlv
  • ForceViewer_Max2009.zip
  • grassomatic_Max2009.zip
  • Greeble2009.zip
  • gwIvy_v0.9b-max-guruware.zip
  • Hair_Max2009.zip
  • HSpline_Max2009.zip
  • Ky_AdjustColor11.zip
  • Ky_DistanceFade11.zip
  • Ky_GCorrector11.zip
  • Ky_MilkyWay11.zip
  • Ky_ReplaceID11.zip
  • Ky_SurfaceBlur11.zip
  • Ky_Throughout11.zip
  • Ky_Trail11.zip
  • Lightmesh_Max2009.zip
  • MapToVColor.dlm5
  • MapToVColor_64.dlm
  • maxtrax_Max2009.zip
  • maxtrax_Max2009_2.zip
  • Moebius_Max2009.zip
  • mrGeomShaderObject_Max2009.zip
  • MultiIDMap2.dlt
  • MultiIDMap2_64.dlt
  • NullHelper_Max2009.zip
  • ParticleFlowToolsFreebiesMax2009×64.zip
  • ParticlePlus_Max2009.zip
  • ParticleSpline_Max2009.zip
  • Photometer_Max2009.zip
  • proteus_Max2009.zip
  • RPMframeInfo.dlv
  • RPMframeInfo_64.dlv
  • SgiLogo_Max2009.zip
  • simcloth3.rar294924 Snake.rar
  • Spider_Max2009.zip
  • Spiral.rar35328 SplineMesher.dlm
  • SplineMesher_64.dlm
  • SPP_Max2009.zip
  • SSPropagate.dlm
  • SSPropagate_64.dlm
  • Sticks_Max2009.zip
  • ToyTrain_Max2009.zip
  • TranslucencyMod.dlm
  • TranslucencyMod_64.dlm
  • XidMary_Max2009.zip