2 Replies - 717 Views - Last Post: 29 January 2013 - 03:58 PM

#1 plasticmonkey007  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 16
  • Joined: 17-February 11

question master page menu link viewable only on certain page?

Posted 29 January 2013 - 03:04 PM

Hello everyone,

I am developing my own web space and have been trying to manipulate a blog page i got
from a tutorial. I have been using master pages with a specific menu design. My problem is
that i want to include the "subscribe" link for my blog page only, but if i attempt to put
on the blog page it says that "only content controls are allowed directly in a content page"

If I place the menu item in the main area for the master page it places the link on
all the pages. I am at a loss as to what to do. I searched for answers on the web but if i
get nothing pertaining to what I am searching for

Master Page menu code
<div id="menu">
            <nav>
                <ul>
                    <li><a rel="external" href="default.aspx">Home</a></li>
                    <li><a rel="external" href="About Me.aspx">About Me</a></li>
                    <li><a rel="external" href="Blog.aspx">Blog</a></li>
                    <li><a rel="external" href="Graphic Design.aspx">Graphic Design</a></li>
                    <li><a rel="external" href="Programming.aspx">Programming</a></li>
                    <li><a rel="external" href="Web Development.aspx">Web Development</a></li>
                </ul>
            </nav>
        </div>



blog page menu item
<div id="menu">
    <nav>
        <ul>
            <li class="subscribe"><a href="#">Subscribe via RSS</a></li>
        </ul>
    </nav>
</div>



any helpful suggestions and creative criticism is greatly appreciated

Thanks for your time
Monkey

Is This A Good Question/Topic? 0
  • +

Replies To: question master page menu link viewable only on certain page?

#2 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 9215
  • View blog
  • Posts: 34,612
  • Joined: 12-June 08

Re: question master page menu link viewable only on certain page?

Posted 29 January 2013 - 03:07 PM

How about giving every page a 'name' or some sort of 'id'.. then, using little javascript or php, check what page is being loaded and hides/shows based on that!
Was This Post Helpful? 0
  • +
  • -

#3 plasticmonkey007  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 16
  • Joined: 17-February 11

Re: question master page menu link viewable only on certain page?

Posted 29 January 2013 - 03:58 PM

Well, I decided to skip the tutorial i was following to create the blog page.
Does anyone know a good tutorial out there that teaches you how to create a working
blog preferably using HTML5 and CSS3 if it takes asp into account would be even
better but not necessary. Also i would prefer something with in the last year the
older ones usually don't get updated with the current changes to the new stuff.

Thanks a bunch everyone!
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1