Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 08-08-2005, 11:14 AM   #1 (permalink)
SeetaramaRaju
Registered User
 
Join Date: Aug 2005
Posts: 8
SeetaramaRaju is on a distinguished road
html onmouseover with images

Hi

I've the following code which pops up a submenu on a link, with onmouseover.
Its working fine as long as the links are texts. when i change all of them to images, then after onmouseover the submenu is visible only when i move the mouse on main link, and won't be visible subsequently to click on one of its links.

any thoughts please

Thanks
Raju
SeetaramaRaju is offline   Reply With Quote
Old 08-08-2005, 11:54 AM   #2 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,726
redhead is on a distinguished road
eh ? What code ?
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote
Old 08-08-2005, 12:27 PM   #3 (permalink)
SeetaramaRaju
Registered User
 
Join Date: Aug 2005
Posts: 8
SeetaramaRaju is on a distinguished road
code for onmouseover problem

iam sorry here is the code
Code:
<td>
      <a href = "" onmouseout="menuA.style.visibility='hidden'" onmouseover="menuA.style.visibility='visible'">Administration</a>
	       <div style="position:relative;background:#F6D5C3;visibility:hidden;z-index:90;" id="menuA" class="popup" onmouseout="this.style.visibility='hidden'" onmouseover="this.style.visibility='visible'">
                 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="SamplevolunteerReport.html" target="dynamic">Track&Alert</a>
                 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href = "">Security&Maintainance</a>
                 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href = "">Verification</a> <br>
                 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href = "">Pending&nbspRegistrations&Approvals</a>

           </div>
    </td>
this is not working with images as i said. Its not displaying submenu to use.
ony time it displays is when i do a onmouseover on main link image. Its not
staying visible for using

thanks

Last edited by redhead; 08-08-2005 at 01:06 PM.
SeetaramaRaju is offline   Reply With Quote
Old 08-08-2005, 01:11 PM   #4 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,726
redhead is on a distinguished road
Did you see DavH27's answer to the exact same question in this thread
your initial code is the same as mentioned there, yet DavH27 mentioned where you goofed it, your
Code:
	 <div style="position:relative;background:#F6D5C3;visibility:hi  dden;z-index:90;" id="menuA" class="popup" onmouseout="this.style.visibility='hidden'" onmouseover="this.style.visibility='visible'">
Needs to be
Code:
	 <div style="position:relative; background:#F6D5C3; visibility:hidden; z-index:90;" id="menuA" class="popup" onmouseout="this.style.visibility='hidden'" onmouseover="this.style.visibility='visible'">
Do you see the change ???
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote
Old 08-08-2005, 01:46 PM   #5 (permalink)
SeetaramaRaju
Registered User
 
Join Date: Aug 2005
Posts: 8
SeetaramaRaju is on a distinguished road
onmouseover problem

No change
SeetaramaRaju is offline   Reply With Quote
Old 08-09-2005, 09:30 AM   #6 (permalink)
DavH27
PHP Pilgrim
 
DavH27's Avatar
 
Join Date: Aug 2004
Location: London
Posts: 170
DavH27 is on a distinguished road
Take out the tabulated typo in the line pointed out in Redhead's above post.

It's not a case of the html being wrong, you just have extra characters that are creating problems.

It's not hard to see where you gone wrong.
__________________
Davy - Programming since 1998 [CV]
Currently working on: n/a
Status: n/a
DavH27 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using PHP to retrieve images stored in MySQL metazai PHP 11 04-06-2005 02:05 AM
Resizing images on the fly using GD? morpheuz PHP 8 03-08-2005 06:44 AM
Possible to prevent images in a page from caching? Epsilon HTML, XML, Javascript, AJAX 2 09-06-2004 02:58 AM
New images reaffirm planet is lord of rings redhead Code Newbie News 0 07-05-2004 01:56 AM


All times are GMT -8. The time now is 02:01 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC8 ©2007, Crawlability, Inc.





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting