DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Victor Francis Guest

    Restricting subsequent links to frame


    I have three frames on my main page. The links are in frame 2 and I've targeted
    all links to frame 3. I click on a link and the linked page pops up, as it
    should, in frame 3. However, sometimes when I click the links on the linked
    page, the subsequent pages take up all of my main page. I don't want that.
    I would like to restrict the linked pages and all subsequent pages to frame
    3. How do I do that? I'm using IE 5.0. and HTML 4.

  2. #2
    Sevan Baghdasarian (WEB DEV) Guest

    Re: Restricting subsequent links to frame

    Hi Victor,

    simply set the 'target' attribute's value of te 'A' tag to the name of the
    third frame like:

    <a href="someURL" target="ThirdFrameName">Some Text ...</a>

    I hope it helps.
    --

    Digitally Yours,
    Sevan Baghdasarian
    Official Personal Site
    sevan@sevan.net
    http://www.sevan.net
    ----------------------




Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links