www.webdeveloper.com
Results 1 to 2 of 2

Thread: adding the target attribute to every link within an iframe

  1. #1
    Join Date
    Oct 2009
    Posts
    4

    Question open automataticaly generated links within iframe

    My company has developed a filemaker form/database/a bunch of other junk webpage. It is designed to be embedded into our websites in a frame/iframe so that each of our sites will show the same data/links/etc. and it makes recording the traffic much easier as well. Anyway the problem we're having is filemaker automatically generates the links but I need to specify that those links open within my iframe so as i understand it what i need is a way in html or css to specify that all links within my iframe open inside the iframe or that all the links with in my iframe have the attribute target="_PFrame". I'd be open to any way of accomplishing this because we can't figure out how to do it in HTML, CSS, or in Filemaker
    Last edited by Eric_Erb; 02-02-2010 at 11:56 AM.

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    In the head of the document:
    Code:
    <base target="_PFrame">
    or
    <base target="_self">
    At least 98% of internet users' DNA is identical to that of chimpanzees

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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



Recent Articles