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 10042
On 13 Feb 2004 06:05:17 -0800, ki********@hotm ail.com
<ki********@hot mail.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********@hotm ail.com <ki********@hot mail.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.inva lid> wrote in
<40************ **********@drea der2.news.tisca li.nl> Neal wrote:
On 13 Feb 2004 06:05:17 -0800, ki********@hotm ail.com <ki********@hot mail.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:d efault" ?
--
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.inva lid> wrote in <40************ **********@drea der2.news.tisca li.nl>
Neal wrote:
On 13 Feb 2004 06:05:17 -0800, ki********@hotm ail.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 disappear s 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:d efault" ?
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.inva lid> wrote in
<40************ **********@drea der2.news.tisca li.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:
http://www.akujunkan.com/test/NavBar.html
However, when I try to incorporate the javascript and code into another
table, the rollover stops working:
http://www.akujunkan.com/test/index.html
|
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 the fly, and still have the
rollover work. I have taken the text off of the buttons, but cannot figure
out how to do it with dynamic text using javascript and html.
For example, in the columns of this row, I want to put "About...
|
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 like below:-
<ItemTemplate>
<tr width="150px" style="cursor:hand"
onmouseover="style.backgroundColor='#c0c0c0';"
onmouseout="style.backgroundColor=''" bordercolor="#000000">
|
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 equal squares in which i've placed 4 equal sized
pictures. now i'd like to create a link on the 4 pictures and have
them change pictures when the mouse is over them. (rollover)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">...
| |
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 below and to the right. What I want to happen is for the
words to be highlighted on rollover but then I want the definition of
the word plus an image to appear on click.
I have a semi functional version working now at...
|
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 include the page with the rollover buttons as a
php include in a
div for navigation buttons (left side of web page). I have cobbled
together some code complements of http://sophie-g.net/jobs/css/e_buttons.htm.
|
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 mouseover in column 1.
Is this possible and if so can anyone give me some idea of how. See
the code and CSS below.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |