Reply LinkBack Thread Tools Search this Thread
Old 15-02-2007, 09:05   #1 (permalink)
stealthcow
knocking heads
 
stealthcow's Avatar
 
Join Date: Jul 2003
Location: London, UK
Posts: 1,935
onmouseover onmouseout nav problems

view in firefox - disable styles to get a better idea of how the nav fits together

I've created a hybrid navigation which uses flash, javascript, graphics and CSS to make it SEO friendly and more accessible than a usual flash based menu (while allowing flash animated button effects)

This is all coming together fine (see: http://www.kdwebserver.co.uk/~eilers...iew/index2.php ) but there is one problem:

I've put the onmouseover/out function on the li tag so that whenever you mouse over anything contained within the li (the flash animation, graphic etc) it'll start the nav going and open up the submenu. When you move your mouse away from the graphic it calls the onmouseout function (it seems to be ignoring the flash for some reason)

any ideas on how to fix this?!

Last edited by stealthcow : 15-02-2007 at 09:23.
  Reply With Quote
Old 15-02-2007, 09:18   #2 (permalink)
stealthcow
knocking heads
 
stealthcow's Avatar
 
Join Date: Jul 2003
Location: London, UK
Posts: 1,935
ive narrowed it down a bit, if i take off wmode=transparent for the flash then this allows me to mouseover it - BUT - i have to have it as transparent
  Reply With Quote
Old 15-02-2007, 09:25   #3 (permalink)
djeglin
goober :-)
 
djeglin's Avatar
 
Join Date: Dec 2006
Location: Birmingham, UK
Posts: 539
Send a message via MSN to djeglin
Can you not use the suckerfish method on this? I know you have the flash involved... but that shouldnt really make a difference>? I'm guessing that the method you are using is very similar... but my first port of call would be trying the old trick we know works and going from there?
  Reply With Quote
Old 15-02-2007, 09:43   #4 (permalink)
stealthcow
knocking heads
 
stealthcow's Avatar
 
Join Date: Jul 2003
Location: London, UK
Posts: 1,935
i have to use javascript because it sends commands to the flash so that it knows when to animate, when to stop and when to open the sub menu
  Reply With Quote
Old 16-02-2007, 06:01   #5 (permalink)
skyrocket
SkyRocket Design
 
skyrocket's Avatar
 
Join Date: Aug 2005
Location: Chichester
Posts: 538
Quote:
Originally Posted by stealthcow
[b]I've created a hybrid navigation which uses flash, javascript, graphics and CSS to make it SEO friendly and more accessible than a usual flash based menu (while allowing flash animated button effects). any ideas on how to fix this?!

that's your problem IYAM - to use a well worn analagy you've got too many cooks in the kitchen trying to get their cake and eat it, biting off more than they can chew all at the same time as leading a horse to water if you see what i mean? you can get transparency effects using graphics and pure css driven menus which would be great for SEO but trying to do it over a moving set of images is another matter. sounds like a job for flash but then you've got the accessibility/seo issues you've mentioned. so...it's a trade off in my opinion. if it was me i'd try a remix on your hybrid them and have a flash panel with the rotating cows & butter images and another panel to the side with the nav which is done with xhtml/css (eg: the suckerfish method mentioned earlier)
  Reply With Quote
Old 16-02-2007, 06:07   #6 (permalink)
stealthcow
knocking heads
 
stealthcow's Avatar
 
Join Date: Jul 2003
Location: London, UK
Posts: 1,935
thats what it does skyrocket

all that it does extra is add a bit of javascript to allow the flash animation
  Reply With Quote
Old 16-02-2007, 06:09   #7 (permalink)
stealthcow
knocking heads
 
stealthcow's Avatar
 
Join Date: Jul 2003
Location: London, UK
Posts: 1,935
and on side note, im the sort of person who likes to have my cake and eat it, just because something isnt easy doesnt mean im not going to do it..
  Reply With Quote
Old 16-02-2007, 06:39   #8 (permalink)
skyrocket
SkyRocket Design
 
skyrocket's Avatar
 
Join Date: Aug 2005
Location: Chichester
Posts: 538
what i meant was have a 50/50 layout not a window style thing like you've got going. half the page is flash and the other is the nav which is do-able and almost keeps your design intact. the problem is the animated graphics showing through the nav panel with transparency. i don't think you can do it in xhtml/css - especially for the drop-out menu when it happens. you've set yourself a tough challenge but i'll be well impressed if you pull it off in the manner you're planning.
  Reply With Quote
Old 16-02-2007, 13:23   #9 (permalink)
RaelRode
Designers are strange :)
 
RaelRode's Avatar
 
Join Date: Jan 2007
Location: Shrewsbury, UK
Posts: 1,733
Send a message via ICQ to RaelRode Send a message via AIM to RaelRode Send a message via MSN to RaelRode Send a message via Yahoo to RaelRode Send a message via Skype™ to RaelRode
Wh not use :hover in the CSS???? Or am I missing somehting??
  Reply With Quote
Old 19-02-2007, 12:06   #10 (permalink)
stealthcow
knocking heads
 
stealthcow's Avatar
 
Join Date: Jul 2003
Location: London, UK
Posts: 1,935
:hover wont work because i need to use javascript commands to tell the flash to animate when you mouseover the nav item (and whether to show the drop down or not etc)
  Reply With Quote
Old 20-02-2007, 07:21   #11 (permalink)
stickmus
hmmm...
 
stickmus's Avatar
 
Join Date: Jan 2004
Location: Yorkuk
Posts: 2,130
Not sure 100% what the problem is, but it seems to me that when you roll off the image you lose the hover. Try using bigger GIF images with transparent backgrounds. Also, would recommend using something like jQuery to handle the hover code as this will likely give better consistency cross browser.

Alternative would be to use mouse position to trigger the flash rollovers.
__________________
George Smith - a vain attempt to get higher on google for my name

  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8