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:
Curved white css borders. Creating curved corners for your containers can be a tricky business, especially when you want them to expand and collapse for different volumes of content. This code does the job, the only problem is the top right and top left images can become overlapped when the container is at its smallest.
Red Horizontal Tabbed Menu. This Horizontal tabbed menu shows the user three different states: Normal, Hover and Active/Selected. This menu is still only using one image and the sliding doors technique.
Simple CSS Cloud Form Design. Forms can look dull and boring. Using little CSS code they can be given depth and colour. This simple Css desing can be easily modified to suit your designing needs. Try changing the background image to relate to the theme of your website.
Red Green and Blue Menu. These three css menus use subtle shades of red, green and blue, just enough to add a touch of class to any website.
When you come to copy the code, only copy the css and xhtml that corresponds to the colour which you have decided to use.
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 - 54 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.9 / 5 - 20 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






