One Menu For Many Pages


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: One Menu For Many Pages

  1. #1
    Join Date
    Feb 2008
    Posts
    20

    One Menu For Many Pages

    Hi all.
    I am designing some web pages now, with the same menu on each page. I have about 100 pages, so changing the menu gets very bothersome. I want to know if there is a way to use iframes to make one menu file that can be put at the top of each page. That way, if I change something, it will be reflected on all 100 pages, and it will be very simple for me to do.
    I know how to make an iframe. The problem is, when I make the iframe, and click on one of the links, it opens that link in the frame, instead of on the main page. How can I change that?
    Thanks for any help.

  2. #2
    Join Date
    Feb 2008
    Posts
    20

    I figured it out.

    Thanks anyway. I figured out that I need to change the links in the iframe to

    Code:
    <a href="www.x.com" target="_parent">ClickMe</a>
    That way I can click it and it opens in the parent window instead of in the iframe itself.

Similar Threads

  1. offsetHeight of Dropdown menu
    By gibran in forum Web
    Replies: 0
    Last Post: 05-08-2008, 12:09 AM
  2. Replies: 7
    Last Post: 08-15-2006, 04:21 PM
  3. Replies: 1
    Last Post: 09-08-2005, 02:23 PM
  4. query tuning
    By dhaya in forum Database
    Replies: 11
    Last Post: 08-25-2003, 06:24 PM
  5. VirtualQueryEx
    By MacDeath in forum VB Classic
    Replies: 2
    Last Post: 02-14-2001, 06:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center