HTML - Make Various Sections Of Image Clickable
Hiya, I was wondering if there's a way to make various sections of the image clickable? The sections on the image are not rectangular so I can't make divs. I don't think I can use imagemap either since that only works for making one clickable area right? I already cut out these sections in photoshop and saved them with alpha background, and created a "glowing" version of each section, since I want to make it so that when mouse hovers over it, it will glow. But I can't stack them on top of each other, since if I do that only the topmost layer will be clickable for those areas where they will overlap with rectangular divs.
This is example of what I mean: Thanks Similar TutorialsHi all, I'm trying to make my background (which contains my logo and site name) to be clickable to my site's URL. Seem to be having difficulty because I am using a modified WordPress template along with linking to a stylesheet. Not very good or familiar with php and css, unfortunately. Anyone have some energy to crank this one out with me? sorry for being vague in my initial post. Here is the header php code: <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>[TITLE]</title> <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" /> </head> Here is the css code: .header{margin:20px 0;} .header .top{background:url(images/logo-graphic.jpg) top left no-repeat; height:120px; width:960px; margin:20px auto;} .header .top #secondary{float:right; width:468px; height:60px; margin:20px 0 0 0; border:1px solid red;} .header .navigation{background:url(images/navigation-bar-bg.png) top left repeat-x; height:61px;} .header .navigation .nav-wrapper{width:960px; margin:0 auto; height:49px;} .header #searchform{float:right; width:325px; height:40px; margin-top:6px;} .header #searchform #s{font-size:14px; padding:6px 4px; border:1px solid #666; outline:none; -webkit-border-radius: 4px;-moz-border-radius: 4px;border-radius: 4px; -moz-box-shadow: inset 0px 1px 3px #888;-webkit-box-shadow: inset 0px 1px 3px #888;box-shadow: inset 0px 1px 3px #888; } I mean to say that when you make an image and want certain sections of it to link to one page and another section of it to link to another whats the code for this? I've been looking everywhere and can't find it anywhere Hi, I'm pretty sure there is a simple way of doing this but I have tried and cannot get great results. I want to be able to have the lower right logo on this page be clickable to a webpage. Thanks! Hey folks, I'm having an issue with an image map, on some pages the areas I've mapped are not able to be clicked. It has something to do with the code above the image map, but I'm not sure exactly what is causing the issue. Here's the full page code: <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns="urn:schemas-microsoft-comfficeffice" xmlns="http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>DIVINEDESIGNJEWELRY.COM</title> </head> <body> <p align="center"> <img id="Image-Maps_1201007190938159" src="DD_Logo.jpg" usemap="#Image-Maps_1201007190938159" border="0" width="725" height="235" alt="" /> <map id="_Image-Maps_1201007190938159" name="Image-Maps_1201007190938159"> <area shape="rect" coords="6,179,105,215" href="http://www.divinedesignsjewelry.com/philosophy.htm" alt="" title="" /> <area shape="rect" coords="118,180,217,216" href="http://www.divinedesignsjewelry.com/givingback.htm" alt="" title="" /> <area shape="rect" coords="226,179,325,215" href="http://www.divinedesignsjewelry.com/collections.htm" alt="" title="" /> <area shape="rect" coords="331,180,416,216" href="http://www.divinedesignsjewelry.com/artisans.htm" alt="" title="" /> <area shape="rect" coords="420,180,500,216" href="http://www.divinedesignsjewelry.com/events.htm" alt="" title="" /> <area shape="rect" coords="506,180,586,216" href="http://www.divinedesignsjewelry.com/boutique.htm" alt="" title="" /> <area shape="rect" coords="602,179,700,215" href="http://www.divinedesignsjewelry.com/mailinglist.htm" alt="" title="" /> </map> </p> <div align="center"> <table border="1" width="57%" cellspacing="0" bordercolor="#DADADA"> <td> <p class="MsoNormal"><font color="#808080" face="Verdana"><b><u>EVENTS</u></b></font></p> <p class="MsoNormal"><font face="Verdana"><font color="#808080">Visit Divine Designs in Louisville, KY, September 12<sup>th</sup>-18th at </font> <a style="color: #808080; text-decoration: underline; text-underline: single" href="http://www.natqc.org/"> www.natqc.org</a></font></td> </table> <div> <p align=center> <img id="Image-Maps_1201007190938159" src="bottommenu.jpg" usemap="#Image-Maps_1201007190938159" border="0" width="710" height="46" alt="" /> <map id="_Image-Maps_1201007190938159" name="Image-Maps_1201007190938159"> <area shape="rect" coords="503,2,569,41" href="http://www.divinedesignsjewelry.com/press.htm" alt="" title="" /> <area shape="rect" coords="584,2,670,41" href="http://www.divinedesignsjewelry.com/contactus.htm" alt="" title="" /> </map></p></div> </body> </html> Any help would be greatly appreciated. The image map on the top works fine, the one on the bottom is the one that is not working at all. Thank you! http://www.grannysoycandles.com The menu links on the left side are working in IE but not in FF. Its only when they are in the "buttons" div. I put one in the "body" div and it worked fine. Any ideas why? Internet Explorer works fine Firefox does not weird...usually its the other way around... Quote: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>Granny Soy Candles</title> <link rel="stylesheet" href="style.css" type="text/css" charset="utf-8" /> <style type="text/css"> :active, :focus{ outline:none; } </style> </head> <body bgcolor=#E0E0E0> <div id="div1"> <div id="banner"> <img src="http://www.grannysoycandles.com/images/banner.jpg"> </div> </div> <div id="div2"> <div id="body"> <center><b><h3>Welcome To Granny Soy Candles</h3></b></center> Welcome to the new home of Granny Soy Candles. Please be patient while the site is updated and created. We will be up and running within the next few weeks. Very soon we will be providing you with quality soy candles that are better for your home and your family. Please come back and visit us soon! <br> </div> <div id="buttons"> <a href="http://www.grannysoycandles.com/"><img src="http://www.grannysoycandles.com/images/home1.jpg" border="0"></a> <br> <a href="http://www.grannysoycandles.com/candles.html"><img src="http://www.grannysoycandles.com/images/candles0.jpg" border="0"></a> <br> <img src="http://www.grannysoycandles.com/images/button0.jpg" border="0"> <br> <img src="http://www.grannysoycandles.com/images/button0.jpg" border="0"> <br> <img src="http://www.grannysoycandles.com/images/button0.jpg" border="0"> <br> </div> <div id="div3"> </div> </body> </html> Quote: #div1 { background: url(images/bgheader.jpg) repeat-x; float: left; width: 915px; height: 165px; } #div2 { background: url(images/bgmiddle.jpg); background-repeat: repeat; float: left; width: 915px; } #div3 { background: url(images/bgfooter.jpg) repeat-x; float: left; width: 915px; height: 51px; } #banner { padding-top: 30px; padding-left: 1px; } #buttons { padding-top: 30px; } #body { position: absolute; width: 675px; padding-left: 220px; padding-top: 15px; } I've got some hyperlinks underneath a (transparent) image. Because of this, they're not clickable. Mouse hover isn't even detected. Is there any way round this without placing the image beneath the hyperlinks? It works in my editor, but when I paste it into my blogger account, it says its not complete because of the IMG tag. <A HREF="http://www.trueprotein.com/"><IMG SRC="http://i10.tinypic.com/4tqy6ux.jpg"</A> Thanks Hi guys! I'm having issues getting a <li> element clickable. It only makes the text inside the <li> element clickable. i would like the whole <li> div to be clickable (so that if i click on the background image, it clicks, and not only if i click the text) I have the following HTML-code: Code: <ul> <li1><a href="index.html">THISisTHEtextTHATgetsLINKED</a></li1> </ul> And it is uses this CSS code: Code: ul { display:block; padding-left: 0; padding-right: 0; margin: 0px 0px; list-style-type:none; } ul li1 { margin: 0px 0px; height: 35px; width: 170px; display: block; float:left; text-align: center; background-image:url(../pictures/hjemknapp.png) } can you guys please help me? Hello all, I am so stuck , after spending all of last night reading and crawling across google to find coding for my problem, I am still so lost! Basically, I have a webpage which is going to have lots of small clickable images on it, and each image is going to be linked to bring up a pop up window that opens up full screen (without scroll bars, no searchbar, etc, just a window thats resizeable), which will have the image click on as a larger view. I know this is javascript coding, but each time I found solutions across the net, it was usually only for if the page had one image that was going to be made larger. If you click on this site, this shows what I'm after (and click on one of the little images).... any ideas??? I want my header at top with a logo in a navagation bar at left and the main in the middle, i have this: HTML Code: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <head> <title>Platnium</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css"> body {background-color: #555555} p {color: #ffffff} div {background-color: #000000} </style> <script type="text/javascript"></script> </head> <body> <div id="wrap"> <div style="text-align: center;" id="header"> <p> Header </p> <div id="left" style="text-align: left;"> <p> left </p> <div id="main" style="text-align: center;"> <p> main </p> </div> </div> </div> </div> </body> </html> But i want them in different sections. like if i was going to put them in tables. I have an <a> tag which when you hover has the background turn grey, but it only highlights the section around the text but I would like it to be a bigger area around it. Like having text centered in a table cell and whe you hover the background turns grey. Any ideas? Hi all New to this forum and pretty basic in html But how to i create links at the top of the page to move down the page to certain sections. Regards, Alan Able to handle html sample code Hi, Consider the following HTML code: HTML Code: <div style="background-color: blue"> <p> This is a paragraph </p> </div> <div style="background-color: green;"> <p> This is another paragraph </p> </div> The problem is, despite specifying background colors for the div sections, inevitably there's a white space between the two sections. Instead, I want the colored sections to be adjacent to one another, without any space in between, like adjacent cells of a table. I'm trying to be good and avoid using <table>'s as so many tutorials have encouraged, but I'm unsure how to accomplish this without them. I believe this is possible but does anyone know for sure? Thank you! Edit: If it makes a difference, it's sort of a requirement that the content within the div sections will be <p>-enclosed blocks of text. Hey everyone! Does anybody know how we could set up google search results for this: ( see pic ) Hey, I'm having a couple of problems which I'm hoping some of you may be able to help me with. Basically the background for the website which I am working on has 3 sections; a top section, a blankl middle section, and a bottom section. I have therefore designed the site using 3 tables, each table containing one row and 3 columns. Each table has one of the backgrounds, such that: A. The background of the top table is the top background. B. The background of the middle table is the blank, plain white background. C. The background of the bottom table is the bottom background. This method seems to work, however when I first implemented this design non of tyhe backgrounds displayed, so to get round this I entered some <br></br> tags which succesfully caused the backgrounds to display suitably. I continues the web design in FF, and completed it. When I then viewed the finished article in IE there were 2 top backgrounds, on middle section, and 2 bottom backgrounds. I fear I may be totally missing the point here! Can anyone help me out please. Yeah, it's probably a real simple question but it's bugging the heck out of me. I'm trying to design my first layout (hence why it looks so simple), but it's not working out. Here's the layout: http://www.lifeschronicles.net/index_test_brown.html I want the content boxes (pale brown) to run all down the page. How do I do that? Please help. Edit: Ok I have finally realised what I need to do. So simple! Haha. Can ignore/delete this thread if you want to. Sorry guys! Hello, I am making a squad list for my football team and i have created a table containing all the information; squad number, name , position etc. In the last column i want to have it so there is a blank field or a field with a ver small thumbnail in and when the cursor hovers over this an image appears, but only whilst the cursor is over that small part. hope this make sense This isn't really a problem but just wanted to learn how to make an image expand or get bigger onmouseover. You can see what i mean by going to these website's. one is for a video and one is for a image. http://www.appstorehq.com/htmleditor...hone-63962/app Put your mouse over the screenshots. http://videocopilot.net/tutorials/ Put your mouse over the screenshots. Instead of using width/height in pixels to make an image smaller, is it possible to make it 50% its size? Right now i'm trying to make it so that an image is on my webpage, and when someone rolls their mouse over it, it changes to another image. It's a simple image conversion, all I changed is the arrow's depth. Thanks! Help-my-HTML |