SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    Working on it... Contrid's Avatar
    Join Date
    Apr 2006
    Location
    Online
    Posts
    955
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    ToolTip Display Problem

    Good day JS wizards,

    I got this really neat script for inserting JS images into tooltips and I'm currently using <div> tags to make this work. Let me show you the page :

    http://www.pcsnoop.tv/features.php

    I usually run a screen resolution of 1280x1024, but my client told me that those tooltips aren't displaying correctly. They are jumping off the screen. After a while of troubleshooting, I realized that it was a screen reslution problem.

    For those of you whom are using 1024x768 or lower, please have a look at that page, and see the problem. How can I force those tootips to stay inside the view/window?

    I'd really appreciate it if anyone could help me with this, for I have no idea how to fix this.

    *Ah...forgot to mention that this is only a problem in IE, and not in FireFox or Netscape.

    Thanks alot for any comments/help.

    Best Regards,
    Contrid.
    And so I got lost in code...completely asphyxiated by it...

    Premium WordPress plugins - Tribulant Software

  2. #2
    Working on it... Contrid's Avatar
    Join Date
    Apr 2006
    Location
    Online
    Posts
    955
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Nothing...
    And so I got lost in code...completely asphyxiated by it...

    Premium WordPress plugins - Tribulant Software

  3. #3
    SitePoint Zealot
    Join Date
    Aug 2005
    Posts
    153
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I tried using IE and no problem, if you mean by "staying" on the screen that you can't see ALL the contents is because they are big, scrolling down a little doesn't hurt.

    Some people are just too picky.

  4. #4
    Working on it... Contrid's Avatar
    Join Date
    Apr 2006
    Location
    Online
    Posts
    955
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Jack_In_The_Box
    I tried using IE and no problem, if you mean by "staying" on the screen that you can't see ALL the contents is because they are big, scrolling down a little doesn't hurt.

    Some people are just too picky.
    Thanks for your response.
    I switched my screen resolution to 1024x768 and took a screenshot of what I see. Please have a look at this image.




    Notice that I was hovering the "screenshots" red text, and the tooltip shows up at the top, while it's supposed to display 20px away from the mouse cursor. I am using IE7, but that is not the problem. I tried IE6 on another PC as well.

    All help is greatly appreciated.
    And so I got lost in code...completely asphyxiated by it...

    Premium WordPress plugins - Tribulant Software

  5. #5
    Working on it... Contrid's Avatar
    Join Date
    Apr 2006
    Location
    Online
    Posts
    955
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I found the problem and solved it.
    It was an interference with the script and my page's DOCTYPES.
    I replaced all 'document.body' code in the script with 'document.documentElement' and it worked.
    Thanks for the help. Best regards,Contrid.
    And so I got lost in code...completely asphyxiated by it...

    Premium WordPress plugins - Tribulant Software

  6. #6
    SitePoint Zealot
    Join Date
    Aug 2005
    Posts
    153
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That's weird, I'm using IE6 and I don't see any problems.

    EDIT TO ADD: You found the problem, Ok cool

  7. #7
    Working on it... Contrid's Avatar
    Join Date
    Apr 2006
    Location
    Online
    Posts
    955
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Jack_In_The_Box
    That's weird, I'm using IE6 and I don't see any problems.

    EDIT TO ADD: You found the problem, Ok cool
    Yeah...I figured it out.
    Anyways...a friend also tested this for me yesterday.
    Here is a link to his screenshot :

    http://www.granitestatemarketing.com/pcsnoop2.png

    But i'm just happy that I fixed this. I also learnt something.
    And so I got lost in code...completely asphyxiated by it...

    Premium WordPress plugins - Tribulant Software


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
  •