emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Open HTML link in other window?
@ 2011-02-03 12:58 Vladimir Alexiev
  2011-02-11 11:36 ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: Vladimir Alexiev @ 2011-02-03 12:58 UTC (permalink / raw)
  To: emacs-orgmode

Is there a way to configure the HTML export to open every 
*external* link to another window?
Eg this is very useful for web presentations (search for "s5 org).

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Open HTML link in other window?
  2011-02-03 12:58 Open HTML link in other window? Vladimir Alexiev
@ 2011-02-11 11:36 ` Bastien
  2011-02-15  8:20   ` Vladimir Alexiev
  0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2011-02-11 11:36 UTC (permalink / raw)
  To: Vladimir Alexiev; +Cc: emacs-orgmode

Hi Vladimir,

Vladimir Alexiev <vladimir@sirma.bg> writes:

> Is there a way to configure the HTML export to open every 
> *external* link to another window?

#+ATTR_HTML: target="_blank"
[[http://www.w3schools.com/HTML/html_links.asp][link]]

Will add the target attribute to the link.

There is no way to set this as a default for all links,
I don't think this is really necessary.  But feel free to
try to convince me :)

-- 
 Bastien

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Open HTML link in other window?
  2011-02-11 11:36 ` Bastien
@ 2011-02-15  8:20   ` Vladimir Alexiev
  0 siblings, 0 replies; 3+ messages in thread
From: Vladimir Alexiev @ 2011-02-15  8:20 UTC (permalink / raw)
  To: emacs-orgmode

> I don't think this is really necessary.

IN web presentations (eg s5.org) each section is one slide (screen).
If you click on an external link, it replaces the presentation,
and when you go back to it, you lose the current slide.

Setting some global HTML_ATTR may also be useful for images,
eg if I want all my images on the right.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-02-15  8:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-03 12:58 Open HTML link in other window? Vladimir Alexiev
2011-02-11 11:36 ` Bastien
2011-02-15  8:20   ` Vladimir Alexiev

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).