kamhp
08-16-2005, 03:24 AM
I am not sure what this is called but a good example of it is at http://www.netflix.com/BrowseSelection when you mouse over one of the movies.
I would at least like to know what this is called or what is needed to accomplish it. It would be even greater if someone could tell me exactly how to do it.
Thank you :)
Jay August
08-16-2005, 05:45 AM
That's some need JavaScript they've used to perform that!
Looks like a javascript show/hide layer event. If you look at the source code for the page, you'll see they call the event on mouseover [onmouseover="dB(event, this)"]. The event is described in the linked javascript file. (http://www.netflix.com/layout/jscript/domutil.js?v=2005081100)
DutchDesigns
08-16-2005, 07:27 AM
yep, that's javascript allright. Try some free javascript download websites ... you might be able to download it for free on the internet. You would be surprised what javascripts can do.
Be aware though, not everyone has javascript enabled so don't put any important stuff in it.
stripeyteapot
08-16-2005, 08:38 AM
Just something to think about;
Notice it doesn't do anything when JS is turned off.
Alive
08-16-2005, 10:43 AM
I know a lot of people are trying to push JS out of design these days, and saying a lot of people have it disabled... but really I haven't ever met anyone with JavaScript disabled. I'd go for it, it's a cool effect... (usually I just view source it and modify the code ;))
stripeyteapot
08-16-2005, 06:04 PM
There's no need to push JS out of website development, what I was getting at (And should of said straight lol) is that you should always create alternatives where possible.
For example, if you find yourself using <script></script> you should havea none-JS friendly option between <noscript></noscript>.
:)
Go to: SimplyTheBest (.net) /scripts
to find more java and dhtml that is easier to use than this one, that can look just as good or better.
regernatez
08-16-2005, 08:28 PM
Hi kamhp, all the above are ok to use, but muhaha not even close.
No it's easy, actually if you have Macromedia DreamWeaver it's easy.
Select navigation to create a navigation, and choose the normal image, and the image over.
Or java/php/c++ blah blah blah could do this for you in a few lines of code.