Yes, you could do animations of your own with Javascript programming - much like what you could do with Flash, Visual Basic, any web development kit, or most programming language. One trick is to use Javascript programming in resizing the embedded objects on the web pages of your website, such as
digital images. It's not quantum physics, specifically the Hubble constant, but it's as consistent in adding a little dimension in your website universe.
It's really very simple, and you just need to know a few codes in the process. I suggest you use a
good photo editor in editing the images you want embedded on the pages on your website so as to make it look as professional as those done by professional web designers who use Flash programming on their websites. Here are the sample codes of resizing embedded objects using Javascript programming:
< - sample code - >
function doWidthChangeMem(elem,startWidth,endWidth,steps,intervals,powr) {
//Width changer with Memory by www.hesido.com
if (elem.widthChangeMemInt)
window.clearInterval(elem.widthChangeMemInt);
var actStep = 0;
elem.widthChangeMemInt = window.setInterval(
function() {
elem.currentWidth = easeInOut(startWidth,endWidth,steps,actStep,powr);
elem.style.width = elem.currentWidth + "px";
actStep++;
if (actStep > steps) window.clearInterval(elem.widthChangeMemInt);
}
,intervals)
}
< - end of sample - >
So I guess that would teach you a thing or two about
resizing objects using javascript programming. It would evidently assure you of better looking websites, thus more visits from web surfers on the planet and beyond. Just make sure you don't include photos or videos that are not from your creations, 'cause if so, you'd be spending time and money paying for infringement costs and all, you know - I hope you do know better!
Comments