SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Guru htown's Avatar
    Join Date
    Mar 2005
    Posts
    671
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    STOP IE6 image pop up

    Is there some code you can put in so that when someone passes their cursor over an image on a web site, IE6 will not show that annoying little 4 icon pop-up menu?

    Thanks,
    Houston.
    Houston Brown
    Split Light Designs
    Bringing your ideas to light.

  2. #2
    SitePoint Author silver trophybronze trophy

    Join Date
    Nov 2004
    Location
    Ankh-Morpork
    Posts
    12,158
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    HTML Code:
    <meta http-equiv="imagetoolbar" content="no">
    Birnam wood is come to Dunsinane

  3. #3
    SitePoint Member aLFaDaRK's Avatar
    Join Date
    Jul 2006
    Posts
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    As far as I know, this is not possible.

    *EDIT: hah, nevermind apparently it is ^^*

    If you're just planning on stopping it on one or two images, you can use a combination of html and css to create a div class with a specific size, and use an image as the background for it, making it no longer pop-up with that menu.

    However, since it's necissary to define the height and width of every single image you wish to do this with, it's much less practical for many images, so I wouldn't recommend it.

    Also it's hard to say whether this approach would work in older browsers or not.

    Hope that helps.

  4. #4
    Non-Member deathshadow's Avatar
    Join Date
    Jul 2006
    Location
    Dublin, NH
    Posts
    901
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Actually, I have a question...

    that meta tag turns it off wholesale... is it possible through some IE specific CSS (lord knows there's enough of them) to set it on certain images, but not all of them?

    Like on a gallery page having it pop-up on your image styled borders is a pain in the backside - but you would want IE users to have their normal functionality over the actual image they are browsing.

  5. #5
    bronze trophy
    Join Date
    Dec 2004
    Location
    Sweden
    Posts
    2,670
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    HTML Code:
    <img ... galleryimg="no">
    http://msdn.microsoft.com/workshop/a...galleryimg.asp

    I guess you could move it to the stylesheet if you want:
    Code:
    #foo img { behaviour:expression((this.runtimeStyle.behaviour = "none")&&(this.galleryImg = false)); }
    Simon Pieters


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •