Now, I’m not a fan of generators - however this one was pretty cool.
Whoever made this is looking to make a pretty penny though. Whether or not the page is full of Advertisements it is still a great resource, check it out!
Link: http://www.mycoolbutton.com/#
I have to say this isn’t all that bad of a tutorial - I noticed it when I was supposed to be working 
http://www.456bereastreet.com/archive/200705/creating_bulletproof_graphic_link_buttons_with_css/
We have a function - resizeAll()
Now, what does this function do?
Quite simple, if you read in my earlier post about the issue I found with YUI's animation class you would know what the purpose of this function does.
If you know NOTHING about what I speak, read my post here:
http://simplyprogram.com/yui-interesting-find/
Back to the function -- My initial test was to take one or many images and have them animate the EXACT SAME as the containing element. I am proud to say this has been accomplished!
So when we started this our code looked a little bit like this:
JavaScript:
-
var attributes = {
-
width: { to: 0 },
-
height: { to: 0 },
-
opacity: { to: 1 },
-
fontSize: { from: 100, to: 0, unit: '%'}
-
};
-
-
var anim = new YAHOO.util.Anim(itemObj,
-
attributes, 1.0, YAHOO.util.Easing.backOut);
-
-
anim.animate();
With my new function in place our code looks like this:
JavaScript:
-
var attributes = {
-
width: { to: 0 },
-
height: { to: 0 },
-
opacity: { to: 1 },
-
fontSize: { from: 100, to: 0, unit: '%'}
-
};
-
-
var anim = new YAHOO.util.Anim(itemObj,
-
attributes, 1.0,YAHOO.util.Easing.backOut);
-
-
anim.resizeAll();
-
anim.animate();
Thats it - Simply place anim.resizeAll() within your code and ALL images will take on the same attributes and animation method as your containing element.
What is next for this function?
I am now working to make it pretty much any element you could possibly want to animate!
On the priority list:
1. Other Divs
2. Other font tags
3. OBJECT Codes (Includes Flash
)
4. Forms
I think that should do it for now.
Until my next update!
Plot - Check!
Design - NEGATIVE!
Upload - Maybe?
Take over the world - Attempting!
---------------
This is the to do list for one of my new projects... WebmasterDigest.net!
Webmaster Digest is basically your one stop source for everything webmaster. Hard to believe yes? no? why not!? It will mainly be an advanced blog collecting numerous pieces of information regarding webmasters, scripts, and tutorials.
This really is a combination of my other websites - ACJavascripts.com, CYWebmaster.com, and TutorialMachine.com (which is still not finished).
Can't wait to get this bad boy up!
New life is being breathed into ACJavascripts.com - No, I am not redesigning it again!
However, considering the numerous errors with the website I am re-doing certain aspects as well as adding new elements and scripts.
If you have a free moment stop on bye and check out the additions and updates - http://www.acjavascripts.com.
I found something very interesting while working with YUI's Animation Library over the weekend.
When using its sizing controller I noticed that it would only size individual elements - For example, your basic element would look like this:
So, you then register "item1" with the YUI animation controller and do yourself a bit of animating.
JavaScript:
-
var anim = new YAHOO.util.Anim(itemObj,
-
attributes, 1.0, YAHOO.util.Easing.backOut);
-
-
anim.animate();
Now, this is all fine and dandy - what I want you to do now is place some text within "item1". You will notice it does not resize with your registered element. This however is not what I am concered about - YUI understood this issue and created an attribute "fontSize" to handle this problem.
However, place an Image within this element and you will find that it simply sits in the middle of the screen while your div does its animation dance. I have searched all over the developer forums and API documentation to see if there is a function or a way to make every element no matter image, font, or other divs to animate with a SINGLE parent element. So far I have had 0 luck - If ANYONE knows of such a function please let me know! Why do I want to know?
Simple - I have started to construct my own function that removes all elements within the given parent item and registers them with the animation controller. Now, why would I want to waiste all my hard earned time off to do this if it has already been done... right?
Until I hear from someone I will continue to create it on my 1 hour off weekends
"Blender 2.44 was intended to be an upgrade release, mainly for plenty of bug fixes, but the developers took the effort adding at least a few interesting new features.
This version now is fully 64 bits compatible, new modifers were added, a couple of composite nodes were added, and a revamp of the old mesh primitives was done. But most relevant to mention is Blender 2.44's new long-awaited but unexpected feature: subsurface scattering (SSS) support!"
Launched a few hours ago and so far 3 new members, keep it strong!
Thats right, I have RE-Launched CYWebmaster.com.
Sadly, I did not have the proper time when I first opened this wonderful website to take it to the next level. However, I have now launched it once again in hopes to bring this site to a level such as Coding Forums, Name Pros, and Digital Point.
Please do come and visit us!