JustinSmall
07-23-2007, 03:53 PM
Hello, I'm looking for a drop-down of some sort. It's not really a drop-down like a menu or anything. It's more like a cascading table or something.
Here is an example...
http://www.intabill.com/
If you click on the login above, it will slide it down.
I want the same effects, like how it slides down instead of just appears...
I'm looking for this script on the internet, no1 necessarily has to build it for me, though that would be nice :)
If anyone has any ideas, please reply.
Xenatino
07-23-2007, 04:58 PM
I would use script.aculo.us (http://script.aculo.us) with http://wiki.script.aculo.us/scriptaculous/show/Effect.SlideDown.
Although, that site is using mootools (http://mootools.net/) with http://demos.mootools.net/Fx.Slide
JustinSmall
07-23-2007, 07:19 PM
Ok, I want to try this MooTools, it looks great! Ok, but I don't understand how to use mootools exactly. I was viewing the downloads page, and I saw core... then I saw slide effects... I'm just a bit lost. Must I install this on the WebServer?
Jatinder
07-24-2007, 03:53 AM
You can download only the "Core" or you can include additional libraries. Only one Javascript is downloaded no matter which and how many libraries you select. Selecting only "core" will produce smaller Javascript. As you include more libraries, the size of downloaded Javascript file increases accordingly.
Since you need the slide effect, select "Fx.Slide". The corresponding Javascript code is included in the downloaded Javascript file.
Upload this Javscript file to your webserver and add this code to the <head> tag of your HTML page:
<script type="text/javascript" src="mootools.js"></script>
For more help refer the docs at http://docs.mootools.net/Effects/Fx-Slide.js
Xeentech
07-24-2007, 03:53 AM
Must I install this on the WebServer?
It's not really an install as such. You just have to include the JavaScript files in your site, so you just have to upload the files to the site's htdocs and link them in like:
<script type="text/javascript" src="/static/script/jquery.js"></script>
That example includes the jQuery library. It's a similar thing to Prototype/Script.aculo.us but I prefer jQuery's syntax and selectors.
Edit: What Jatinder said..
Aliniuz
07-26-2007, 08:17 AM
You can find various JavaScript scripts on dynamicdrive.com.
You'll just love JS. ;)