473,412 Members | 5,714 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,412 software developers and data experts.

Html+css

Hi friends,

I am a novice and need some push.
I have an HTML doc and CSS sheet done.

I have a text-link on my html page.

I need help , as to this requirement:

When the user clicks on this Text-link, i have to display another
story-text and an Image in the same html page in the other half of the
page. Thanks .

The layout will be like this :

Link Text: Detail Text Image here.

School This is the best An Image of
school. the school is
etc....... to be displayed

( the above text ( the above
should get image should get
displayed when displayed when
the user clicks the user clicks
"school" link "school" link
shown in left ) shown in left )
Jun 12 '07 #1
1 1174
jhardman
3,406 Expert 2GB
Hi friends,

I am a novice and need some push.
I have an HTML doc and CSS sheet done.

I have a text-link on my html page.

I need help , as to this requirement:

When the user clicks on this Text-link, i have to display another
story-text and an Image in the same html page in the other half of the
page. Thanks .

The layout will be like this :

Expand|Select|Wrap|Line Numbers
  1.          Link Text:                      Detail Text                      Image here.
  2.  
  3.          School                             This is the best               An Image of 
  4.                                                school.                         the school is
  5.                                                 etc.......                     to be displayed
  6.  
  7.                                          (  the above text               ( the above             
  8.                                             should get                     image should get
  9.                                              displayed when             displayed when
  10.                                             the user clicks                the user clicks
  11.                                              "school" link                  "school" link
  12.                                               shown in left )               shown in left )
Is this an assignment for school? The scripts DN has a fairly strict no-homework policy.

Most people do this sort of thing in javascript, but it is doable in css. I don't want to give you an answer, but as a hint, try looking into the pseudo classes or maybe google "css menus" which use css to accomplish a similar effect.

Jared
Jun 12 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

20
by: Rick Cook | last post by:
I'm looking for a good (non-wysiwyg) editor for HTML and CSS. I want something that will help me produce non-dynamic pages with a minimum of excrescences (no, javascript, flash, etc.) in...
22
by: opt_inf_env | last post by:
Hello, It is strange to me that html and css use different names for variables which define the same properties. For example if I whant to define text color from html document I write: <body...
2
by: sneill | last post by:
MXLogic, a Denver, Colorado based software company with 100+ employees is looking for candidates with **VERY STRONG** AJAX, Javascript, HTML, and CSS skills. Our company is building...
6
by: dpomt | last post by:
I have a quite strange problem with the Menu control. I have ten languages and each language has a SiteMapDataSource and a Menu. For better performance, I am creating a hashtable (language ->...
36
by: sonnystarks | last post by:
I am trying to learn HTML and have obtained several books on the subject. However, I am confused with the proper way of going about it as most of these books give me the basic tags and then say...
6
by: phil-news-nospam | last post by:
Here is another attempt at making some HTML/CSS (e.g. not image) buttons. Because I've managed to avoid the things that tend to be problems, it has mostly worked. I also went back to doing tables...
5
by: Tristan Miller | last post by:
Greetings. Is it possible using HTML and CSS to represent a combining diacritical mark in a different style from the letter it modifies? For example, say I want to render Å‘ (Latin small letter...
2
tharden3
by: tharden3 | last post by:
I'm sure you've heard this 117 times in this forum, but I have been looking around, spending time on google, and I still cannot find an answer. If you have some time on your hands, please help me...
7
by: praveenb000 | last post by:
Hi, every one on this forum.... I am new to web designing (using HTML/CSS). i designed a web page using HTML, Css with dream weaver. Here is the code i used for the desinging. it appears well...
16
by: jerry101 | last post by:
Hi, I've got the usual problem that people seem to have with HTML/CSS nav bar's where it's displaying and working fine in IE but not in Firefox. The website address is ...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.