PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.info.authoring.html > How to prevent a new browser window from opening
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
How to prevent a new browser window from opening

Réponse
 
LinkBack Outils de la discussion
Vieux 11/04/2008, 09h28   #1
visitme@soon.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut How to prevent a new browser window from opening

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 !
John
  Réponse avec citation
Vieux 11/04/2008, 11h48   #2
Andy Dingley
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to prevent a new browser window from opening

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" >
  Réponse avec citation
Vieux 11/04/2008, 12h06   #3
visitme@soon.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to prevent a new browser window from opening

On Apr 11, 12:48pm, Andy Dingley <ding...@codesmiths.com> wrote:
> 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
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 00h15.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08443 seconds with 11 queries