473,372 Members | 856 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,372 software developers and data experts.

Hiding a picture

I want to have a picture that remains hidden until I click on a link.
I don't know how to do this please help!

Thanks!

/MI
Aug 15 '07 #1
5 1167
Hi,

There are many ways this can be done.

1. JavaScript - You can use a onmouseclick event
2. CSS - This will work as a hover rather than a click event

Hope this helps.

TheCSSKing
Jul 31 '08 #2
drhowarddrfine
7,435 Expert 4TB
CSS can do this if you make it visible using a:visited and making the href reference itself but you can't make it invisible and going off page can make it reset.
Jul 31 '08 #3
tharden3
916 512MB
Hi,

There are many ways this can be done.

1. JavaScript - You can use a onmouseclick event
2. CSS - This will work as a hover rather than a click event

Hope this helps.

TheCSSKing
I could be wrong, but I've heard that hover is not supported by IE????
Jul 31 '08 #4
acoder
16,027 Expert Mod 8TB
Hover is supported for a link and is supported for other elements too in IE7 Strict mode.
Jul 31 '08 #5
tharden3
916 512MB
Hover is supported for a link and is supported for other elements too in IE7 Strict mode.
oh, alrighty. I wasn't sure......
Jul 31 '08 #6

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

Similar topics

9
by: Steve Loft | last post by:
I have a PHP script which generates responses to answers submitted by a form. The responses contain links to images. I'd like to stop users guessing the names of other images and viewing them. I...
8
by: Rob McLennan - ZETLAND | last post by:
Hi, I have set up an external stylesheet, named "print.css", to format the style of all pages printed from my company's website. I've been previewing my changes to the stylesheet by doing...
39
by: WindAndWaves | last post by:
Hi Gurus I have a page, which looks a bit like this: .... <body> <div ID=id1>................</DIV> <div ID=gsd>................</DIV> <div ID=ewd>................</DIV> <div...
0
by: Raj Chudasama | last post by:
i have a custom control derived from usercontrol (called popupwin). I have another usercontrol (called extensionbutton). In the extension button i have declared a variable as follows: private...
9
by: bob | last post by:
Hi, I know there exists a good reason why the designers of c++ decided that function hiding should exist. But I don't know why. Can anybody provide a good reason/example of a case where function...
0
by: mcnews | last post by:
how can i stop the picture box on my MDI form from covering up my child windows easily? i am setting the visible property to false, but there must be a better way. tia, mcnewsxp
4
by: Jon | last post by:
Hi, I am calling the function showpopupWindow(item) to open and write a popup window. When testing in IE6 locally the popup window displays my text in both the title and status bars but when...
10
by: Tom Rahav | last post by:
Dear all, Is there any way (must be I guess...) to hide an exe file in a picture, so when you open the picture the exe file runs automaticall? Using .NET? Thanks! Tom.
162
by: Sh4wn | last post by:
Hi, first, python is one of my fav languages, and i'll definitely keep developing with it. But, there's 1 one thing what I -really- miss: data hiding. I know member vars are private when you...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.