228 users online (0 members and 228 guests)  

  Results 1 to 2 of 2


  1. small programmes    Forum: Myspace Forum
    Replies: 1
  2. Help with a small counter    Forum: Javascript Forum
    Replies: 2
  3. a small dialog box:    Forum: Javascript Forum
    Replies: 2
  4. Small tutorial    Forum: Show it off!
    Replies: 1
  5. Display small bitmap over a larger one    Forum: CSS Forum
    Replies: 4
  1. #1
    JOHN DIVJAK's Avatar
    New User

    Join Date
    Mar 2002

    Small Bitmap over a Larger Bitmap

    Good morning,
    My name is John Divjak, and am relatively new to the activity of Web Page creation, although I have been doing Desktop apps in VB for about 6 years. I had first posed this problem with the HTML guru, benzden, who indicated that you may already have dealt with this type of a question . . .

    I am displaying a large bitmap in a web page using the IMG tag. I now want to place a small bitmat on top of the first one at pixel co-ordinate (x,y) 245,245. Is it possible to do this in HTML code or does one creat a Javascript to do this. Would you have a very simple sample on how this would be done?

    To put it simply . . . . . .

    (What this is is an actual building floor plan(blue print of sorts)bitmap, and I want to position certain architectural icons (small bitmaps) over certain positions on the floor plan when the user clicks on a button on the side of the web page.)

    Thank You,


  2. #2
    QuietDean's Avatar

    Join Date
    Oct 2000
    Bournemouth, UK
    Hiya John (again),

    I just posted a reply to your moved topic, the original one. However, reading this one, it may not be a perfect example.

    The code should work for the stated purpose, but the 'clicking a button' bit makes it all the more complicated. The example I posted on the other thread is a static example. If you need interactivity, we will need to go JavaScript.

    Still css, tho. I recommend using a combination of the 'position' attribute I outlined in the other thread, and another attribute called 'visibility'. Basically, we wil need to JavaScript to change the CSS attributes on an event.

    Have a play, let me knoe how it goes.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

Tags for this Thread