View Full Version : Minor js issue doing my head in!

03-30-2011, 10:56 PM
Hi Chaps,
As I blunder my way through the creation of http://www.mochdrenews.co.uk (poke the phoenix in the eye to get in) I've discovered something odd about the rollovers in the left hand panel.

From the home page, click one of the rollovers, then use the browser's back button to return to the home page. The dotted line that delineates the size of the rollover is still visible (In Firefox the "over" image is still showing also).
Now go to page Service Finder (top navs) and do the same thing again. When you get back, no dotted line, no "over" image, even in Firefox.

I know a lot of you may look at my shambolic meanderings and think "That's the least of his worries, when was the last time he pressed one of those validate buttons..." but this is driving me up the wall.

Any help greatly appreciated as it is way past my bed time and I'm running out of Scotch.
Gene Stevo.

03-31-2011, 12:59 AM
getting a still under construction for various reasons, scotch wasnt listed though

03-31-2011, 01:58 AM
Ed, the eye hyperlink works.. poke him in the eye... Must be very sunny in your office...

03-31-2011, 02:06 AM
OK, go back into your css and for these link styles add this:
outline: none;

That'll get rid of the border that pops up.

03-31-2011, 02:11 AM
you are right i couldnt make out the phoenix, can you see the issue john?

03-31-2011, 02:15 AM
Yeah, he needed an outline command, it's posted...

03-31-2011, 10:54 AM
John Moss you are a star, and don't let anybody tell you different.
That'll be another bit of code for the snippet box then.:)

Thing is though it doesn't answer why on all but two pages, in Firefox and Opera, the "on mouse over" button state is still showing when returning to the previous page via the browsers back button. The two pages that work perfectly are:
IE, Chrome and Safari for Windows are fine.
Sorry about the phoenix thing, I'll be glad to see the back of it, forgot to account for bright TFT screens (yet to see an issue with a CRT). Here's another link: http://www.mochdrenews.co.uk/index2.htm
Once again, thanks to both for your help so far,
PS...feel free to tell me to get a life, I know it's minor issue but if I don't ask I wont learn.:confused:

03-31-2011, 01:52 PM
Well thank you for your accolades Gene, I could accept them were it not for the fact I had this exact same dilemma not even 45 days ago and learned the solution here... So you're in the right place:)

03-31-2011, 02:04 PM
In looking at the pages in question I see immediately that the buttons still highlighted are waiting for an onmouseout event. That I do not have an immediate answer for, someone else here will.

Guys, use opera & go to http://www.mochdrenews.co.uk/micro-view/index.htm

click on an item in the left menu and then browser button back to the page. You'll see the page visited as still highlighted until you roll the mouse over & out of it to clear it.

03-31-2011, 02:43 PM
Thanks for your continued support John.

BTW thanks also for directing the rest of the gang to possibly the ugliest draft of anything this side MS Front Page :lol:


03-31-2011, 03:10 PM
On the contrary sir, quite the noble endeavor, community billboard as it were... If this is your first stab then I say you've done well... I've not run into this mouseover issue before, or if I have, I'm unaware, so now you have me paying attention for it. If no one else gets this then later this evening I'll research it & see what I come up with.

03-31-2011, 06:12 PM
Thanks for that John, hope somebody has an answer. Not life and death but it'd be nice to know.
Thanks for the noble effort bit, it was actually that Mountain View micro site I was slagging off, the more I look at it the less I like it. We only have one pub in our village and it deserves something better than that. I'll think of something else when the time comes.
First stab? Not quite. I've "dabbled" a couple of times in past years but now have an imperative that says I need to find a new career so I thought of "the internet, I'll do that!" After 28yrs designing domestic re-modelling jobs I need a change anyway. Shame though, I was starting to get good at it. ;-)