Multiple-Target Hyperlinks for the Masses
DukunSakti writes "For a long time people have talked about getting browser support for multilink feature. A multilink is a link that points to more than one targets. It's useful because many times a single target is not sufficient to describe a link. Wikipedia has numerous examples of acronyms and abbreviations that expand to more than one term. Well, I got sick of waiting, and so I wrote a plugin for the excellent Wiki application PmWiki that adds the multilink feature. This is fully supported under Mozilla Firefox, but only partially under Internet Explorer."
In fact, it is seriously misleading. It's not a new innovation; it's just a DHTML popup menu, which many other people have already implemented, and far better. Better how? Well, DukunSakti writes:No, actually with his code it's not supported at all under Internet Explorer. All it does is set the "title" attribute in the <a
Claiming that these are "multiple-target huperlinks for the masses," is quite inaccurate, considering that (unfortunately) 80%+ of people are still using Internet Explorer, and that for everyone else they are just presented as raw URLs. Essentially this makes this plugin completely useless. You can't ignore IE unless your wiki happens to be something like a Firefox support wiki. It's true that it's unfortunate that IE doesn't adhere to the web standards nearly as well as other browsers, but for now, the majority rules. There are plenty of web programmers who have found clever ways to do popup DHTML menus (which is all that this is) that actually work in both Firefox and IE; follow the link at the beginning of this post for a whole slew of them.
Source code available maybe?
Next: Slashdot featuring multiple first post.
-- Reality checks don't bounce.
this sure is a small time story for a website like slashdot. can i post up little odd-end hacks i've created? ;)
I'd rather use the old way of linking multiple pages.
Web Design Tips
Now /. readers will be able to /. not just one website with a single click, but many websites also with a single click.
And BTW, be careful of Jeff Bezos coming right after you for this obvious - Single Click Amazon IP violation.
You can't handle the truth.
When I read the intro text I thought "this is stupid", but try the demo. It's actually pretty cool. I predict this to become standard very soon.
How bout a comma seperated list of hyper links - really multi-links bah. and really use the presentation layer to support this - thats a good idea.
From the comments above it looks like this doesn't really do what it say, but just as well. It'd take spammers/porn site webmasters about 2 seconds to have us opening 500 windows with a single misplaced click.
Drag n' Drop DVD Recommendations
While this is cute, I wrote a highly similar script in JavaScript. It takes one button and expands it out (like flower petals) into multiple buttons. http://shaunwagner.com/projects/js/flowerButton.ht ml
As you can see fron the JavaScript, it is actually a rather simple task to position the buttons in a circle or in a simple box as this article's example does.
The previous comment is purposely vague and generalized, but all of the facts are completely true.
already patended this back when they patented everything else..
-Lod
*sigh*...yet another example of someone who types before he thinks.
The article Title + Summary make it seem like this guy has used some new sort of mark up previously untapped. Not only has it been done but its just DHTML built into a Wiki like context. Come on, this isn't a site for little nifty hacks, its for news.
Would this not pose a big security risk? Couldn't this mean that it is possible that one link would open a number of useful targets and then have a malicious target buried among them? Or would this mean that every link could carry advertisement link with every click?
Does anyone else see the opportunity for abuse with this? Such as the dreaded autopopup when you close a window, and endless loops of crap?
You mean switching to the bugfix release of the bugfix release (i.e. FF 1.0.6)? Yeah, sure.
Ok, this is entirely OT but it must be said.
FFS SLASHDOT if you're going to link to stuff host your own mirrored copy! I'm sick of seeing awesome links on here that essentially get DDOSed because you link to them.
I mean honestly, would it kill you to use up an extra few megs of bandwidth a month even to host a text copy!?
The implementation is actually just a CSS hack. What I would like to see is an html/xml markup that can be put into your source code, and which is part of the html standard. This is a very cool *idea* mind you, but something a little more practical would be an easier way to implement this on the fly.
distribute the /. effect
...in the Home Page URL in Preferences (or Options, depending on your OS), you can specify a multi-URL home page. The multi-URL format used is just pipe-delimited URLs (e.g. URL1|Url2|URL3...etc.)
Each URL is then opened in a separate tab. Very nice. More universal support for multi-links would be great.
Awsome! Now I can spam two sites with just one link tag.
Moderators are getting pretty desperate hmm...
[a type='multilink' href='http://www.slashdot.org/defaultlinkfornon multilinkbrowsers']
[linkoption href='http://www.slashdot.org/firstlink' title='This is the first link']
[linkoption href='http://www.slashdot.org/secondlink' title='This is the second link']
[linkoption href='http://www.slashdot.org/thirdlink' title='This is the third link']
This is the text inside the link
[/a]
and have this appear as a small dropdown list below the link when you click the link.
What the guy has done, is just create one of those JavaScript menus. He didn't even do a good job of it. Just google for JavaScript menu and you'll find a number that work in all the major and most minor browsers.
What are the /. editors smoking?!? It is time for new editors. Dup posts, pod slurping, what's next?
The links aren't accessible at all via the keyboard in FireFox (not even the first link!).
So you can tell this is a lone coder who has never heard of accessibility for disabled people using websites. In the UK there is a new Disability Discrimination Act, and I guess the US probably has something similar.
(Not disabled myself, but I have been known to use the keyboard occasionally - mainly when I've just installed a PC, to try & figure out why the mouse doesn't work...).
For a long time people have talked about self promotion on Slashdot. Self promotion its like a press release and usually involves some pet project that would most likely dwindle quietly into obscurity, but instead, has a fleeting shimmering moment in which to be globally lambasted.
boakes.org
Great, now instead of opening one pop-up a link will be able to open a hundred. Just what we need.
Temporarily forgetting about IE for a moment, a feature like this would only really be useful to me if I had the option (in the configuration or what not) of having the multi-links open multiple tabs (or new windows for ie). Possibly give people a warning as to how many tabs would be opened and letting them cancel out if they wished. Just a thought.
Multi-link this!!!
maybe he should try to get the skill of "one target" hyperlinks first?
twitter.com/gravitronic
IMO this is a bad idea. i don't want this integrated into the browser, i think it would open alot of abuse problems. how would you like it if every link started opening 10-20 windows? thats excessive, and annoying. even if it was in firefox, where they are tabbed. i would rather click on a link, and get directed to that one link. This is one of those cases where the original technology is perfectly fine the way it is. Need multiple links for something? USE MULTIPLE LINKS THEN :) its that easy, and you don't confuse or annoy the person clicking them.
That seems super annoying...
:(){
I believe they're more commonly referred to as "Menus".
Don't take life so seriously. No one makes it out alive.
Ever noticed either of those check boxes on the submission form?
Click on a multilink, you get a new browser window, and each of the targets are in a separate tab. That's how I would like to use it, at least. Should be trivial in javascript.
Add whatever support you want, but make sure I can turn it off so I don't click on a link to get 50,000 other advertizement pages.
I can see the advantages of this right away. I can also see the problems this will cause. I choose not to participate.
See the Pictures of the Flood of '08
An examination the page source reveals that the trick relies on invalid HTML. It puts an unordered list inside a span, which is a no-no. Inline elements can't contain block elements.
Disappointing.
And I have a multi-link to my home page.
... ... ...
...
A page for Leanne,
a page for Thomas,
a page for Christy,
a page for (shuddering) JIM,
Hold on, I'm not done switching into my 12 different personalities...
a page for
This biatch deserves to be lambasted. But, I can't blame someone for trying to stake a claim to fame, even if their idea is lame. I can on the otherhand blame the editor for posting a lame ass self promotional POS article. It is the editor that really deserves the lambasting!
Lambaste away!
It would also allow different link types within the same link - regular http, magnet and torrent links all within the same physical URL. If the weighting was zero, that link would only be tried once all the others fail - and would provide automatic client-side failover from the regular http address should the original server go down.
And a right-click in the browser would include a list of the alternative addresses so the end-user could manually choose a particular URL. I'd suggest a double or dotted underline to differentiate these types of links from regular ones.
This would be an easy way of client-side load distribution and help to get more robust download protocols (eg: p2p magnet) more actively involved in doing what they do best - distributing large files.
But this sort of thing is easily done in Javascript of course, so while neat, probably isn't worth building into the browser.
This is something pretty surprising, I haven't run into one of these for a long time, and last time it was with IE... something that only appears to work in one of the browsers I use. Totally fails in Opera, making the link unusable, and from what I read in other comments, more or less the same thing happens in IE.
The only reliable way I know of to open many links from one is by using bukster style links. check out Ben Godgers firefox plugin called Magpie. It supports this link style.
Dear editors:
If Donald Knuth, Linus Torvalds, or some other famous developer submits an article about something cool they're making, people might care. But nobody cares about some dumbass' broken firefox plugin. The advertisements here are supposed to be the banner ads, not the articles.
Thank you.
Maybe not
1. A mutli-link is not intuitive...One click, one window, one location is the way it should be.
2. A multi-link is asking for abuse the same way java script opening windows is asking for abuse.
Please, don't push this on the poor users.
Seriously, is it *that* slow of a news day? This hack is neither well-implemented nor does it have any real use. The example the author mentioned doesn't even make sense, because links are not, and never were, supposed to work like that - they don't make sense for multiple targets, as that is a page design decision, not a DOM decision. This so-called multi-linking is silly, semantically nonsensical, and simply adds bloat to otherwise clear pages.
Discworld.
Mod this down as offtopic or flamebait as you see fit, but /. should allow moderators to mod the orignal story post itself.
I find this story:
1) Interesting
2) Funny
3) Informative
4) Entirely misrepresentitive of the underlying story
4) Shameless self-promotion of an un-original idea that doesn't really work
5) Shameless self-promotion of lame artwork involving recycled hardware
Just like the so-called 'fancy radio buttons' article from last week, this is yet another useless solution to an already solved problem.
Simple solution:
A list of links. Generally a bulleted list.
The problem with both this multilink thing, and the fancy form buttons, is that they are NOT accessible to anyone using a screen-reader, older browsers, lynx, and sometimes keyboard navigation.
I can't see the code in action, but my guess is that you need a mouse, and to be able to 'see' the menu in order for it to work.
With most of the work I am doing recently, I have to make my sites and web applications as accessible as possible to individuals with disabilities.
Yeah, I used to be one of those people who didn't care, but with only a small change in coding style, and decent markup, making an accessible site really is not that hard.
How timely, I have mod points: can someone please invent (and then shamelessly self-promote) a plugin that lets me mod the parent story down?
boakes.org
Sorry, but PmWiki is not excellent. If you hadn't slashdotted it's site, we could have looked up the insane instructions to password-protect page editing. Let me just quote from the Google cache: "the username field usually isn't used by PmWiki". Note the 'usually'.
I must confess, it was I that started same. Oh my name is shame.
An examination the page source reveals that the trick relies on invalid HTML. It puts an unordered list inside a span, which is a no-no. Inline elements can't contain block elements.
You hit that nail right on the head.
-kgj
-kgj
Section 508 is what you're striving to get out :)
...you insensitive clod!
Slashdot should act as a filter against this kind of crap, NOT A PROMOTER OF IT. If you view the source you can see it's just a freakin DHTML popup.
Do the people posting these stories even know how to program?
...4 paragraphs long and actually interesting and relevant. Something fishy is going on here. 10,000 people could have posted "first post" in the time it took to write that comment. Let's see, maybe I missed something...no, I'm browsing at -1 so I see everything. I declare you are a cheat! You must have a time machine, or you've colluded with the person who posted the story.
Doesn't it make you feel good to know that our freedoms are protected by politicans, lawyers and journalists.
I browsed the page with Opera and saved it locally in FF -- I hate it when they do that!
Multiple links are not sufficient to point to a single target. Often there are several words highlighted in a sentence, any of which have an equal chance of being "the article" due to the hyperlinking of articles and other common words. I might want to read all of them for context, but I might not be interested in the sidetracks the summarizer thinks are relevant or funny.
Can you be Even More Awesome?!
What the guy has done, is just create one of those JavaScript menus
Really? I have JavaScript turned off and it still works...
div.multilink {
height: 1em;
overflow: hidden;
}
Once again Open Source proponents give Microsoft Users the Big Finger. Just because they can. "...if there is demand..." I don't know I would call more than 80% of the internet populace sufficient demand to implement a very small nugget of code to give full functionality. This doesn't exactly look like a breakthrough code snippet anyways, The idea of a drop down box on hover for several options is clever but doesn't really involve more than about 15 lines of CSS, plus another 15 for IE support, matter of fact I guarantee you that IE support could be added, without the creator even having to write any code on his own.
Ive seen so many DHTML hacks arround the net, that I can simply asure you that someone will come up with a propper workarround so that your dumb workarround idea to11, 22, 33, is fully supported under Mozilla (and friends), IE, Opera, Webcore, KHTML, etc, etc, etc and what not.
/script
..go read cosmopolitan or something lol
I just dont understand why you cant simply make it a small library to be included in any page and called with javascript so that it is widespread and not leace it stuck to a weird wiki only module, WTF is wrong with my own php coded micro app?
LINK REL="Multilink" TITLE="Multilink" HREF="/Multilink.css" TYPE="application/rss+xml"
script type="text/javascript" language="javascript"
src="Multilink.js"
After this code you could do someting smarter with a couple javascript document.write things so that, if javascript is enabled show your fancy popup window BUT if there is no javascript then an user will simply see plain old html links.
so the real question is: why the F*ck is it so urgent to completely outdate old and not-so-old browsers all of the sudden? gees!
Get a life!
*shudders at the thought of a link containg both Goatse and Tubgirl*
This wouldn't work well with the example you mention, Wikipedia. Most people access Wikipedia articles through the search box, and with this plugin installed you still get fowarded to a disambiguation page. Not terribly useful IMO.
First, for the obvious: it's not a multi-target hyperlink, it's a dropdown. However, the idea of dropdown-select style hyperlink isn't a bad one... perhaps something that could be included in an HTML spec for the future.
/w tabs, is there a spec)... but it would be a neat concept for future features to fully integrate the power of tabbed browsing.
At first though, I thought that this would be for a hyperlink that opens multiple locations (best-served with tabs). This would have the potential to be really annoying in the case of popup sites or if some bozo linkbombs you, but with most browsers in the future supporting tabs it does have promise. Simply have the link open multiple tabs, and then have a browser-setting that can determine how many tabs can be opened by a single link, or give a warning if over the limit.
For example, you could have a "news" link that opens several news pages, or something of the like. This can also likely be accomplished with JavaScript (though I've never tried JS
...their mouse only has one button.
there's no place like ~
A multilink is a link that points to more than one targets.
Meh, looks like editors can't tell the difference between one and many.
Why would anyone put two URLs under a single link? Isn't it the point of a link to be an abstracted method of invoking a URL, with link text for context? You're not supposed to *see* the URL.
This method just pops up a bunch of confusing as hell URLs whenever you mouse over a link without any kind of description. What about the massively cryptic URLs that e-commerce sites create. How am I supposed to pick from a list of those?
I think this entire idea is based on bad assumptions.
(Not to mention that the fancy gradient feature on the list of choices darkens some of the links to near unreadability.)
vk.
I have to say that sometimes, I see an inetresting story early (being a subscriber) and really do sit down and work a thoughtful response even before it becomes available to the public. I don't think I've ever got FP (like anyone would really care) but I have got in a pretty early response a few time that was a lot more interesting than most of the other first twenty posts.
I don't do it too often though, as sometimes stories never quite make it to publication...
I think it is a great effect of the subscription system that it lets people craft responses before publication. In fact I'd almost like to see a sort of early "pre-publish" phase where subscribers could post and also score posts (one vote per post per subscriber), with the lowest 50% of the posts being dropped before publication. Then right off the bat you'd have some interesting responses with less noise.
"There is more worth loving than we have strength to love." - Brian Jay Stanley
mabye this could become incorporated into the XLink standard. Using javascript (as previous people have done) seems quite barbaric to me and it looses it's semantics and breaks horribly in a few browsers. Using CSS (what this example does) works well but, surprise, surprise! it doesn't work in IE and it still doesn't quite have the proper semantics.
This the first thing I thought of after reading the article.
This technology only opens up many doors for advertisers to more easily piss people off by flooding them with popups.
Sure the technology already exists, but once it is easier to be annoying, there will be more and more idiots using it.
Also, for a reference site like Wikipedia, where there are a lot of links sprinkled throughout an article, would it be nice to have links to Palace and Westminster included in the link to Palace of Westminster?
Both Palace and Westminster are linked from their use in context on Palace of Westminster.
Wow, I could swear your post is attacking Kainaw ("Or did it become to comlicated to implement for you?")! On the ofchance that this is actually (!) what you intended to do, I would like to remind you that the modification you requested is a simple matter of user preferences, and in no way reflects upon Kainaw, except that he prefers clicking to hovering, and that he cannot read you mind.
As for your suggestion that this would be a complicated change, try changing the line that reads "this.element.onclick = function()" to "this.element.onmouseover = function()", in the file "kfb.js". Based on this code, I seriously doubt this would be beyond the scope of incredibly easy implementation for its author.
~nog_lorp
Please no. Kill it now. Seriously, this is just another really bad idea that seems sort of neat that will make the web harder to use, like embedding your entire website in a flash animation. *shudder*
Here's why: Do you really think that a disambiguation entry that takes up a whole page in wikipedia is better expressed by a little popup window that you won't even see unless you move your mouse over the link? It's just more information that won't make it into search engines, that will confuse users, and that will encourage designers to produce websites that are difficult to navigate. Did you notice that with all that fancy multi-link functionality, the author didn't manage to link to a single other source that thought this was a good idea? Really, folks, it's not that hard to just add a footnote or parenthetical remark (see also fake links), and doing that is so much easier on the reader.
Stop making it so damned hard to get useful information out of a website!
Thank you.
P.S. I'm not kidding, just take that idea out into your backyard and bury it deep under the ground where no one will find it. I know, you're thinking, "Ooh, but it would be kind of cool if it were just integrated into the browser and you'd just get a nice list of links to click on." No. Just think of all the information that you'd need to present to the user to help her decide which one to pick. It just doesn't work in a little popup. Here, I'll get the shovel.
Then how about something simple. Like being able to assign different actions(i.e. locations) for different buttons with the same form, without javascript. As a web developer, I can't count the number of hours this would save me. And while I've never written an html parser, I can't imagine this would be too difficult. Wait! I CALL PATENT DIBS!
Give a man a fish and he'll eat for a day. Teach him to fish and he'll wipe out the species.
Ah, multi-target urls? I picture this as clicking 1 link, opening 2 different links; though, drop down menus all over a page could be just as annoying.
I'm picturing yet another feature that will only useful to spam companies. I'd like to throw this idea in the trash next to pop-up(under) windows, blinking text, flash pseudo pop-ups, and the marquee tag.
None of which are bad in and of themselves, just how they are used. All we need now is for wikipedia to turn into an annoying version del.icio.us, with every word linked to search results of that word. (BTW, the link for "that" I believe is the definition of irony.)
Now, imagine this used on a whole page, with each one popping up a list of 20 links. This isn't a new idea, but just the idea of everyone using it just turns my stomach.
I8-D
I, for one, like to see these kinds of stories. The replies are great!
The author describes multilinking as something lacking and almost *necessary* (!?) I don't get that.
Looking at the implementation (yes: i use Firefox, but that's not important now) it's just a pop-up menu of clickable URLs!
Sorry guys, but I cannot see how this is better than "proper" links.
If I need to link to multiple places, multiple <a href="..."> tags will do the trick nicely. Since the links will go to different places, they deserve different textual descriptions and thus different <a> tags. Just giving the user a list of URLs is bad: it is also known as Mystery Meat Navigation [webpagesthatsuck.com]. You need to give people hints about where the link goes - stuff that will actually help in their decision of whether to click this link or some other link. Just the URLs isn't enough - 12 out of 10 people don't understand them anyway.
Using javascript for this is simply evil: It will make the user experience reliant on javascript and thus shut out a large number of viewers. And you have to deal with javascript incompatibilities between browsers too.
And then you suggest making a browser plugin too? Why why on earth why? Should our pages rely on that being installed too? Thank you, but NO thank you.
To cut a long story short (i know: it's a bit late now..) This just re-invents the wheel. badly.
The only possible use I can see for this is for listing mirrors or some primitive form of load balancing. And both of those uses has far better solutions available already...
Multilink allows bad sites to include bad links on their nominal 'good' links. Kinda hard not to click that link when its included as the second link on every one you click.
Yay me!
Forget the unwashed 80%.. I can't get it to work in any of my browsers either (and no, until Firefox fixes the several brain-damaged UI mistakes it has, like a single close button for N number of tabs (wtf??), I won't be switching). If this thing is really Firefox-specific, is anyone under the impression that that is BETTER than being IE-specific? Open-source or not, working in only ONE browser makes it proprietary in my book.
Besides (to the OP), please don't talk about "standards" when you are trying to sell something like this. Go read the *actual* standards (e.g. DOM), and you might have a better idea of the scope for such things.
...when you clearly haven't read them.
That idea is most emphatically *not* cool (or even remotely practical). Modern HTML is a subset of the XML Document Object Model. There is no practical (or, imho, useful) way for the DOM to support multiple attributes of the same name on an element.
Reading and understanding the existing standards, and knowing *why* they are that way, should be a prerequisite for suggesting new ones, or changes (especially grossly incompatible ones like this).
And by the way, fwiw, the way links work now is actually just fine. Kthx.
I also wish people would stop abusing stylesheets to lock fonts at a tiny unreadable size (which you can't scale in MSIE)
If Google really cared they would fix Android Chrome to reflow text, instead of discriminating
Because this is a wiki solution, the targets are stored in a file separate from the context page. The use of a wiki makes it tremendously simple for the end user to define new multilinks and their targets, and also for the web developer to provide and maintain the service--because, as with any wiki, the end users become the maintainer of the context file, the multilinks, and the multilink targets. That is the reason I think wiki is a great platform for implementing multilinks.
Also, each multilink exists as a metafile and has the ability to store numerous other attributes. I'm working on support to record the target contributor's ID, user-voted ranking, and number of click-throughs, to name some useful ones. Also I thought it will be useful, as a proof of concept, to construct a densely linked site on a particular subject, which could demonstrate the usefulness of multiheaded links.
I personally think this is great because this can be used to exercise and test some of the more general hypertext concepts, so we can advance the research effort further with widely available tools.
You don't need to apologize, there is nothing wrong in having a civil discussion on an interesting subject.
Let's be clear, it is about an existing, non-revolutionary concept, that has been around since the 60's.
The particular implementation that I have created *is* a dropdown menu. The same kind that you use everyday for accessing many functions in your computer applications--no new or special knowledge is required to use them. But, unlike the typical use, it is made to show multiple destination addresses for a collection of words that appear in a web page and let you follow the ones that seem interesting. What's cool about this is *not* that it is a dropdown menu--as you've pointed out any twelve year olds can do that--but the kinds of pages that you could now easily create that can contain many of these multilinks. I said easily, because the feature is integrated with a wiki, and so creating a new multilink is a simple act of marking up the sentences minimally. Again easily, because the underlying wiki does the independent maintenance of the targets metafile. You do that with your 12 lines of Javascript code one at a time for a few pages with a few drop down menus, each one unique and arbitarily defined by the web user, and you'll soon discover that you need and want a more manageable method to do it. Which is what this allows you to do.
If you don't see the interesting implications there, then, unfortunately, you're not the right audience for this--and for that, *I* would apologize.
If you do that, you will find this a very useful way to organize your links.
With this, you could have many bookmark menus spread in a page that you author yourself, so that you could put all the appropriate context that you want around the bookmarks.
You'll appreciate the usefulness once you give it a try. PmWiki is a very simple to install, and will run locally on your laptop or desktop if you don't have a server. Believe me, I collect a lot of contextual links myself for a living, because I do a lot of research. And the combination of a wiki and multilinks is tremendously useful.
One more thing...
If everyone insists that being compatible with a broken system is an important goal, then we will never get out of having to write hacks to get a *simple* thing implemented.
We will all be better off standing up and saying, you know what, this does not work well in this environment, so I'll switch and I recommend that you do the same. That's what will change the situation.
Repeating their mantra and saying that we have to follow because they have 80% of the marketshare will simply not help making the situations any better, and will not change the statistics.
Make a difference, be brave, and make a statement about your preferred browser.
Not only that, it works in opera. The menu referenced by TFA hasn't in either of the ones I've used.
... :) But the icons could do with being larger and not mystery-meatish ... (Well, OK, so I recognized most of the icons.. but still. ;))
I liked the radial menu, somewhat
Cool script, though... how well does it degrade?
It onlly happens rarely - mostly what you see is what you get, I wouldn't subscribe just for a reveal of untold story treasures!
I subscribe though just because I still dervive a lot of enjoyment from reading Slashdot and why not support what you like.
"There is more worth loving than we have strength to love." - Brian Jay Stanley