Clickable hotspots over HTML image - html

Is there any way to create clickable hotspots over a JPEG image in order to navigate to a different image/page? I would like to achieve this without having to code everything in manually and InVision has a lot of limitations.
Any suggestions would be appreciated.

If you want to make parts of an image clickable, just use an image map. http://www.w3schools.com/tags/tag_map.asp

to do this without coding it in manually you will need some application to make the code for you. it'd be faster for a 1-time use to just set a size for your image, and then make areas (like div's) that are set in place of where it looks like a button on the image, and set their onclick to be a link to your other page or file.

Related

How do you auto fit an image on a button so that you don't have to stretch the button to show the picture in Access 2010?

I'm building an access database for my music catalog. I've created one main table with a bunch of queries. I want to make a decent looking front end. I have a bunch of buttons with macros assigned to them already. The problem (which I presume is something very small that I'm missing) is that I added a picture to the button it's just a picture of vinyls that would run a query to show my vinyls. The picture only displays a portion rather than the whole picture. I can get it to show the picture by expanding the button size but this is not desired.
Any help is appreciated.
Thank you and Happy Thanksgiving.
The button doesn't resize the image you assign to it.
You first need to resize your picture files to whatever size you deem suitable for the button, then use that scaled down image.
Alternatively, you can use the Image control instead of a button. That control will allow you to resize the image inside it, but it will generally appear slightly blurry, depending on the image and the dimensions you resize it to.
Also, forcing Access to load larger image and then resize them can make your application less responsive if you have a lot of images, since you make it do extra work.
A workaround is to work with an image and a button.
Insert and size the image you need in the form
Add a button, setting its property "transparent" to true
Overlay the transparent buton over the image
Make sure the button is on the topmost layer usuing the "bring forward" in the image menu. We have then the transparent button over the picture
Associate VBA code or macro to transparent button.
For all intent and purposes, user will click on an image, but because there is a transparent button over it, will be in fact clicking on the button

Extract buttons from PSD file for website

I downloaded a PSD file containing buttons that i want to use on my website. Problem is i don't know how to access them for use on the website. How would i extract these buttons? or is there a better way to do it? here is a screenshot of the psd open in photoshop.
You can use this Slicer application:
http://testslicer.codeborg.com:9080/
I tried it and it works perfect. You must upload .png file and then set the slice lines. You must have clicked on the layer if you want to slice it. Try it, it's really simple.
I tried Nedoma's link and here is output:
First step: I crop your image nad add some lines
Second: I used Split function
It looks there are more functions but they works only when you're using transparent background.
If you want to hide text layers before processing in this tool, there is link to Photoshop script http://slicer.codeborg.com/hide-text-script.html
You could use the rectangular marquee tool, cut out the button you want, then create a image based off the button you just cut out. This will essentially give you the button you want, then in your website just have your button be that image.
If you are having trouble saving the individual button images, you need to learn how to use the slice tool

Using html MouseOver Event

I have a very peculiar requirement and I am not an HTML expert. I need to create a CHM (Compiled HTML File) in which I want to use an image (a single screenshot) that will have parts of the image linked to other sections in the help file. In other words I want to hover the mouse to individual regions in the single screenshot to link to other parts of the help file.
Just for information the screenshot is a shot of various buttons and checkboxes that are a part of the application.
I do not wish to break up the single image into multiple images and then link each image to another part of the help file (that explains the function of the image). I think that is very much possible and not a problem at all.
If you can just in brief explain how this can be done or provide me a link I would be grateful.
You can use an Image Map for this. You basically have a normal image and then place various invisible shapes over the image. You can then use all the shapes for hover and click events.
With some googling I found this: http://www.htmlcodetutorial.com/images/images_famsupp_220.html
Consider using an HTML image map, which you can create online here. An HTML image map is a set of tags describing various regions of an image that can have links of their own.
Aren't those called "image maps"? HTML has a tag called <area> (and <map> itself) which allows you to do this.
http://www.javascriptkit.com/howto/imagemap.shtml
Try the HTML Image Map:
Creating HTML Image Maps
You'll need to use an image map for this. If you want to get a bit fancy and have rollover's for this you could think about using the ImageMapster jQuery plugin.
http://www.outsharked.com/imagemapster/examples/usa.html

alpha property problem in swf file

i made a button & i used a on click event on this. So it can show some images. but after that when i click on another button for showing some text the images still upon there. Images hide the text. what will be the solution ?
So the problem is you see images and you don't want to see them? Then the blindingly obvious solution is to remove the images. You didn't give any details on how you add the images, so can't give specific advice on how to remove them.

how to visualise/debug an imagemap?

I'm dynamically generating an imagemap for a chart tool I have.
I was hoping to be able to set a border or color on the area tags so I could check everything was being generated with the right coords, but a little research shows this is not possible.
So whats the easiest way to check my image map is correct? Are there any browser tools which will "visualise" the areas?
What about using JavaScript (and jQuery) to test it?
http://davidlynch.org/js/maphilight/docs/demo_usa.html
This plugin will highlight image map areas.
You can use FireBug for that:
Right-click your image and choose "Inspect Element with FireBug"
In the HTML tab of Firebug, the image tag is highlighted: locate and expand the associated map tag, which usually is right after it
You can now place your mouse over each area tags to see them highlighted over your image
One way to visualize an area tag in Chrome is to add a tabindex to the area tag(s) you want to see, and then click or tab to it. Chrome will nicely highlight the actual outline of the clickable area.
This solution unfortunately doesn't work in Firefox.
Image Map Editor is a plug-in for Firefox. It is the best tool I have found so far, makes creating, inspecting, and editing image maps very easy.
In Chrome you can select the area of the image map and click on the three little dots
to the left and then select "focus"
Never thought I would ever say that, but this is one of the few cases where Dreamweaver could be helpful. You'll have an interface, you will be able to work with anchor points and set your imagemap easily.