Hi all, quick question about a website I am about to build. Basically, somewhere on the homepage, presumably quite far down closer to the footer I will have a div with two clickable tabs: when clicked they will show different content but the url of the page needs to stay the same (as opposed to the main proper navigation I supposed). This can be achieved only with javascript right?
Violet_82
89
Posting Whiz in Training
Recommended Answers
Jump to PostRight.
Jump to PostJust as an extra note... If the only options are javascript and CSS, I also agree that javascript is the only option regarding a click event. However, this can also be achieved server side. For example, this is quite easy to implement without javascript in asp.net using panels. The downside …
All 8 Replies
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
Violet_82
89
Posting Whiz in Training
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
almostbob
866
Retired: passive income ROCKS
Violet_82
89
Posting Whiz in Training
almostbob
866
Retired: passive income ROCKS
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
Violet_82
89
Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.