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
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.
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
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?
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.
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!
Remarkable menu. Thank you!
These examples go way beyond the tutorials at W3C schools. You have given me some great inspiration!
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.
What browser are you trying to view the map in?
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.
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:
More Simple colour schemes for UK map:
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
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