Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. When posting a link

When posting a link

Scheduled Pinned Locked Moved The Lounge
htmlcomtutorialquestion
24 Posts 14 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Just wondering if anyone else hates clicking on a link, only to find the new page opening in the current browser window? This especially annoys me when I am dialled up on a slow modem connection. Although I am a HTML gumby, I do know the trick to opening a new browser window. You need to add TARGET="_blank" after the HREF as in the follwing example. <A HREF="http://www.codeproject.com" TARGET="_blank">The Code Project</A> Hope to find more people using this or any other tricks to open links in a new window. :-D Michael Martin Pegasystems Pty Ltd Australia martm@pegasystems.com +61 413-004-018 "Don't belong. Never join. Think for yourself. Peace" - Victor Stone

    J A Z P M 8 Replies Last reply
    0
    • L Lost User

      Just wondering if anyone else hates clicking on a link, only to find the new page opening in the current browser window? This especially annoys me when I am dialled up on a slow modem connection. Although I am a HTML gumby, I do know the trick to opening a new browser window. You need to add TARGET="_blank" after the HREF as in the follwing example. <A HREF="http://www.codeproject.com" TARGET="_blank">The Code Project</A> Hope to find more people using this or any other tricks to open links in a new window. :-D Michael Martin Pegasystems Pty Ltd Australia martm@pegasystems.com +61 413-004-018 "Don't belong. Never join. Think for yourself. Peace" - Victor Stone

      J Offline
      J Offline
      James Pullicino
      wrote on last edited by
      #2

      It would be nice if all links were automatically converted to that format by CP. Chris? (2b || !2b)

      A 1 Reply Last reply
      0
      • J James Pullicino

        It would be nice if all links were automatically converted to that format by CP. Chris? (2b || !2b)

        A Offline
        A Offline
        Anna Jayne Metcalfe
        wrote on last edited by
        #3

        I'll second that. :-D Andy Metcalfe - Sonardyne International Ltd
        (andy.metcalfe@lineone.net)
        http://www.resorg.co.uk

        "I'm just another 'S' bend in the internet. A ton of stuff goes through my system, and some of the hairer, stickier and lumpier stuff sticks." - Chris Maunder (I just couldn't let that one past ;))

        1 Reply Last reply
        0
        • L Lost User

          Just wondering if anyone else hates clicking on a link, only to find the new page opening in the current browser window? This especially annoys me when I am dialled up on a slow modem connection. Although I am a HTML gumby, I do know the trick to opening a new browser window. You need to add TARGET="_blank" after the HREF as in the follwing example. <A HREF="http://www.codeproject.com" TARGET="_blank">The Code Project</A> Hope to find more people using this or any other tricks to open links in a new window. :-D Michael Martin Pegasystems Pty Ltd Australia martm@pegasystems.com +61 413-004-018 "Don't belong. Never join. Think for yourself. Peace" - Victor Stone

          A Offline
          A Offline
          Alvaro Mendez
          wrote on last edited by
          #4

          I agree with you that it's annoying but I get around it by right-clicking on the link and selecting "Open in New Window". Of course, I don't always remember to do that so then I say, "Sh*t!". :) Regards, Alvaro

          P 1 Reply Last reply
          0
          • L Lost User

            Just wondering if anyone else hates clicking on a link, only to find the new page opening in the current browser window? This especially annoys me when I am dialled up on a slow modem connection. Although I am a HTML gumby, I do know the trick to opening a new browser window. You need to add TARGET="_blank" after the HREF as in the follwing example. <A HREF="http://www.codeproject.com" TARGET="_blank">The Code Project</A> Hope to find more people using this or any other tricks to open links in a new window. :-D Michael Martin Pegasystems Pty Ltd Australia martm@pegasystems.com +61 413-004-018 "Don't belong. Never join. Think for yourself. Peace" - Victor Stone

            Z Offline
            Z Offline
            Zyxil
            wrote on last edited by
            #5

            when you see a link in the page, right click and select "open in new window" when there is no link, just a typed url, copy the url to the clipboard, hit ctrl+n for a new browser and paste the url also, when you mess up, hit ctrl+n and click the back button,, now you have two windows, one with the target and one with the source -John

            1 Reply Last reply
            0
            • L Lost User

              Just wondering if anyone else hates clicking on a link, only to find the new page opening in the current browser window? This especially annoys me when I am dialled up on a slow modem connection. Although I am a HTML gumby, I do know the trick to opening a new browser window. You need to add TARGET="_blank" after the HREF as in the follwing example. <A HREF="http://www.codeproject.com" TARGET="_blank">The Code Project</A> Hope to find more people using this or any other tricks to open links in a new window. :-D Michael Martin Pegasystems Pty Ltd Australia martm@pegasystems.com +61 413-004-018 "Don't belong. Never join. Think for yourself. Peace" - Victor Stone

              P Offline
              P Offline
              Paul Watson
              wrote on last edited by
              #6

              I have to disagree (not just on principle this time ;) ). When I click a link I expect it to open in the current window. That is the default action of a link. If I want it to open in another window then I right-click and select "Open in new window". Even a link in CP I want to decide whether the article opens in my current window (maybe I have finished reading the forum and have come back to a link I wanted) or in a new window (really hot pron link which I have to check out now! ;) ). I retain control, not the HTML coder. If you put TARGET="_blank" (or ="_new") then I have to drag-and-drop into IE's address bar to stop it opening a window. Bit of a pain really. What is even worse is people who use JavaScript to open standard new windows. I can understand pop-ups which need special properties (e.g. width, height, borderless etc.) being done with JavaScript but not standard windows.


              Another example of us developers getting passionate about the most trivial of issues. regards, Paul Watson Bluegrass Cape Town, South Africa "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge "In other words, the developer is dealing with an elephant, the accountant is dealing with a bunny rabbit." by Stan Shannon - 16/10/2001

              L 1 Reply Last reply
              0
              • L Lost User

                Just wondering if anyone else hates clicking on a link, only to find the new page opening in the current browser window? This especially annoys me when I am dialled up on a slow modem connection. Although I am a HTML gumby, I do know the trick to opening a new browser window. You need to add TARGET="_blank" after the HREF as in the follwing example. <A HREF="http://www.codeproject.com" TARGET="_blank">The Code Project</A> Hope to find more people using this or any other tricks to open links in a new window. :-D Michael Martin Pegasystems Pty Ltd Australia martm@pegasystems.com +61 413-004-018 "Don't belong. Never join. Think for yourself. Peace" - Victor Stone

                M Offline
                M Offline
                MoZ
                wrote on last edited by
                #7

                Just press "Ctrl" when clicking on a link : It will be opened in new browser window. Moz Tunis - Tunisia

                J 1 Reply Last reply
                0
                • M MoZ

                  Just press "Ctrl" when clicking on a link : It will be opened in new browser window. Moz Tunis - Tunisia

                  J Offline
                  J Offline
                  J Patel
                  wrote on last edited by
                  #8

                  Does that work with IE 5.5? Doesn't for me!

                  H M 2 Replies Last reply
                  0
                  • J J Patel

                    Does that work with IE 5.5? Doesn't for me!

                    H Offline
                    H Offline
                    Henry Jacobs
                    wrote on last edited by
                    #9

                    Shift click

                    M P 3 Replies Last reply
                    0
                    • J J Patel

                      Does that work with IE 5.5? Doesn't for me!

                      M Offline
                      M Offline
                      MoZ
                      wrote on last edited by
                      #10

                      Don't really know Mine is 5.0 Moz Tunis - Tunisia

                      1 Reply Last reply
                      0
                      • H Henry Jacobs

                        Shift click

                        M Offline
                        M Offline
                        MoZ
                        wrote on last edited by
                        #11

                        Sorry : it is Shift :-O Moz Tunis - Tunisia

                        1 Reply Last reply
                        0
                        • H Henry Jacobs

                          Shift click

                          M Offline
                          M Offline
                          MoZ
                          wrote on last edited by
                          #12

                          Sorry : it is Shift+Click :-O Moz Tunis - Tunisia

                          1 Reply Last reply
                          0
                          • H Henry Jacobs

                            Shift click

                            P Offline
                            P Offline
                            Paul Watson
                            wrote on last edited by
                            #13

                            Typical, does not work in Internet Explorer 6.0 regards, Paul Watson Bluegrass Cape Town, South Africa "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge "In other words, the developer is dealing with an elephant, the accountant is dealing with a bunny rabbit." by Stan Shannon - 16/10/2001

                            D 1 Reply Last reply
                            0
                            • A Alvaro Mendez

                              I agree with you that it's annoying but I get around it by right-clicking on the link and selecting "Open in New Window". Of course, I don't always remember to do that so then I say, "Sh*t!". :) Regards, Alvaro

                              P Offline
                              P Offline
                              Paul Barrass
                              wrote on last edited by
                              #14

                              I just hold shift a lot when I'm browsing. Shift-clicking on a link opens it in a new window. Cheers, Paul

                              1 Reply Last reply
                              0
                              • L Lost User

                                Just wondering if anyone else hates clicking on a link, only to find the new page opening in the current browser window? This especially annoys me when I am dialled up on a slow modem connection. Although I am a HTML gumby, I do know the trick to opening a new browser window. You need to add TARGET="_blank" after the HREF as in the follwing example. <A HREF="http://www.codeproject.com" TARGET="_blank">The Code Project</A> Hope to find more people using this or any other tricks to open links in a new window. :-D Michael Martin Pegasystems Pty Ltd Australia martm@pegasystems.com +61 413-004-018 "Don't belong. Never join. Think for yourself. Peace" - Victor Stone

                                D Offline
                                D Offline
                                David Wulff
                                wrote on last edited by
                                #15

                                The simple solution is to buy a Microsoft IntelliMouse Explorer. Then just map the two side buttons to SHIFT and CTRL (like I have) and you can SHIFT+CLICK and CTRL+CLICK without moving your hand at all. (BTW, SHIFT+CLICK open the link in a new window in IE).

                                :cool: -=:suss:=-

                                Dr David Wulff, Phd Aqkuoerian Sciences dwulff@battleaxesoftware.com Founder of The BLA "Look out Michael, here I come"

                                1 Reply Last reply
                                0
                                • P Paul Watson

                                  Typical, does not work in Internet Explorer 6.0 regards, Paul Watson Bluegrass Cape Town, South Africa "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge "In other words, the developer is dealing with an elephant, the accountant is dealing with a bunny rabbit." by Stan Shannon - 16/10/2001

                                  D Offline
                                  D Offline
                                  David Wulff
                                  wrote on last edited by
                                  #16

                                  Err... yes it does. Make sure it's the SHIFT key you are holding, and not one of the other ones near it like RETURN or ALT. :D

                                  :cool: -=:suss:=-

                                  Dr David Wulff, Phd Aqkuoerian Sciences dwulff@battleaxesoftware.com Founder of The BLA "Look out Michael, here I come"

                                  P 1 Reply Last reply
                                  0
                                  • L Lost User

                                    Just wondering if anyone else hates clicking on a link, only to find the new page opening in the current browser window? This especially annoys me when I am dialled up on a slow modem connection. Although I am a HTML gumby, I do know the trick to opening a new browser window. You need to add TARGET="_blank" after the HREF as in the follwing example. <A HREF="http://www.codeproject.com" TARGET="_blank">The Code Project</A> Hope to find more people using this or any other tricks to open links in a new window. :-D Michael Martin Pegasystems Pty Ltd Australia martm@pegasystems.com +61 413-004-018 "Don't belong. Never join. Think for yourself. Peace" - Victor Stone

                                    C Offline
                                    C Offline
                                    Christian Skovdal Andersen
                                    wrote on last edited by
                                    #17

                                    Thats a realy good idea! What about poll, Chris? Christian Skovdal Andersen "I have a plan so cunning you could put a tail on it and call it a weasel." -Edmund, Blackadder III

                                    1 Reply Last reply
                                    0
                                    • D David Wulff

                                      Err... yes it does. Make sure it's the SHIFT key you are holding, and not one of the other ones near it like RETURN or ALT. :D

                                      :cool: -=:suss:=-

                                      Dr David Wulff, Phd Aqkuoerian Sciences dwulff@battleaxesoftware.com Founder of The BLA "Look out Michael, here I come"

                                      P Offline
                                      P Offline
                                      Paul Watson
                                      wrote on last edited by
                                      #18

                                      *smacks forehead in anger* As always you are right. I was looking for the Any key, not the shift key. other ones near it like RETURN or ALT Hmmm on my keyboard (microsoft natural keyboard) ALT is two keys away from Shift. Return (enter) is just above the right hand Shift though. Q is next to W which is next to E which is next to R which is next to T but T is not next to Y because there is a big gap between them. So I obviously don't have a QWERTY keyboard anymore, do I? ;P I am still waiting for the day when I can go buy a keyboard which is logical. i.e. A next to B next to C next to D next to E next to F next to... etc. etc. It is late, bear with me, I might actually manage to make a point somewhere in this pos...

                                      J 1 Reply Last reply
                                      0
                                      • P Paul Watson

                                        I have to disagree (not just on principle this time ;) ). When I click a link I expect it to open in the current window. That is the default action of a link. If I want it to open in another window then I right-click and select "Open in new window". Even a link in CP I want to decide whether the article opens in my current window (maybe I have finished reading the forum and have come back to a link I wanted) or in a new window (really hot pron link which I have to check out now! ;) ). I retain control, not the HTML coder. If you put TARGET="_blank" (or ="_new") then I have to drag-and-drop into IE's address bar to stop it opening a window. Bit of a pain really. What is even worse is people who use JavaScript to open standard new windows. I can understand pop-ups which need special properties (e.g. width, height, borderless etc.) being done with JavaScript but not standard windows.


                                        Another example of us developers getting passionate about the most trivial of issues. regards, Paul Watson Bluegrass Cape Town, South Africa "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge "In other words, the developer is dealing with an elephant, the accountant is dealing with a bunny rabbit." by Stan Shannon - 16/10/2001

                                        L Offline
                                        L Offline
                                        Lost User
                                        wrote on last edited by
                                        #19

                                        Waste of time, especially when you hit the back button and Code Project has decided it needs to reload the whole page again. This sometimes does happen, a right pain when dialled in. Michael Martin Pegasystems Pty Ltd Australia martm@pegasystems.com +61 413-004-018 "Don't belong. Never join. Think for yourself. Peace" - Victor Stone

                                        1 Reply Last reply
                                        0
                                        • L Lost User

                                          Just wondering if anyone else hates clicking on a link, only to find the new page opening in the current browser window? This especially annoys me when I am dialled up on a slow modem connection. Although I am a HTML gumby, I do know the trick to opening a new browser window. You need to add TARGET="_blank" after the HREF as in the follwing example. <A HREF="http://www.codeproject.com" TARGET="_blank">The Code Project</A> Hope to find more people using this or any other tricks to open links in a new window. :-D Michael Martin Pegasystems Pty Ltd Australia martm@pegasystems.com +61 413-004-018 "Don't belong. Never join. Think for yourself. Peace" - Victor Stone

                                          M Offline
                                          M Offline
                                          markkuk
                                          wrote on last edited by
                                          #20

                                          No, what I really hate are links that pop up a new window! If I want a new window, I'll tell the browser to do that with the "open in new window" command, but by default the link should always be followed in the same window.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups