Slashdot Mirror


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."

27 of 278 comments (clear)

  1. Neither "multi-target" nor "for the masses" by Anonymous Coward · · Score: 5, Interesting
    This is yet another Slashdot submission by an author whose creation doesn't even come close to living up to his hype....

    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:
    This is fully supported under Mozilla Firefox, but only partially under Internet Explorer.
    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 ...> tag so that the user gets a useless tooltip that is a list of a bunch of URLs which cannot be copied or edited or clicked on, so doesn't support going to any of the links at all. Instead, clicking on the link goes to a page to edit the links in the Wiki. Far more people read wikis than edit them; this should not be what happens. Yes, you can then click through to them from the editing page, but we need a second page just to be a raw list of URLs? WTF? And even under Firefox, where the "multi-target hyperlink" feature supposedly works, you just get a popup list of raw URLs. How are you supposed to know what each of them is and which you should go to? That's why a normal, well-implemented menu has actual text, not just raw URLs.

    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.
    1. Re:Neither "multi-target" nor "for the masses" by ccarson · · Score: 4, Interesting

      Is it just me or have long, elaborate, thought out first posts become more prevalent on slashdot lately? Is this shit rigged? Whatever happened to the one guy who waits for a new story to post and quickly posts a, "FP"?!?!? Don't get me wrong, I like reading a first post with well thought out ideas but I'm starting to believe that these first posts are inside jobs. Oh, and for the record, I'm a former tin foil hat brigade member.

    2. Re:Neither "multi-target" nor "for the masses" by cytoman · · Score: 4, Funny

      Become a paying subscriber to Slashdot, and you, too, will get the privilege of reading the stories before they are posted. Then, you can also have the luxury of sitting back and penning a well thought out "first post".

    3. Re:Neither "multi-target" nor "for the masses" by AKAImBatman · · Score: 5, Funny
      Err... one bug fix:
      popup.innerHTML = "";
      for(var i=0; i<array.length; i++)
      {
      popup.innerHTML += "<div><a href="'+array[i]+'"></a></div>
      }
  2. Multiple first post by huge · · Score: 5, Funny


    Next: Slashdot featuring multiple first post.

    --
    -- Reality checks don't bounce.
    1. Re:Multiple first post by Tackhead · · Score: 4, Insightful
      > Next: Slashdot featuring multiple first post.

      And for our next attraction, a little DHTML hack to make each Slashdot story pop up the URLs to all its duplicates!

      Quoth the author:

      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.

      WTF? Am I getting cynical, or are these "multilinks" the least-useful thing I've ever seen?

      To use the poster's example, OCP can for "Omni Consumer Products", but can also stand for "Oracle Certified Partner". If you're writing a review of the movie Robocop, and you can't be bothered to link to the page that defines it as "Omni Consumer Products", I probably don't want to read any further.

      Context-sensitivity is a good thing.

    2. Re:Multiple first post by lawpoop · · Score: 4, Interesting
      For most links, a single references is all that's needed. However, for a site like Wikipedia, a lot of links take you to a disambiguation page, which links to different entries for different meanings of a word.

      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?

      --
      Computers are useless. They can only give you answers.
      -- Pablo Picasso
    3. Re:Multiple first post by moonbender · · Score: 4, Informative

      Regarding the disambiguation pages, that is exactly the example the original poster referred to: on a Wikipedia page, linking to a disambiguation page is usually not the right thing, instead you want to link to the actual page relevant to the article. That is, on a page on chemistry, you might want to link to Atomic orbital while on a page on electronic music you might want to link to Orbital (band). In neither case you should link to Orbital, which is a disambiguation page, or "multi-link" to all of them because the band Orbital isn't really relevant in the context of chemistry. This is what the original poster refers to as context sensitivity.

      --
      Switch back to Slashdot's D1 system.
  3. small time story by SolusSD · · Score: 5, Insightful

    this sure is a small time story for a website like slashdot. can i post up little odd-end hacks i've created? ;)

  4. I like the old style by cybersaga · · Score: 5, Funny
    1. Re:I like the old style by cached · · Score: 5, Funny

      All of those [slashdot.org]s next to your links make your post look more like subliminal advertising than it should.

      --
      +1 funny, -2 overrated. Life isn't fair.
  5. That's great by roman_mir · · Score: 5, Funny

    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.

    1. Re:That's great by Rosco+P.+Coltrane · · Score: 4, Funny

      Now /. readers will be able to /. not just one website with a single click, but many websites also with a single click.

      I believe the Slashdot way of handling multilinks is to repost the same story (called "dupes") and changing link targets in each "dupe"...

      --
      "A door is what a dog is perpetually on the wrong side of" - Ogden Nash
  6. Multiple-Target Hyperlinks for the Spammers by intmainvoid · · Score: 4, Insightful

    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.

  7. It doesn't have to be that complicated by Kainaw · · Score: 4, Interesting

    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.
  8. Misleading by alfrin · · Score: 4, Insightful

    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.

  9. Not to be negative, but... by deemaunik · · Score: 4, Interesting

    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?

  10. Not IE compatible? Congrats, 80% ignores you. by jleq · · Score: 5, Insightful
    I may not like Internet Explorer, but it's just plain imprudent to *not* support it.
    My multilink plugin code adds full support for this feature to Firefox browsers, but only partially to any recent versions of Internet Explorer due to its CSS implementation shortcomings (full support may be upcoming if there is any users demand)
    Uhhh... try 80% of all internet users? We're not going to get the average 'net user to switch to Firefox by pissing him/her off with incompatibilities. What happens when a media item that I want to watch is only available for realplayer? I don't watch it.
  11. Firefox already supports multi-link bookmarks by jeddak · · Score: 4, Informative

    ...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.

  12. Better done in Markup by kalidasa · · Score: 5, Insightful
    What we need is to add multilinking to XHTML, and get Mozilla, Safari, and IE to support it.

    [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.

  13. Re:Neither "fish" nor "flesh" by ear1grey · · Score: 5, Insightful

    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.

  14. I've seen these before... by jim_v2000 · · Score: 4, Funny

    I believe they're more commonly referred to as "Menus".

    --
    Don't take life so seriously. No one makes it out alive.
  15. Dear editors... by jlarocco · · Score: 5, Insightful

    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.

  16. This is useless. by clandestine_nova · · Score: 5, Insightful

    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.
  17. Mod Points by ear1grey · · Score: 4, Interesting

    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?

  18. In-browser function by phorm · · Score: 4, Interesting

    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.

    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 /w tabs, is there a spec)... but it would be a neat concept for future features to fully integrate the power of tabbed browsing.

  19. No. by wandernotlost · · Score: 4, Insightful
    A properly defined standard and a browser plugin would make this idea go much farther.

    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.