Forum Moderators: open
At the time of it happening I'm mouseovering a button which slides out. As it slides out it shows some text about the button.
The text is created in HTML on my index page, and JS in the rest, and Google crashes my site in all pages.
The mathematics for the eqation to bring the button out takes alot of processing. I found a problem when using the area map above moving objects. The area map mouseover would trigger over,out,over,out repeatedly as the object underneath moved. So I told it to spend 1ms on the equation to come out and 50ms on the equation to go in onMouseover, and 50ms to come out and 1ms to go in onMouseout. The whole equation controls up to 8 sliders.
Is Google working constantly in the background? There could be a problem there.
posArray=new Array(105,105,105,105,105,105,105,105,105)
timerL=new Array; timerR=new Array
function moveleft(slnol) { if(menustate==1) {
bring4wrd(button[slnol]);
if (posArray[slnol]>15) { posArray[slnol]=posArray[slnol]-10;
wid=110-posArray[slnol]
document.getElementById("imgsl"+slnol).style.left=posArray[slnol];
document.getElementById("imgsl"+slnol).style.width=wid;
timerL[slnol]=setTimeout("moveleft("+slnol+")",2)}} }
function moveright(slnor) { if(menustate==1) {
if (posArray[slnor]<105) { posArray[slnor]=posArray[slnor]+10;
wid=110-posArray[slnor]
document.getElementById("imgsl"+slnor).style.left=posArray[slnor];
document.getElementById("imgsl"+slnor).style.width=wid;clearTimeout(timerL[slnor])
timerR[slnor]=setTimeout("moveright("+slnor+")",50)}}}
the trigger;
onMouseover(moveleft(buttonNumber))
onMouseout(moveright(buttonNumber))
Just as a sidenote, on some valid XHTML and highlighting some terms, taking the highlighting up breaks the source code of some of my hyperlinks into 2 links instead of 1. 'course, I didn't write it that way, it's just the toolbar messing with my source to highlight it for visual aid.
mark, the words that you highlight, are they easily read in the source code? i.e. not javascript made or anything, just plain vanilla text ready for highlighting.
The JS text is a small description of other pages, written in JS for two reasons,
I don't have to reapetedly write it in HTML for up to 8 pages,
If it was in all 8 pages it would be seen as common content.
? I haven't a clue why its not working. I installed it and went straight to my site. I was hoping to find someone that's had, or heard of, a similar problem.
I've not seen a thread here about problems, though I was thinking along the same lines. If google can change the way my links highlight on IE after highlighting I assumed it was re-arranging the source code of the page to re-render it.
Just thought that the words you wanted to highlighted were minced inside that JS, though what you suggest sounds just as likely.
Safe to say it's not your website but your browser (or the toolbar for that matter).
Your incredulity doesn't serve you well.
(p.s. I recall rdfx etc. when he was a mere postling...his site is all about drugs as I recall)