Programming Hyperlink to open where?

  • Thread starter Richard on Labe Yoseph
  • Start date
R

Richard on Labe Yoseph

I understand the concept but I am having trouble programming my hyperlinks to
open in a new Tab rather than a New Window. Also I have hyperlinks to PDF
files, how can I program those hyperlinks to open in the editable region of a
dynamic web template without programming another page. I have several.
 
M

Mark Fitzpatrick

First, there isn't any HTML that tells a link to open in a new tab. You can
have it open in a new browser window with the _blank target, or you can have
it appear in the same window. The browser itself has settings that define
how to open a window in a new tab or a new browser window so you may want to
play with those.

Second, this is slightly trickier. To handle this, you would have to do some
additional steps in order to embed the pdf file within the page. A good and
simple example is at: http://www.planetpdf.com/mainpage.asp?webpageid=1682

Keep in mind though, most people are used to a PDF opening in it's own
window because that's the default behavior, and a lot of people actually
like it as it makes PDF documents easier to read since most are set for
standard paper sizes which are bigger than the content area on a lot of web
sites.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top