Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

HTML & CSS scripted Menu into an aspx page?

  • 01-10-2008 03:46PM
    #1
    Closed Accounts Posts: 7,097 ✭✭✭


    I have a menu on my site that I want to be able to keep. It looks really will I think, I designed it using Infinite Menu's (a handy little tool for designing menu's). Basically using CSS and HTML, you just put the menu into a table or somewhere, but I really like the effect of the menu...

    Before I went at asp.net, I had this menu in a file called my_snazzy_menu.abc

    In my php page, whenever I wanted to use the menu, I just could put:

    <?php

    include("my_snazzy_menu.abc");

    ?>

    And everything that was in my snazzy menu file would be pulled into whatever page I wanted to use my menu in.

    This was great because previous to doing it this way, manu changes had to be page on every page I had the menu on, so this allowed me to make one change and the change would appear in every page I had included the menu into using the code above.

    Is there any way I can do this using asp.net, like some way I can just include a file that has html and css code in it, into my .aspx page???


Comments

  • Registered Users, Registered Users 2 Posts: 597 ✭✭✭yeraulone


    Yes indeed.

    Masterpage is what you are looking for

    Check here and here


  • Closed Accounts Posts: 7,097 ✭✭✭Darragh29


    Thanks a mil yeraulone, that sorted that problem out!


Advertisement