View Full Version : Coding assistance needed

09-25-2004, 10:53 AM
I need a bit of help with these items.
First, I want to create a link that will open in a new window rather than require visitors to my site to use their "back" button. The links go to sites other than mine which is why the new window is needed.

Second, I want to put a pdf file online that can be accessed from a text link but have it open in a new window when someone clicks on the link. Can anyone help me with the coding needed for this?

09-25-2004, 02:09 PM
To open anything in a new window:

<a href="url" target="_blank">text here</a>


09-27-2004, 01:26 AM
Personally I hate links that open in a new window. If i want them in a new window i just click file and new page.

What i do for my site is on all the pages i have i make a link to go back. It takes longer to do that instead of just have a <a href="" target=blank> but it looks better.

09-27-2004, 07:31 PM
I appreciate your thought but the pages that I want to open in a new window are on sites that are not part of mine so I don't have control over their content at all.

09-29-2004, 11:54 AM
hi there you can use frames fro opening sites other that user
top farme will be your own page having back link on it and bottom part of frame will hv the other site

<FRAMESET cols="20%, 80%">
<FRAME src="yourpage.html">
<FRAME src="othersiteurl">

you can try this