site scrollwheel check
- Started
- Last post
- 17 Responses
- stewart
http://www.kulsdom.com/mousewhee…
attempt to get the mousewheel working on a pc (and i'm on a mac so can't check it myself).
it should work now, except that the visitor has to click the swf first to get focus?
i tried to set the focus to the swf using a javascript, but no luck so far.what's the usual workaround to get this work?
- 7point340
its works fine, but yeah as you said you have to click first
not sure of the solution
- univers0
I tried clicking both on the white and on the blue boxes and it still didnt work for me.
- dan53820
click first then scroll? not my fav but ok.
- neverblink0
You can add the focus to the swf on page load:
http://kb.adobe.com/selfservice/…
- ovsm0
no workie. safari on mac leopard
- creative-0
Not working on Safari 3 on a Mac
- utopian0
Does not work on AOL 1.2345
- stewart0
i also tried another way to embed the swf but it still doesn't work:
pc users still have to click the swf first before they can use the scrollwheel on their mouse.what's the best way to embed the swf to get immediate focus on the swf onload??
(doesn't work on a mac, i know, and i'm not trying to get it to work on a mac).
- Raniator0
didn't work for me:
leopard
safari 3.1
wacom tablet and mouse
- stewart0
i tried that neverblink, but without any success.
it has something to do with the way i embed the swf i think??
- neverblink0
place the script after the other scripts.. it seems like you are setting the focus to the swf before actually embedding it.
so this:
<script language="javascript">
function placeFocus() {
window.document.movieid.focus();
}
</script>after the other two scripts you have in your head
- O, and you need to change 'movieid' to the ID of your MOVIE!neverblink
- movieid IS the id of the swf movie.
but ill check all this out. thanks!stewart
- mimeartist0
doesn't pixelbreaker have it on his blog how to do it all?
- stewart0
mimeartist, yes that's true.
but the same story here: the scrollwheel only works AFTER clicking the swf to set focus.
even when i add this focus-javascript thingy.
http://www.flashdynamix.com/exam…
(well, this example works with firefox mac, not IE pc)
- stewart0
solved! thanks all for your help.