Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

Question

How to hide pages?

Dec 25, 2012 11:52PM PST

I wish to hide several pages and make a master page visible on the website's menu page. Open the master page and click a link to one of the hidden pages. I know his is simple stuff for your masters, but I am not one. Here's the picture in short: We have 34 sponsor pages that make the menu way to long. I want one 'sponsors' page on the menu. Click to open the 'sponsors' page and have a logo for each sponsor with a link to that sponsors 'hidden' page. Any Help Please?

Discussion is locked

- Collapse -
Answer
Re: hidden pages
Dec 25, 2012 11:59PM PST

There's only one page active at the same time. All other pages aren't active, so if you like to say they are hidden, you may say that. For example, when I type this, the page with this post is active, and all million other pages on www.cnet.com aren't visible.

To jump to another page, make a hyperlink to it. For example, if I click on the "Cell phones" link at left, I go to the cell phones page. The basic syntax is something like <a href="sponsors.htm">View our sponsors</a>.

Kees

- Collapse -
Answer
Here are some details
Dec 26, 2012 12:20AM PST

1. A website consists of files i.e. pages.
2. Each page can contain links to other pages.
3. Users navigate from page to page via the links on each page.
4. Just because you have a page that no other page links to, doesn't mean it's hidden.
5. If someone has the direct URL of where that page is, they can visit it.

Now, here's what you need to do:

1. Create a new page called sponsors.
2. Add images for each of the sponsors.
3. Create a new page for each sponsor.
4. Link each sponsor image to the corresponding new page you created.
5. Remove the links to each sponsor (from the menu) on the master page.
6. Replace those links with one link to the sponsor page.

Let us know if you need more help. For technical info, it would be best to see what you currently have.

~Sovereign

- Collapse -
hidden pages
Dec 27, 2012 12:09AM PST

Thank you, I have read what you suggest and understand. I don't see how I can remove the links to each sponsor(from menu) on the master page.Please advise and thank you very much.

- Collapse -
Without seeing
Dec 29, 2012 6:16AM PST

the code or the page, it's anyone's guess. The menu could have been implemented in any number of ways, so we're unable to provide specifics without one of the aforementioned.

~Sovereign