testtestHome

Quand le HTML prend un coup de vieux…

12.10.2006 par Mich

En HTML, on peut définir une cible qui dis que le lien s’ouvrira dans la fenêtre actuelle, dans une nouvelle fenêtre, dans la fenêtre qui est le parent,… mais impossible de dire que le lien doit s’ouvrir dans un nouveau tab, a moins que vous êtes un de ces inconditionnels qui utilise Opera ou qui a configuré son browser d’ouvrir les nouvelles fenêtres dans un nouveau tab. Bref, l’auteur de la page n’a aucun moyen de forcer ceci.

Peut-être serait-ce une chose a inclure dans une prochaine version du XHTML ? Peut-être que l’arrivée de IE7 et la quasi généralisation du tabbed-browsing y changera quelque chose ?

(je sais, c’est un billet dont la majorité d’entre vous en a rien a foutre, je vais de nouveau me faire fusiller par quelques uns d’entre vous mais il résulte d’une réflexion et frustration que j’ai déjà eue plusieurs fois et puis merde je n’ai pas a me justifier)

tags: . |
On peut associer la question aux recommandations à propos de window.open en javascript : http://developer.mozilla.org/en/docs/DOM:window.open#Usability_issues

En fait, ils vont jusqu'à décourager l'usage du. L'argument: c'est l'utilisateur qui doit décider du mode d'ouverture des pages. Bon, c'est un peu extrême.

À mon avis, un jour cette fonctionnalité existera en javascript ( ... c'est peut-être déjà le cas ? ), et il faudra, comme d'habitude, produire du code qui 'échoue en sécurité' ( traduction libre de 'fail safe' ) et exécute l'appel adapté en fonction du browser ( car à n'en pas douter, il existera encore des différences juste par principe de faire chier son monde, comme l'XMLHttpRequest .. ). J'ai pas l'impression qu'ils se risqueraient à l'évolution des standards xhtml : c'est un processus terriblement lent et à vrai dire, j'ai l'impression que c'est le genre de question qu'on essaie de sortir du modèle, par cohérence et 'propreté' ( mais un manque absolu de pragmatisme, bien-sûr ... )
(et tu as bien raison de ne pas avoir à te justifier )
tu as bien raison de te justifier sur le fait que tu n'a pas à te justifier
aiki> un truc a ajouter est aussi la facon d'inclure un CSS. La ou tu va inclure un javascript du genre <script src="blabla.js"></script> tu dois afin de faire pareil avec un css faire tout un truc avec <link rel="stylesheet" href="blabla.css">

mapei> (merci )

cotontige> merci
Je préférais quand tu parlais de Javascript
et moi par bio (12/10/2006 @ 21:51)
je préférais quand y avait la photo de toi bébé
Tchorski (12/10/2006 @ 21:55)
Je suis d'accord avec Bio
Et moi quand tu parles de PHP ou de Daerden ...

Rien à voir, mais personne n'a trouvé la vidéo de la Joyeuse Entrée de notre amie Laurette de ce dimanche soir ?
Aiki, mich par PaKaL (12/10/2006 @ 23:12)
Il existe en effet une hack jscript qui permet de détecter les tab et de faire l ouverture des page dans ces tab...

Je suis tombé un jour dessus en testant un Netscape (ouais je sais...) et à cette époque je me suis dit, merde un jscript je vais attendre un tag reconnu...

Aujourd'hui je regrette de n'avoir jamais copié ce script... une tite recherche google (code)?
> Bref, l’auteur de la page n’a aucun moyen de forcer ceci.

C'est précisément le principe sur lequel sont basés tous les navigateurs à onglets : redonner le pouvoir au visiteur sans que l'auteur de la page ne puisse forcer quoi que ce soit.

Même les auteurs d'IE 7, pourtant habitués à inventer des trucs genre scrollbar-highlight-color, se sont prononcés contre une telle valeur d'attribut. Voir "Keeping the user in control" dans un des premiers messages de leur blog : http://blogs.msdn.com/ie/archive/2005/05/26/422103.aspx
PaKaL> Rhaaaa dommage, ça aurait pu être utile. Je ferais une petite recherche demain matin, merci pour le tip en tout cas.

"Netscape (ouais je sais...)" -> Je ne juge pas, j'ai bien utilisé Opera pendant quelques temps

Benoit> Ok, je comprends, perso quand je veux ouvrir dans un nouveau tab je clique sur le lien avec la roulette de ma souris et sur shift quand je veux dans une nouvelle fenêtre. "Keeping the user in control" -> marrant d'entendre ça de gens qui travaillent sur IE
Il faut dire que quand c'est moins le bordel pour retrouver les fenêtres appartenant à une même application, les tabs sont beaucoup moins indispensables. ça ne me manque pas dans safari. Et je ne parle pas d'un infâme regroupement des applications dans la barre de tâche : pomme-< passe d'une fenêtre à l'autre de la même application, et exposé permet de visualiser toutes les fenêtres d'une application en 'dézoomant' ( http://www.apple.com/macosx/features/ expose/ ). Il me suffit de glisser le curseur en bas à gauche.
Les liens qui s'ouvrent dans une autres fenêtre/onglet : CESTMAL
Bien d'accord, je trouve que ce serais un plus dans une page HTML.
[...]just beneath, are numerous totally not related sites to ours, however, they are surely worth going over[...]…
[...]Here is a Great Blog You Might Find Interesting that we Encourage You[...]…
Right on the target, excellent.
Interior Doors - Digg (07/12/2011 @ 15:28)
While checking out DIGG yesterday I found this
[...]always a big fan of linking to bloggers that I love but don’t get a lot of link love from[...]…
[...]if you want to read a little bit mоre however recommend the following[...]
[...]What are yоur favorite websites and blogs specializing іn reading аnd literature?[...]
[...]just below, are some totally unrelated sites to ours, however, they are definitely worth checking out[...]
[...]below are several hyper-links to webpages which I link to seeing as we think they will be worth visiting[...]
[...]here are some links to sites that we link to because we think they are worth visiting[...]…
[...]here are some links to sites that we link to because we think they are worth visiting[...]…
[...]although websites we backlink to below are considerably not related to ours, we feel they are actually worth a go through, so have a look[...]…
[...]although websites we backlink to below are considerably not related to ours, we feel they are actually worth a go through, so have a look[...]…
[...]usually posts some very interesting stuff like this. If you’re new to this site[...]…
[...]very few websites which mіght be detailed below, in оur perspective аrе undoubtedly worth checking out[...]
[...]blow are some sites that we think it will be worth your time[...]
[...]the following are several web links to online sites that we connect to for the fact we feel they are truly worth visiting[...]
[...]Here are some of thе sites we recommend for thе visitors[...]
[...]here are some links to sites that we link to because we think they are worth visiting[...]
The Truth behind Television Replacement Lamps.
Keep working ,terrific job!
[...]here are some links to sites that we link to because we think they are worth visiting[...]
[...]although websites we backlink to below are considerably not related to ours, we feel they are actually worth a go through, so have a look[...]…
[...]The information mentioned in the article are some of the best available [...]...
[...] below you will discover the url for some websites that we think you must see [...]
All in one place solutions for all your TV lamps needs.
supplements vitamins - Links (17/12/2011 @ 13:26)
[...]Sites of interest we have a link to[...]…
[...]although websites we backlink to below are considerably not related to ours, we feel they are actually worth a go through, so have a look[...]…
[...]here are some links to sites that we link to because we think they are worth visiting[...]…
h3 hid kit - hid conversion (19/12/2011 @ 07:29)
[...]while the sites we link to below are completely unrelated to ours, we think they are worth a read, so have a look[...]
This is clearly a top blog posts I have glanced over in the past few days.
[...]Here is а fantastic Blog You wіll prоbablу find Interesting that individuals Encourage You[...]
[...]nods across Nutpaw and smile widens[...]
[...]usually posts some very interesting stuff like this. If you’re new to this site[...]…
windows 8 - windows 8 (25/12/2011 @ 07:11)
This was a super article. I really enjoyed it and feature recommended it to all of my readers.
Helpful information. Fortunate me I discovered your site by chance, and I am stunned why this accident did not took place earlier! I bookmarked it.
[...]Diana-ii think that the most difficul i am chemicals a baby desing..[...]
I like to look around the web, often I will just go to Stumble Upon and read and check stuff out
Including Blinds, Shades, Shutters and Draperies. Serving Fairfax Virginia.
Huper Optik Ceramic Window Films are low glare and block over 99% of harmful UV Rays.
Oak Interior Doors - Wikia (28/12/2011 @ 16:22)
Wika linked to this place
[...]the time to read or visit the content or sites we have linked to below the[...]
[...]underneath are a couple of references to sites I always link to for the fact we feel these are well worth browsing[...]
[...]I should say for me is also hard the[...]
While I was browsing today I saw a excellent post concerning
[...]there ! its the height 1 all of us take to burn XD[...]
I saw this really great post today.
[...]the time to read or visit the content or sites we have linked to below the[...]
[...]listed here are a few listings to web-sites which we connect to as we feel they are worthwhile browsing[...]
nice job Thanks for making time to post this info on this website please keep bring more thanks be back soon
Lacoste Shop - Air Max 2011 (18/01/2012 @ 05:27)
[...]I think conscience is also our interior selves striving in front of recommend to us good from evil.[...]
i had to comment best site
I was reading the news and I saw this really interesting information
I want to say fantastic blog gamevui
I want to tell best site truyen la
I had to comment over here fantastic blog bongda bong da xaluan
I want to tell here fantastic blog truyen tranh xaluan
[...]Wartrol genital herpes symptoms[...]
below you’ll find the link to some sites that we think you should visit
wartrol - wartrol genital warts (11/02/2012 @ 00:03)
[...]Wartrol Scam genital warts start[...]
Doors Norfolk - Dreary Day (15/02/2012 @ 18:02)
It was a dreary day here yesterday, so I just took to piddeling around on the internet and realized
Roman Blinds - Tumblr article (16/02/2012 @ 17:39)
I saw a writer talking about this on Tumblr and it linked to
[...]here are some sites that we think it will cool you down[...]
[...] that is the end of this article. Here you’ll find some sites that we think you’ll appreciate, just click the links over[...]…
[...] Every once in a while we choose blogs that we read. Listed below are the latest sites that we choose [...]…
[...] Wonderful story, reckoned we could combine a few unrelated data, nevertheless really worth taking a look, whoa did one learn about Mid East has got more problerms as well [...]…
[...]right here are some listings to web sites I always connect to seeing as we believe they are[...]
This is the correct blog for anybody who wants to find out about this topic. You realize so much its virtually arduous to argue with you (not that I truly would wantIaHa). You undoubtedly put a new spin on a subject thats been written about for years. Gre
Men Shoes - Shoes Womens (14/04/2012 @ 19:35)
The other day, while I was at work, my cousin stole my apple ipad and tested to see if it can survive a forty foot drop, just so she can be a youtube sensation. My apple ipad is now broken and she has 83 views. I know this is completely off topic but I ha
[...]listed here are a handful of url links to web pages which I link to since we feel they will be well worth browsing[...]
[...]the time to read or visit the content or sites we have linked to below the[...]
[...]here are some links to sites that we link to because we think they are worth visiting[...]
Laisser un commentaire
  • Nom *

  • Email *

  • Homepage

  • Commentaire *

  • * = champs requis


  • Je suis amnésique