Forum Moderators: open

Message Too Old, No Replies

jscript

         

jbhavin

10:45 am on Sep 2, 2003 (gmt 0)

10+ Year Member



MM_swapImage() and MM_swapRestore, how are this function used, i want to use it while my navigation , used with mouse over and mouseOut methods, any insight

Mark_A

5:39 pm on Sep 3, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



you sure you want to use that rather than css efects?

There are some tutorials online if you search engine for them, I recall some excellent ones from the last time I used jscript for this type of image roll effect.

I personally try to avoid it at all costs nowerdays, like frames :-)

mikejson

5:50 pm on Sep 3, 2003 (gmt 0)

10+ Year Member



you can look at the source code to this site

www.lakeheadu.ca

there is a mouse over done in javascript/jscript for the images on the nav bar.

Check them out

...sorry I couldn't find a cleaner coded site, this one seems to be generated using Dreamweaver or something, ugly as sin YUCK! haha

jbhavin

4:19 am on Sep 8, 2003 (gmt 0)

10+ Year Member



hi Mark,

so can we do this by CSS , too how do i do this..

see when i navigate on a menu , I mean move the mouse over the menu, the title shld get highlighted and a bullet should appear on left!

hope u get , what iu am trying to convey

ronin

5:41 am on Sep 8, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



jbhavin>

There's an excellent article at A List Apart by Tim Murtaugh called "Mo' Betta Rollovers" which shows how to use CSS to provide a rollover effect.

Tim Murtaugh's Article [alistapart.com]

Arguably, it's a superior method to using javascript because it's faster and it doesn't require javascript support to be enabled in the browser.

An even more powerful CSS-based rollover technique - and the most impressive I've seen - is described by
Petr Stanicek,
on this page [pixy.cz].

jbhavin

7:03 am on Sep 8, 2003 (gmt 0)

10+ Year Member



HI Ronin,

That was just great. thankx a lot ...