I am new to CSS and would like to know if there is a way to make this
happen with CSS:
image1 and image 2 are laid out at the top of the page.
when the mouse hovers over image1, a paragragh or so of formatted text
appears below,
when the mouse leaves the image, the text disappears;
when the mouse hovers over image2, a different body of text appears in
the same area where the text appeared for image1, which also
disappears when the mouse moves away.
If this is a common question, I apologize. Thank you in advance for
any help. 6 10015
On 13 Feb 2004 06:05:17 -0800, ki********@hotmail.com
<ki********@hotmail.com> wrote: I am new to CSS and would like to know if there is a way to make this happen with CSS:
image1 and image 2 are laid out at the top of the page.
when the mouse hovers over image1, a paragragh or so of formatted text appears below, when the mouse leaves the image, the text disappears;
when the mouse hovers over image2, a different body of text appears in the same area where the text appeared for image1, which also disappears when the mouse moves away.
If this is a common question, I apologize. Thank you in advance for any help.
The specific answer I will leave to those more skilled. The general answer
is that CSS alone can do this in nearly every browser, except for that one
most people are using :\ so the solution here is normally a script.
Neal wrote: On 13 Feb 2004 06:05:17 -0800, ki********@hotmail.com <ki********@hotmail.com> wrote:
I am new to CSS and would like to know if there is a way to make this happen with CSS:
image1 and image 2 are laid out at the top of the page.
when the mouse hovers over image1, a paragragh or so of formatted text appears below, when the mouse leaves the image, the text disappears;
when the mouse hovers over image2, a different body of text appears in the same area where the text appeared for image1, which also disappears when the mouse moves away.
If this is a common question, I apologize. Thank you in advance for any help.
The specific answer I will leave to those more skilled. The general answer is that CSS alone can do this in nearly every browser, except for that one most people are using :\ so the solution here is normally a script.
I'm not saying I'm more skilled, but I'd say it can be done,
at least if image1 and image2 are links, so the CSS hover
function will work in IE, following the example of Eric Meyer: http://www.meyerweb.com/eric/css/edge/popups/demo.html
And if the images aren't meant to be links, well, 'link'
them to "#" and it'll work without linking anywhere. (yes,
confusing people by showing the little hand ...)
--
Els
Mente humana é como pára-quedas; funciona melhor aberta.
Els <el***********@tiscali.nl.invalid> wrote in
<40**********************@dreader2.news.tiscali.nl > Neal wrote:
On 13 Feb 2004 06:05:17 -0800, ki********@hotmail.com <ki********@hotmail.com> wrote:
I am new to CSS and would like to know if there is a way to make this happen with CSS:
image1 and image 2 are laid out at the top of the page.
when the mouse hovers over image1, a paragragh or so of formatted text appears below, when the mouse leaves the image, the text disappears;
when the mouse hovers over image2, a different body of text appears in the same area where the text appeared for image1, which also disappears when the mouse moves away.
If this is a common question, I apologize. Thank you in advance for any help.
The specific answer I will leave to those more skilled. The general answer is that CSS alone can do this in nearly every browser, except for that one most people are using :\ so the solution here is normally a script.
I'm not saying I'm more skilled, but I'd say it can be done, at least if image1 and image2 are links, so the CSS hover function will work in IE, following the example of Eric Meyer: http://www.meyerweb.com/eric/css/edge/popups/demo.html And if the images aren't meant to be links, well, 'link' them to "#" and it'll work without linking anywhere. (yes, confusing people by showing the little hand ...)
I generally worry about changing expected behaviour but, since the hand
pointer is in itself unexpected in this context, how about styling the link
with style="cursor:default" ?
--
PeterMcC
If you feel that any of the above is incorrect,
inappropriate or offensive in any way,
please ignore it and accept my apologies.
PeterMcC wrote: Els <el***********@tiscali.nl.invalid> wrote in <40**********************@dreader2.news.tiscali.nl >
Neal wrote:
On 13 Feb 2004 06:05:17 -0800, ki********@hotmail.com <ki********@hotmail.com> wrote:
I am new to CSS and would like to know if there is a way to make this happen with CSS:
image1 and image 2 are laid out at the top of the page.
when the mouse hovers over image1, a paragragh or so of formatted text appears below, when the mouse leaves the image, the text disappears;
when the mouse hovers over image2, a different body of text appears in the same area where the text appeared for image1, which also disappears when the mouse moves away.
If this is a common question, I apologize. Thank you in advance for any help.
The specific answer I will leave to those more skilled. The general answer is that CSS alone can do this in nearly every browser, except for that one most people are using :\ so the solution here is normally a script.
I'm not saying I'm more skilled, but I'd say it can be done, at least if image1 and image2 are links, so the CSS hover function will work in IE, following the example of Eric Meyer: http://www.meyerweb.com/eric/css/edge/popups/demo.html And if the images aren't meant to be links, well, 'link' them to "#" and it'll work without linking anywhere. (yes, confusing people by showing the little hand ...)
I generally worry about changing expected behaviour but, since the hand pointer is in itself unexpected in this context, how about styling the link with style="cursor:default" ?
Yep, good one. Never realised that could be done with CSS as
well. Just tested it in IE6, Opera 7.23, NS7.1 and Firefox.
However, don't style the a:hover, but a itself, like
a {cursor:default;}
If you only style the a:hover, the hand will appear when
touching the border of the link, in NS7.1 and Firefox.
I learned something new again today. :-)
Leaves one question though:
Is this what the op was looking for?
--
Els
Mente humana é como pára-quedas; funciona melhor aberta.
Els <el***********@tiscali.nl.invalid> wrote in
<40**********************@dreader2.news.tiscali.nl > I learned something new again today. :-)
Pleased to have been of service.
Leaves one question though: Is this what the op was looking for?
Nope - he'll be like the rest of us, just looking for a little warmth and
affection.
;-)
--
PeterMcC
If you feel that any of the above is incorrect,
inappropriate or offensive in any way,
please ignore it and accept my apologies.
PeterMcC wrote: Els wrote:
Leaves one question though: Is this what the op was looking for?
Nope - he'll be like the rest of us, just looking for a little warmth and affection.
LOL
--
Els
Mente humana é como pára-quedas; funciona melhor aberta. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: pablo |
last post by:
Dear NGers,
I would like to change the alt-text with the changing of the image during a
mouseover action.
Can document.images.altView be changed dynamically?
TIA,
pablo
|
by: jedbob |
last post by:
I used Adobe Imageready to build a simple rollover navigation bar,
where the text will change color on a mouse over.
The working example can be found at:...
|
by: JOSEPHINE ALVAREZ |
last post by:
I have this code that I want to use to do a rollover. However, because the
company I am doing it for is continually changing the text, I want to be
able to use dynamic text to change the text on...
|
by: Patrick.O.Ige |
last post by:
I want to have a rollover image on an hyperlink inside a Repeater control
but when i run the page i get
"Image1 is undefined"
Any ideas?
I have a Hyperlink and an Image control in a repeater...
|
by: mix2plix |
last post by:
ok.. been bangin by brains the past few days with this one and decided
to seek you'z help. so here ya go. based on the code below and this
concept.. how should i proceed?
I have a table of 4...
|
by: twst3d |
last post by:
Thanks in advance. Not very well versed in javascript but I'm pretty
good at piecing together code that works.
I am creating a page that has will have definitions on one side and a
blank area...
|
by: eholz1 |
last post by:
Hello CSS and StyleSheet members,
I have decided to move away from Dreamweaver javascript rollover
buttons, in favor of
a CSS type rollover button. (hope that is ok).
I plan to use PHP to...
|
by: Iain Wilson |
last post by:
Hi all
I have a simple 2 column page (see below) styled by CSS
In column 1 there are a list of href's.
What I want to do is to have an image displayed in column 2 in
response to a href...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |