Next in thread → Next in month →

RE: [docbook-apps] olinks in a new page

From
Johnson, Eric <>
Date
2006-11-03T15:48:56+00:00
ID
Thread
RE: [docbook-apps] olinks in a new page
Bob,

Thanks for the help. It worked like a 
charm!!

Cheers,

Eric

 

  

  
  From: Bob Stayton [mailto:] 
  
Sent: Thursday, November 02, 2006 2:09 AM
To: Johnson, 
  Eric; 
Subject: Re: [docbook-apps] 
  olinks in a new page

  

  
You would have to customize the template with 
  match="olink" in html/xref.xsl.  You would need to add a target attribute 
  to the <a> element generated for the olink.  You would have to 
  compare the current olink's targetdoc with the $current.docid to see if it was 
  an internal or external olink.

  
 

  
Bob Stayton
Sagehill Enterprises
DocBook Consulting


  
 

  
 

  
    
----- Original Message ----- 

    
From: 
    Johnson, 
    Eric 

    
To:  
    

    
Sent: Wednesday, November 01, 2006 
    10:03 AM

    
Subject: [docbook-apps] olinks in a new 
    page

    

    
I'm placing my 
    books into a frameset with the TOC on the left hand side. It works great, 
    but when I hit an olink to another book in the library it opens the HTML up 
    in the content frame....

    
How can I 
    customize the olink processing to make references to other books open in a 
    new browser window/tab?

    
 

    
Thanks,

    
Eric
Next in thread → Next in month →