View Full Version : Pointer is bouncing around and flickering
Brenda
11-01-2002, 06:45 AM
Hi! I just built a new web page with some Java Script I got off the net that allows my background to move from left to right. However, my pointer is flickering and bouncing all over, and I don't know how to get it to stop. It is especially bad on the AOL browser and a little noticable on IE. Can someone please help?
This is the script I used, but you can see my page and view the full source at: http://members.aol.com/gfbrenda/images/MySLP.html
Thanks so much!
<script language="VBScript">
<!--
dim MoveItX, MoveItY, mnumfond
MoveItY=0
MoveItX=0
numfond=document.body.sourceIndex
SUB SF
MoveItY=MoveItY-0
MoveItX=MoveItX+1
Document.all(numfond).style.BackgroundPosition= MoveItX & " " & MoveItY
id=SetTimeOut("SF",100,"VBScript")
End Sub
SF
-->
</script>
bacterozoid
11-01-2002, 12:38 PM
Brenda, try removing your no-right-click script. There are about 50 ways to view source and save images anyways, so it is basically useless. I think that is your problem. On previous pages of mine, attempts with any disable click script have caused pointer display issues.
Roy Sinclair
11-01-2002, 03:16 PM
BTW, that's not Javascript you're showing. It's VBScript which is off-topic for the forum but if you really like that effect I saw that same script a long time ago and converted it to javascript and then made an object oriented version that allows it's use on multiple background images at the same time. My home page (http://members.cox.net/roysinclair/) uses that script to create an interesting effect and I have a sample page sample page (http://members.cox.net/roysinclair/bgscroller.html) that show it in use with multiple background objects at the same time.
Brenda
11-02-2002, 04:05 AM
Bacteroid, thanks for your help. I tried what you suggested. I removed the script for disabling the right click, but it seems to be still flickering. I didn't nee dit on there anyway. I'm trying to learn and do different things. Any other suggestions?
Oh, and Roy? I didn't realize it was not Java Script even though I see where it says that other thing now that you pointed it out. You see, I am BRAND NEW at this script stuff, hence, why I am even on the board in the first place. Cut a newbie some slack :) What section SHOULD I be posting my question in?
bacterozoid
11-02-2002, 04:14 AM
Well, a little help:
With my *Cough*nice*Cough* 56k internet connection, I did not notice any cursor flickering until the page was almost entirely loaded. Possibly a script further down on the page.
Also: The major problems occur when moving the cursor over the buttons.
Doubt that is of much help, but it about all I can offer to ya'.
whammy
11-02-2002, 04:24 AM
Might it have something to do with the moving background? :(
I have a pretty nice computer, a cable connection, and a Geforce 4 TI video card, so it didn't bother my computer in the least (except for the fade-in effects which occur before the graphic has fully loaded - that DID flicker badly, however it didn't affect my mouse at all, which makes me think it might be a problem with your display drivers, or perhaps your computer isn't as fast?!?).
However, the whole "moving background" did make me feel seasick... and I play first-person shooters all the time, so that CAN'T be good.
I would ditch the "flashy" effects. All they do is make me nauseous. :(
And by the way, everything ELSE about your site was really impressive... very nice graphics, layout, fonts, etc. But I still feel like my computer screen is moving. Yech. If that background was just static it would be a LOT better.
Brenda
11-02-2002, 05:06 AM
Thanks again for trying Bacteroid :o
Ok, Whammy? Put your mouse in the air and if you cooperate, you will be fine! Now.... I'm going to take your computer with me and all will be ok! Don't move - comprendo? :D
Anyway, I'm SURE its happening because of my moving background and my dial up connection, because it doesn't do it on any of my other pages. I really like that effect too. Was hoping something could be done, but oh well.
Thanks to both of you.
I'm still going to keep it on there - for now anyway. (handing whammy a barf bag) :cool:
Have a nice night!
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.