473,508 Members | 2,744 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

if i click on one link other links should disappear,how to achieve??

2 New Member
I am havinf a link called "click me".
M also having links called "dos" and "donts".
what I want is if i click on link "click me",other 2 should disappear.
Oct 25 '12 #1
1 1671
Frinavale
9,735 Recognized Expert Moderator Expert
I'm not sure if you can accomplish this using CSS and HTML alone.

However, you can write a JavaScript method that you call when the link is clicked which would set the CSS display style of the elements you want to hide to "none".

-Frinny
Oct 25 '12 #2

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

Similar topics

4
5684
by: Blue® | last post by:
http://asianmachinetrader.com/dbase/add.htm For the "Category" field in the page above, is it possible to click on the category (in the "Show me" popup window) and have the category inserted into...
44
9385
by: Viken Karaguesian | last post by:
Hello all, On occasion I want to open hyperlinks (images, etc.) in a new window. In the past, I've used target="_blank" to open the link in a new window. However, using the "target" attribute...
1
1560
by: gubusoft | last post by:
I have a Web page with two frames. The left frame has a DHTML-generated tree of links (to images). The right frame displays the image link you click in the tree of links. It works great on...
21
4427
by: BLarche | last post by:
I am not really sure how to do this, but I need to create <DIV>'s that correspond to a given week that is clicked. So, when my ASP is generating the page, it will create the hidden divs. When a week...
4
4362
by: Mark Anderson | last post by:
Hi. I've had to turn an IFrame-embedded page into a an Object using the data attribute to hold the page to meet XHTML STRICT validation. The <object>'s embedded page is a query URL returning a...
0
2298
by: GS | last post by:
IN the application I developing, I have to deal with some https website that uses JavaScript function with parameters in link to open new window when the link is clicked. The default is that the...
9
1951
by: newbiegalore | last post by:
Hello everyone :-) , Thanks to the gentle people on this group for helping me out with previous issues. :-D This time round I am facing what I perceive as a simple problem, which I have not found...
2
1550
by: chris mtz | last post by:
I have a parent window that opens up a child window with a list of links. The child window needs to stay on the same page and when the links are clicked only affecting the parent window. Right now...
0
7228
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
7393
jinu1996
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...
1
7058
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
7502
tracyyun
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...
0
5635
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
4715
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...
0
3206
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
769
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
426
bsmnconsultancy
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...

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.