Page 1 of 5
Website Help Needed aka Chris Denham Business Masterclass
Posted: Tue 19 Apr, 2005 21.31
by johnnyboy
My business website has a bit of a design problem, and I was wondering if any of you guys can help.
The website in question is
http://www.meridiandelta.com.
You will notice on the left hand side is a menu, made up of transparent GIFs. I've put the following Javascript instruction in to turn the background yellow when the mouse is over it -
Example link
<a href="products.htm" onMouseover="this.style.backgroundColor='yellow'" onMouseout="this.style.backgroundColor='white'">
In IE, it works fine, and the whole of the cell containing the link gets coloured yellow. See this -
IE Mouse Off
IE Mouse Over
However, in Firefox and Opera, it looks slightly strange...
Non-IE Mouse Over
How do I get rid of this problem?
TIA.
Posted: Tue 19 Apr, 2005 21.53
by SteveL
Is there any reason there's one image for each line? Like for the second top button, you have an image saying "What is Fax" and then on the line below "Marketing?".
See if it helps to merge each link into one image.
Posted: Tue 19 Apr, 2005 22.02
by James Hatts
Why use images at all for the menu? Surely it could all be done with a bit of CSS.
Posted: Tue 19 Apr, 2005 22.06
by Orry Verducci
CSS would be the beat way to do it. I'll try and find the script for you.
Posted: Tue 19 Apr, 2005 22.11
by johnnyboy
Thanks guys.
I am totally unfamilar with CSS. When you've found the solution, could you instruct me on how to install it too?
TIA again.
Posted: Tue 19 Apr, 2005 22.20
by Bail
Most upset.
Posted: Tue 19 Apr, 2005 23.12
by Gavin Scott
Posted: Sat 23 Apr, 2005 08.55
by Orry Verducci
Found a fix.
First, remove the javascript bit from all the links on your website, so they are normal, basic links.
Then, add this between the head tags at the top of the page, normally above the title tag:
Code: Select all
<style type="text/css">
A:HOVER {background-color:#FFFF00}
</style>

On the site, the above image is made of 2 seperate images, one for each line as you know. Combine these into one transparant gif image as seen above.
You should find everything works then. A bit of messing around I know but it will make the site fully compatible.
Posted: Sat 23 Apr, 2005 13.30
by Gavin Scott
Johnnyboy, if for example I wanted to fax broadcast to specific groups (like theatre and television chief electricians), would your company be able to locate contact details, or would you need a prepared database?
We're currently expanding our operations and certainly your service looks more cost effective than the one we are undertaking.
If this is a little off topic, feel free to address me by PM or in the staff room.
Posted: Mon 25 Apr, 2005 21.59
by Orry Verducci
This seems to have gone down so I'm bringing it back up so johnnyboy can see.
Posted: Tue 26 Apr, 2005 22.25
by johnnyboy
Orry Verducci wrote:This seems to have gone down so I'm bringing it back up so johnnyboy can see.
Thanks, Ozzy.
I tried it - you can see it in the menu_main.htm page which is a drop-in menu, but unfortunately, it keeps doing the same thing.
Cheers anyway.