|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Mouse over and viewing information
I have a table of two columns. In the first coulmn I have some topic such as about me, contact info etc. I want to show the description of those topics in the 2nd column when I place the mouse pointer on a specific topic. How to do that?
It is not necessary to use table I guess, but I just want to show the description in the different place of the same web page. |
|
#2
|
|||
|
|||
|
as far as i know, you can't dynamically change regular text in a web page, unless you use dhtml or something (dynamic html).
|
|
#3
|
|||
|
|||
|
I tried the following code and it works perfectly. I want to show a default info: please move the mouse on the highlited text. And whenever the mouse in on the high lighted text the description of the respective topic will be shown instead of the default info. How to do that according to my code.
Quote:
|
|
#4
|
|||
|
|||
|
I tried the following code and it works perfectly. I want to show a default info: please move the mouse on the highlited text. And whenever the mouse in on the high lighted text the description of the respective topic will be shown instead of the default info. How to do that according to my code.
Quote:
|
|
#5
|
|||
|
|||
|
well, it looks like you just have to add your own info, and repeat the layer process with your own additional data. you can fill in layers 1-4 on your own. remember, layer 1 is default, 2 is what you'll see when the mouse is over layer 1. layer 3 default, see 4 when over 3, etc.
with your code then, i'd think you could put the layers in your table... you could do it all absolutely, but i'm not sure you'd need to... the only thing you need to concern yourself with is how you do the layers. leave the functions alone. i picture your table as (still, mouseover layer 1 shows layer 2, etc.): Code:
layer 1 layer 2 layer 3 layer 4 layer 5 layer 6 etc. you could adapt the code, too, so that if you have a list of items, for each one you rollover, the description of it always will appear in the same area on the screen. then you'd just have to have the same width/height/left/top for each layer that you want to show up on mouseover. as such: Code:
layer 1 layers 2, 4, 6... layer 3 layer 5 etc. hopefully this gives you an idea of how to go about it. i can't say for sure how it should be done, i think you're just going to have to play around and see what you can come up with. good luck! |
![]() |
| Viewing: ASP Free Forums > Programming > HTML, JavaScript And CSS Help > Mouse over and viewing information |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|