Solved

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

Posted on 2012-04-07
4
300 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

910 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now