By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,962 Members | 1,889 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,962 IT Pros & Developers. It's quick & easy.

How to prevent a new browser window from opening

P: n/a
I'm creating a site for the village where I live: www.nutteln.de. On
the "Postermuseum" page, I have a link "Weitere Poster", which should
insert new content on the page. However, clicking the link opens a new
browser window. How should I amend the code to load new content into
the existing page? Thanking you in advance for your help!
John
Apr 11 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
On 11 Apr, 09:28, visi...@soon.com wrote:
I have a link "Weitere Poster", which should
insert new content on the page. However, clicking the link opens a new
browser window. How should I amend the code to load new content into
the existing page?
Replace
<a href="http://..." target="_blank">

with
<a href="http://..." >

You're also using frames which might make things more complicated
(don't use frames!). Without target, the link will open in the same
window. You might require it to open in the same frame instead, in
which case still keep
<a href="http://..." target="name-of-the-target-frame" >

Where the frames name is set in the name attribute of the relevant
frame
<frame name="name-of-the-frame" >
Apr 11 '08 #2

P: n/a
On Apr 11, 12:48*pm, Andy Dingley <ding...@codesmiths.comwrote:
On 11 Apr, 09:28, visi...@soon.com wrote:
I have a link "Weitere Poster", which should
insert new content on the page. However, clicking the link opens a new
browser window. How should I amend the code to load new content into
the existing page?

Replace
* * <a href="http://..." target="_blank">

with
* * <a href="http://..." >

You're also using frames which might make things more complicated
(don't use frames!). Without target, the link will open in the same
window. You might require it to open in the same frame instead, in
which case still keep
* * <a href="http://..." target="name-of-the-target-frame" >

Where the frames name is set in the name attribute of the relevant
frame
* * <frame name="name-of-the-frame" >
Thanks for your rapid reply Andy - problem solved!
Best wishes,
John
Apr 11 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.