Solved

why my popup message javascript only show when i put cursor on first letter

Posted on 2012-04-07
4
303 Views
Last Modified: 2012-04-11
hi...

i have a html fuile, it has a popup image show at mouseover event java script function , but

images only showeds when cursor located at first letter, i need it show all time over the tex....when cursor  is moved little post first letter text, the image showd many times as crazy


some one could help me please


thanks a lot
index.html
falla-mision.jpg
0
Comment
Question by:tenriquez199
  • 2
4 Comments
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 37819990
You have the hidden items positions over the cells with the mouse events.  That blocks the mouse and it can only see the small bit on the left that is not covered.  It does not matter if the elements have hidden or visible they are still positioned on top and blocking even when hidden. Move the displayed items to a position where they are not overlapping the cells.

As for your code, I suggest you move into the modern century.  The last browser that needed document.layers was Netscape 4, which has not been produced for over 10 years.  document.all was required for IE versions prior to IE5, also out of date by ten years.  You need to spend some time learning modern coding.

Cd&
0
 
LVL 2

Expert Comment

by:Elbassel
ID: 37820745
Hello  tenriquez199
You can use Jquery to make mouseOver event.
I make an example for you, when the mouse overs the text the image will be visible and when you click the image it will be hidden.
The two files are attached put them in the same folder,
I used Jquery, but I used a link to google API so to make the example run successfully,
 you must have an internet connection

Best wishes
1.jpg
html.html
0
 
LVL 16

Expert Comment

by:HagayMandel
ID: 37821379
Please provide a live link.
0
 
LVL 2

Accepted Solution

by:
Elbassel earned 500 total points
ID: 37822652
A live link is added.
Here is the example in the attached files, just open the html file in a browser
and put the image and HTML file in the in the same directory(folder)

Best wishes
1.jpg
html.html
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Load data upon clicking a button 8 33
Show Ruler in Outlook 2010 STILL NOT SHOWING! 4 21
Html Newline 7 20
HTML <font style="color:red"> 9 27
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question