/    Sign up×
Community /Pin to ProfileBookmark

switch statement

i have a picture of a white box with a black border around it.
when i push the ‘load’ button i want a picture, with an actual image, to overlap that white box.

so there are simply two pictures and a button.
when the button is pushed a copy of picture ‘A’ overlaps pictures ‘B’.

can anyone produce a very simple code of this.
any help is much appreciated. thank you!

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@JMRKERNov 02.2007 — This guy http://www.vicsjavascripts.org.uk/Home.htm

has some great ideas with images

For example: http://www.vicsjavascripts.org.uk/DragDockAvoid/DragDockAvoid.htm

and others.

See if you can get any ideas here.

Good Luck! ?
×

Success!

Help @SlickDan15 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.25,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...