I have seen some really smooth motion created with javascript, like w3c's new design: http://validator.w3.org/
Im just wondering how its possible to do this and if someone could recommend me some kind of tutorial on this topic.
12 1705
doesn't anyone know how to do this?
The W3C is using the Moo Tools javascript framework. I haven't used it before but there are similar libraries out there that accomplish the same thing. you can use the Prototype lib, with Scriptaculous for the effects. Just google prototype and scriptaculous and you will find plenty of tutorials on how to use scriptaculous. Makes effects really easy. Make sure your stuff works without javascript though.
Greg
MooTools is the best one available for visual effects. jQuery is the best one for speeding up your programming.
Im not a very big fan of using other peoples work as its always kinda comlex and hard to edit as we all write stuff different ways but I will check out the MooTools and see what it does, thanks.
I know what you meen Gozil. I think there is something to be said for not reinveting the wheel though. These libraries are made for the soul purpose of letting other people use them for free, so they don't have to code the complex javascript to achieve the effects you are looking for. They are easy to use and work across the browser spectrum (for the most part).
My point is that while it's totally ok to want to code your effects, you would be reinventing the wheel, and these libraries are so easy to use now, you can dramatically speed up your coding time.
Just my two cents.
Greg
gits 5,390
Expert Mod 4TB
I know what you meen Gozil. I think there is something to be said for not reinveting the wheel though. These libraries are made for the soul purpose of letting other people use them for free, so they don't have to code the complex javascript to achieve the effects you are looking for. They are easy to use and work across the browser spectrum (for the most part).
My point is that while it's totally ok to want to code your effects, you would be reinventing the wheel, and these libraries are so easy to use now, you can dramatically speed up your coding time.
Just my two cents.
Greg
That is quite true ;) ... but i personally expienced a lot of misunderstanding with libraries, frameworks and that stuff as long as someone didn't do something for hisself ... perhaps you did an ajax-request, or some transition effects, hide/show of some widgets of your page, try to attach some eventhandlers ... and then encounter the problem with browser-incompatibilities ... searching for solutions ... and then find a framework like mooTools, or ext or whatever. with the knowlegde you gained during 'selfcoding' you know what it has to do and what you need ... perhaps what you have to adapt and then ... you will love a framework ;)) ... even when you don't find the framework-code quite cool or whatever ... you know there are some people that develop it ... perhaps you want to contribute to them ... that's kind of open source spirit ... ;)
my two cents too ;)
kind regards
i just tried mooTools and its works amazingly, i too have been looking for something like this.
i recommend :D
I just looked at the source code from the slider and it makes no sense at all..
its just a RegExp function then theres about 100 lines of this: - m\'}}6 h};7 $1Z(){8 2c={};o(8 i=0;i<m.q;i++){o(8 f 14 m[i]){8 2L=m[i][f];8 2N=2c[f];9(2N&&$h(2L)==\'1y\'&&$h(2N)==\'1y\')2c[f]=$1Z(2N,2L);L 2c[f]=2L}}6 2c};8 $C=7(){8 y=m;9(!y[1])y=[5,y[0]];o(8 f 14 y[1])y[0][f]=y[1][f];6 y[0]};8 $25=7(){o(8 i=0,l=m.q;i<l;i++)
How could i possible personalize that? :)
gits 5,390
Expert Mod 4TB
hi ...
it looks like you have a compressed/obfuscated version of the code? ... you may download it without any compression to get a readable and documented source ...
kind regards
That is quite true ;) ... but i personally expienced a lot of misunderstanding with libraries, frameworks and that stuff as long as someone didn't do something for hisself ... perhaps you did an ajax-request, or some transition effects, hide/show of some widgets of your page, try to attach some eventhandlers ... and then encounter the problem with browser-incompatibilities ... searching for solutions ... and then find a framework like mooTools, or ext or whatever. with the knowlegde you gained during 'selfcoding' you know what it has to do and what you need ... perhaps what you have to adapt and then ... you will love a framework ;)) ... even when you don't find the framework-code quite cool or whatever ... you know there are some people that develop it ... perhaps you want to contribute to them ... that's kind of open source spirit ... ;)
my two cents too ;)
kind regards
you make some great points. I think individuals just need to figure out if it's worth it to them to use a framework where they might have to spend extra effort if problems arise, or spend the time coding themselvs. Good post!
Greg
When i try the script Moo tool the window starts open, is it possible to start the window as slid in ?
gits 5,390
Expert Mod 4TB
When i try the script Moo tool the window starts open, is it possible to start the window as slid in ?
i don't know MooTools in detail ... but you may have a look at the documentation of it. generally you may use the Method: -
window.resizeTo(width, height);
-
to create that effect ;)
kind regards
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Al Davis |
last post by:
Note: I tried cross-posting this message to several newsgoups,
including comp.lang.perl.misc, c.l.p.moderated,
comp.infosystems.www.authoring.cgi, comp.lang.javascript and
comp.lang.php. Nothing...
|
by: Ata |
last post by:
Hello,
I am trying to copy the contents of the output of SQL Reporting Services to
a PowerPoint slide. For this, I am using SQL Reporting Services to obtain an
IMAGE stream, which I paste to the...
|
by: WillRead |
last post by:
I have a VB.Net application and a PowerPoint presentation explaining how each
form in the application works, etc.. I would like to select and display the
slide appropriate for each form by pressing...
|
by: Michael Burtenshaw |
last post by:
I would like to make a slide show using random images. The problem is my
host is 250.com, and they don't support cgi-programs. Is there another
way to accomplish random images?
|
by: B Maxey |
last post by:
I am storing images in a database and need a way to browse those files. I
can load the files into an image list or whatever the control needs, but I
need a control.
It doesn't seem that any of...
|
by: Rudy |
last post by:
Hello All!
After working in the television industry, moving to a developing career has
been interesting to say the least. 3 years of developing with books, and the
help of you fine folks on this...
|
by: Beamer |
last post by:
Hi I am trying to build a roating slide effect in javascript.
Basically, I have a list like below
<ul id="slideShowCnt">
<li id="slide0"><img .../></li>
<li id="slide0"><img .../></li>
<li...
|
by: bsg92150 |
last post by:
i have a task that requires me to provide a web use with the ability to send
teh current page to a power point slide.
and to further complicate matters. the user may want to put the whole site...
|
by: Ed Sproull [MSFT] |
last post by:
I have an ASP site (www.elsphoto.com} and I have several pages that have
slide shows on them. The home page uses JPGs from a directory and the
Family, Wedding and Pets pages retrieve the photos...
|
by: vineetbindal |
last post by:
Hi all,
We have a slide show in a page which shows slids rotating after every 8-10 seconds with some descriptions about them.
The problem is if the connection speed is slow then the page loads...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |