473,383 Members | 1,853 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,383 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 1170
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
isladogs
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...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...

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.