• 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!

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.

Previously on "HTML image map when border=0 isn't darn it."

Collapse

  • Guest's Avatar
    Guest replied
    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.

    Leave a comment:


  • Guest's Avatar
    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's Avatar
    Guest replied
    Thanks 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's Avatar
    Guest replied
    using 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's Avatar
    Guest replied
    You 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's Avatar
    Guest replied
    Ta 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's Avatar
    Guest replied
    xoggoth - 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's Avatar
    Guest replied
    Imagemaps 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's Avatar
    Guest replied
    yeah, 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's Avatar
    Guest replied
    Is it online to see?

    Leave a comment:


  • Guest's Avatar
    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.

Working...
X