Very similar D, though not using your "window.status= bits. Mouse swaps between the two different images/maps.
function setmap(n,mapname,srcname)
{
with (document.all.tags("img").item(n))
{
src = "pictures/" + srcname;
useMap = mapname;
}
It is not my jscript tho that is causing the problem as obviously checked prob still there when commented out.
PS Just got back to this. Setting focus to help button on load cures problem so cheers Atw. I will not make fun of your moustache again.
Today.
- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Collapse
You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:
- You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
- You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
- If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
Logging in...
Previously on "HTML image map when border=0 isn't darn it."
Collapse
-
Guest replied
-
Guest replied< M A P NAME="map1" >
< A R E A S H A P E =RECT COORDS=" 11,26, 27, 35" HREF="file.htm#ChapTocTop" on mouse over="window.status='File Menu'; return true" on mouse out="window.status='EPS Range'; return true">
< A R E A S H A P E =RECT COORDS=" 40,26, 58, 35" HREF="edit.htm#ChapTocTop" on mouse over="window.status='Edit Menu'; return true" on mouse out="window.status='EPS Range'; return true" >
< / M A P >
< T A B L E WIDTH="100%" >
< T R >
< T D width="43%">
<I M G U S E M A P= "#map1"
SRC="main.gif"
ALT="...loading image, please wait..."
HEIGHT=206 WIDTH=350 ALIGN=BOTTOM border=0>
</TD>
Is the above what you are trying ...
Leave a comment:
-
Guest repliedThanks for suggestion R. though I came to atW's conclusion the other day when I suddenly found that none of my Flash animations were working for some unknown reason. I had to download the player off the net again. The more things you introduce into the equation the more can go wrong.
Ok for stuff aimed at techies who can fix it, but stuff for schools needs to be fairly foolproof, most teachers are not very technical. My missus was IT coordinator and seeing her struggle just to copy a few files in Explorer is hilarious. (I do not dare laugh of course). She still saves things on floppy discs
Leave a comment:
-
Guest repliedusing Flash is a dependency which you dont want to introduce unless you plan to rely on Flash for significant chunk of your app _and_ there is absolutely no other way, since you do it in VB on client side you might as well do ActivEx (yuck!)
changing focus with javascript should help, other people never noticed that because they did not have time to look at that level of detail
Leave a comment:
-
Guest repliedYou might want to try Swish which is basically Flash but easier. This way you can just drop images onto the movie and attach events to them.
Leave a comment:
-
Guest repliedTa a. Not tried changing focus, have a go later. At mo weather is too nice so mostly outside doing some more artwork. Also wonder whether there was mileage in your previous comment re history - perhaps if I deleted it. Funny nobody else on internet seems to have found this a problem that I can find.
Leave a comment:
-
Guest repliedxoggoth - its entirely possible that in this case you picked correct way of doing it, however knowing you this is pretty rare
i am pleased to hear however that you use standard techonologies (HTML) in your VB app - this is definately the right way!
anyhow, I tried image map here - www.ihip.com/
and I get the same outline when I go back to page, so I guess its not just you (I use IE6). It appears that clicking anywhere else would eliminate that outline - could be kind of "focus"? How about you do some javascript on page which would auto run after body loaded (OnLoad event) and give focus to some button or something else?
Leave a comment:
-
Guest repliedImagemaps are a completely alien method of defining a hotspot on an image aTW? I thought that's exactly what they were for. My book does say they are a bit outdated and like you, hints cryptically at better methods but does not say what they are. Anyway, open to any suggestions of an easier or better way of defining an irregular button area on a background image.
No, not on website R, I am doing lesson material to run in a VB browser.
PS It's a treasure chest that opens when you click on it and daggers and stuff as in "Is this a.." etc pop out.
Leave a comment:
-
Guest repliedyeah, during click behaviour is undefined, so normally browsers outline it and keep it on to allow easy seeing what was clicked - feature so to speak. In your case they might be using outilne to show it was clicked, history mode so to speak, even though it sounds a bit weird.
so, its xoggoth upon us with his typical approach which we in Russia refer to as "doing it through the arse" - you are picking some completely alien method to achieve goals that are best achieved with something else - you'd be welcome member in my employer's web team (even though they improved since I started)
anyhow, I suggest to rethink what you doing, if its really a simple page then you should be able to avoid using image maps in the first place.
Leave a comment:
-
Guest repliedIs it online to see?
Leave a comment:
-
Guest started a topic HTML image map when border=0 isn't darn it.HTML image map when border=0 isn't darn it.
Using an HTML simple polygon image map with border=0 on image so the map area should not be displayed. It isn't to start with, however, if I click on the map area and then return to page using the back button the area is outlined and does not go away with refresh.
Any simpler ways round this than a) using Flash or b) mapping round the object much more closely so the outline is less obvious? Both seem a bit of a hassle for what should really be a dead simple page.
Ta for any tips.Tags: None
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- How you think you look on LinkedIn vs what recruiters see Today 09:00
- Reports of umbrella companies’ death are greatly exaggerated Nov 28 10:11
- A new hiring fraud hinges on a limited company, a passport and ‘Ade’ Nov 27 09:21
- Is an unpaid umbrella company required to pay contractors? Nov 26 09:28
- The truth of umbrella company regulation is being misconstrued Nov 25 09:23
- Labour’s plan to regulate umbrella companies: a closer look Nov 21 09:24
- When HMRC misses an FTT deadline but still wins another CJRS case Nov 20 09:20
- How 15% employer NICs will sting the umbrella company market Nov 19 09:16
- Contracting Awards 2024 hails 19 firms as best of the best Nov 18 09:13
- How to answer at interview, ‘What’s your greatest weakness?’ Nov 14 09:59
Leave a comment: