Css rollover uk map template
CSS code in acion:
Author: Free CSS Menus: www.freecssmenus.co.uk
Description: Free rollover map of the United Kingdom. Use this smart css rollover on your own website so that visitors can quickly tell you where about in the UK they are from. This css effect is an illusion which could, potentially take any form of animation you wish. I use the word illusion because the brain immediately believes that something clever is going on.
With a little time and patience you could replicate this simple css rollover map, or you could just copy and paste these images and code.
Category: Image Rollover
Tested Browsers: AOL 9, Firefox 3.0.1, Opera 9.10, IE 7
Comments:
That should be Northern Ireland, dude.
Amazing! Its such a great thing to know that I can use css rollover to view the location wherever I wanted to look at my page where am I exactly located.
Great UK map template. The colour purple looks quite funky over the United Kingdom!
One of the things that frustrates me with these things is calculating the top/left coordinates. I do it through trial and error. Is there a way to do it more efficiently ?
By the way, to reduce some of the headaches of trying to duplicate hover effects in IE - use an XHTML strict doctype.
The rollovers are basic hyperlinks, so once clicked can take you to any info page of your choice. If you want info on the uk to apper as a pop-up whilst hovering(mouseover)then I will have to spend a little time coding this for a future addition to the site.
Keep coming back to look!
This is really a great effect, that I'd like to make use of. Is there anyway to make the areas that appears on rollover link to various other pages? (Like an info page on Wales, one on England, etc..) Thanks so much.
Andy
This example is just using the html shown. The CSS code gives each part of the html some rules to follow. Each hyperlink has had its position, size and background image formatted to form part of the uk map. Finally we add a hover state in the CSS code which makes a new background image appear (when mouseover)to create an animation or hover effect
You MUST use all the CSS, Html and images to make the effect work.
Good Luck... John
Hi,
Thanks for your reply - can you confirm that the only HTML required for this UK rollover map is just an hyperlink? Is your version using coordinates in an image map to determine which areas have clickthroughs?
Thanks again!
Andy
Just change the text-indent in the css code to something like: -999px. This should move the text off screen and out of eye shot.
Hi,
This is just what I've been trying to do for ages! One quick question (I'm still fairly new to HTML/CSS) but when I view the HTML all I can see is the code for the <ul> (i.e. text next to the regions). I don't want text next to the regions on my version - therefore what is the HTML code for applying the CSS? Sorry and thanks!
These examples go way beyond the tutorials at W3C schools. You have given me some great inspiration!
Many Thanks
Ive tried in both firefox and ie to no prevail. I've basically tried to add more regions to the map and i cant figure out how to code where they should display upon rollover, obviously once i get the original map to show first.
I have tried to use a variant of this map & code but i cannot get it to work even when using your code. For some reason the initial map does not display and the rollover images will not line up properly. For testing purposes i have told the html to draw its css by using this "<style type="text/css">@import url(css.txt);</style>" How did you figure out where the rollover images should display? How would i make the initial map show? Thanks
Fine piece of CSS.
This is a great CSS Rollover map! I thought that this kind of image rollover could only be produced using Flash, Javascript or Fireworks. I cant believe the html code is just hyperlinks! Great Script!
Nice effect! I'm trying to do something similar with css but for a world map. This is really helpfull though. Thanx
More CSS related to this script:
Multi Colour Buttons. Have fun using these multi coloured css buttons in your website. Dont forget that our free css button creator utility will be up and running soon!
CSS World Map Rollover. I made the UK rollover map last year and thought that it was about time the internet had a descent CSS rollover world map... well here it is.
Before I start getting emails, I know that this map is geologically inaccurate but it was the best map that I could find to use for this example. It is impossible to use the sliding doors technique with this example. To avoid slow down upon rollover you could use javascript to preload the images in the HEAD section of the code.
Vertical Blog Menu. This vertical menu is a great idea for blogs. Users will find it much easier to hover over a large amounts of information rather than trying to find and click on a smaller button. Interactive multimedia is about making your user/visitor experience as stress free as possible. Bigger rollover areas are not just helpful to users with poor motor skills or little vision, they can actually speed up and enhance everybodys surfing experience.
Diagonal Horizontal Green Menu. This horizontal menu took quite a few hours to perfect but hopefully, the result is quite effective. The only way to create this effect (and I tried all of them)was to change the width, background-image and z-index apon the hover state. If there are any other ways of acheiving this effect with CSS please let me know.
More Simple colour schemes for UK map:
CSS Navigation:
Latest CSS:
•
Css3 Iphone Menu Pad
Creating an iphone app? how about this funky dark purple menu made in css3. Look ...
Added: Friday 24 Jun, 2011
•
Huge Expandable Horizontal Menu
You may be thinking that this menu was made with CSS3. Not the case! This menu w ...
Added: Monday 13 Jun, 2011
•
Matt Cardle Vertical Menu
2010 Xfactors Matt Cardle Menu. This vertical menu shows how a png image can be ...
Added: Saturday 16 Oct, 2010
•
Sleek Drop-down Menu
A great example of what css can be used to create. This free download from PSDGR ...
Added: Friday 13 Aug, 2010
•
Bright Yellow Vertical Menu
If your website is bright and sunny then add this vertical menu to give it a spl ...
Added: Tuesday 15 Jun, 2010
Top Rated:
Css rollover uk map te ...
Free rollover map of the Unite ...
![]()
4.3 / 5 - 55 Ratings
CSS World Map Rollover
I made the UK rollover map las ...
![]()
4.4 / 5 - 43 Ratings
Huge Expandable Horizo ...
You may be thinking that this ...
![]()
4.7 / 5 - 21 Ratings
Free Tabbed Navigation ...
Tabbed navigation menus improv ...
![]()
4.6 / 5 - 16 Ratings
Transparent Vertical M ...
This vertical golf menu uses a ...
![]()
4.4 / 5 - 14 Ratings




