I am working on this cool little script in JavaScript that will move HTML objects around on a website, a really cool script overall for the unblockable 'pop-up' floating messages and other really cool object moving uses.
I am going to be using this script on the new website I am creating for my cousin's insurance agency (VanScoter Insurance Agency) to create something that looks like the moving text on Noto Insurance's website... but the major difference is that with the script I am making it won't use flash, which is harder for search engines to read and index, and will load faster.
But, to make so that it can move multiple HTML objects on the same page that are different CSS Classes (which is how each object is identified on the page) I am needed to figure out how to use classes in JavaScript.
So when researching how to create and use classes I found this Tutorial on WebDevelopersJournal.com that describes how to create functions and classes...
And as it turns out, classes are easier to define and create in javascript than I thought they would be.
So once I get home (I'm doing this post at work - The Ridgemont Wegmans) I am going to fix up my script.
No comments:
Post a Comment