Jump to content

Recommended Posts

Posted

While I do use Dreamweaver, this isn't specifically a Dreamweaver issue (I don't think). I'm redoing my website and the menu navigation buttons use javascript to handle OnMouseOver() events. On IE SP2, these events are blocked by default. It works fine once the block is removed and it works as expected in Firefox.

 

How are other developers dealiong with this?

 

I tried using straight CSS actions to do this, but IE couldn't handle it, so I'm using a mix of CSS for layout and colors and javascript for event coding.

 

Thanks,

Dan

Posted

Many professional developers will tell you not to use javascript for navigation (or flash) because people may have these dissabled (the last number I heard thrown around was 15% of people have js disabled) and so it's a bad idea to use for necessary navigation anyway.

 

As far as SP2 goes, I didn't know it disabled onmouseovers. I don't run Windows though and I'm not a professional developer, so I can't speak to that because I don't care about causing problems for IE users on my personal site. :)

 

If you can't find an answer to this here, btw, you might try peering around devshed - that's where I go for these types of questions and they are great, but can be a bit uh... direct. :)

Posted
Many professional developers will tell you not to use javascript for navigation (or flash) because people may have these dissabled (the last number I heard thrown around was 15% of people have js disabled) and so it's a bad idea to use for necessary navigation anyway.

 

The links are not java, just the mouseovers, so the site still works, it's just annoying to see the "blocked script" message.

 

Regards,

Dan

Posted

I agree that it's annoying but it is a Javascript. There is no way for browser to tell the difference that you are using it for rollovers or something malicious. The browser is doing it's job and I am being kept informed of what's happening. Not a bad thing IMHO.

 

I'd investigate using CSS rollovers without using Javascript.

Posted
I'd investigate using CSS rollovers without using Javascript.

 

Tried that originally, but IE wouldn't perform the rollovers. Firefox did the CSS rollovers, but IE wouldn't budge. That's the only reason I switched to java. Is there any other way to do it?

 

Regards,

Dan

Posted

I just did a Google search on the phrase "CSS Rollovers" and it came back with numerous pages with examples. Some with images and some without.

 

I use CSS text rollovers on my site and they work fine in IE and FF.

Posted
I just did a Google search on the phrase "CSS Rollovers" and it came back with numerous pages with examples.  Some with images and some without.

 

I use CSS text rollovers on my site and they work fine in IE and FF.

 

I just searched DevShed (thanks Lisa) and found some CSS rollover code that I will try. I think the CSS code I was using may have been the problem.

 

Can anyone suggest a way to determine why something works in IE but not Firefox/Mozilla or vice versa? I would love to be able to validate the code and quickly be able to find out why (for example) something centers correctly in Firefox but not IE (or the reverse).

 

Regards (and thanks for the suggestion about persisting with the CSS method)...

Dan

Posted
I've been using CSS for awhile now and I can't do it the guys at the CSS Forums (csscreator.com I think it is) probably can, but they're geniuses with this stuff. ;)

 

OK, these guys make my head hurt...

 

BUT, I can see there's a lot there to learn. Wish I'd found this site this past weekend while I spent 16+ hours doing this: :P

 

Regards,

Dan

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...