/    Sign up×
Community /Pin to ProfileBookmark

hide and show in javascript

hi

I have VERY little experience in javascript, but I don’t know of any other way of doing this.

ok here’s the scoop. I want to make a calander in a rectangular box… good stuff it works already uses css to show the dates when months are scrolled over, yay. whatev.

but I want more. I want to use javascript to hide the dates, or css like it is already. then when I CLICK on a month I want it to show up next to the months and stay up until I click another month. then I want to be able to click on a date and more info will show up next to the dates.

I want them to appear all in a line. months –> dates –> Date info.

I don’t really have anything to show because I have no Idea how to start this.

any help would be much appreciated

Thanks
BuBs

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@brad-hmblpSep 20.2006 — If you are using this on a html page give each of your elements an id tag like id="giveitaname" and a style tag where visibility = visible or hidden then when the javascript function manadtes that some thing is visible do giveitaname.style.visibility = "visible";

I think this only works with html pages though
×

Success!

Help @bubs 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.24,
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,
)...