Javascript Tooltip / Posts /

Incorrect mcTooltip Height

0

When you first load this page (delete all temp files and images), some of the tool tip images are not loaded properly (http://www.remotey.net/index.php/restaurant-chairs/wood-chairs/kingston-us-made-side-chair.html.

When you hover over the small image, a large image should open via the tooltip. This works fine on most cases, but on certain cases, the images in the tooltip does not show in the proper size as we're getting the incorrect height for the wrapper "mcTooltip". The height is usually 40 px.

Nick  9 years ago   viewed: 2967    

1 Answer

0

If your images are not loaded fast enough, you are recommended to tell the browser about the image sizes by the inline style settings. For example, instead of:

<img src="imgs/1.jpg" alt="abc" />

You should:

<img src="imgs/1.jpg" alt="abc" style="width:500px; height:200px;" />

Milo   9 years ago

   

Your name*
Password
(Optional. Used to modify this post afterwords)
+ =  

Ask your Own Question

  • If your question is related to the topic of this post, you can post your question to this page by clicking the "Post a reply" button at left;

  • When you want to start a new page for your question: