GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've recently been working on HTML/CSS using only what I've learned from w3schools. Unfortunately, what I'm trying to do is set a page with www.example.com/#Section1, but allow /#Section1 on the same page, without moving down or up the page, just on the same box.
But what I'm trying to do is imagine if the index was there, I clicked it, and it opened the section right there. Not as a new tab, or a new window but as if it were already there, loaded with the entire page and clicking it just opens up the text and pictures or whatever of the "#Remaining_career" part in the same window.
You would likely be better off in a web developer forum or newsgroup.
The alt.html newsgroup tends to be very helpful, as long as questions are asked properly--lurk for a while before posting. About dot com also has a good section on html and css.
I've found the w3cschools to be both overwhelming and excessively terse for learning new stuff.
If you don't already have XAMPP installed, I would also suggest that you get it, so you can test stuff in your own webserver. Read the docs carefully. It is not designed to face the public unless you set up the security; by default, it is not password protected.
What I was referring to keeps you on the page, but imagine if those options were in tabs, you clicked one and it opened up specifically only what was in that section but when you did click it, the link was http://www.wikipedia.org/example/#example.
I was using Wikipedia as a reference because it's links do that.
if i understand you correctly what you want is short index of page. and when you click on index item just below it selected section shows. im dunno about css(css3?) but with jscript this is possible
Quote:
<div onclick="var a=this.getElementsByTagName('div')[0];a.style.display=(a.style.display=='hidden')?'block':'hidden';">
Index 1
<div style="display:hidden;"> Content 1</div>
</div>
<div onclick="var a=this.getElementsByTagName('div')[0];a.style.display=(a.style.display=='hidden')?'block':'hidden';">
Index 2
<div style="display:hidden;"> Content 1</div>
</div>
You've been a member on this forum long enough to know that you should start your own thread, haven't you?
Sorry but that is completely off-topic. You might want to consider starting a new thread. My question was about html/css, not how to write a redundant comment. But thank you for your time!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.