Results 1 to 10 of 10

Thread: nettiquite

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Newcastle
    Posts
    260

    Talking nettiquite

    Hi all,
    Im building a website that has thumbnails pictures in it, now what I need to deside is when clicked do I open the larger image in a new window or do I open it in the main window, cos I know that self opening popups and the like are generally frowned upon......any thoughts. Cheers

  2. #2
    Frenzied Member Rick Bull's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    1,444
    I'd go with keeping it in the main window, I find it very annoying when they open in another window. The other thing is if you have a server side scripting language is to have a control panel where people can choose whether they want certain links to open in a new window.

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    And I'd go with the new window. If there are thumbnails, I prefer having the larger image open in a new window, instead of having to go "backspace" after each image shows up, which wastes a lot of time, since the page has to reload for me.

    Don't listen to Rick.

  4. #4
    Frenzied Member Rick Bull's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    1,444
    Hey, hey show a little respect will you

  5. #5
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    OK.

    Please don't listen to Rick.

  6. #6
    Fanatic Member riis's Avatar
    Join Date
    Nov 2001
    Posts
    551
    I agree with Rick. The reason for this is that in all browsers you have the option to open a link inside a new window or in a new tab. If I want it to be opened in a new window, I prefer to do it myself, not being forced by the HTML/JS.

  7. #7
    Fanatic Member punkpie_uk's Avatar
    Join Date
    Sep 2001
    Location
    UK
    Posts
    645
    yeah, I agree...popup windows are annoying. If the user wants to open a new window he can hold shift and press the link (IE) or choose to open in a new window/tab (Moz/NS)
    SPREAD THE WORD!!! Are You Lee McCormick? Because I Am



    Lee M McCormick
    [email protected]

    Lee McCormick.com - Live
    Dynamically Webbed.com - In development but live

  8. #8
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Originally posted by punkpie_uk
    yeah, I agree...popup windows are annoying. If the user wants to open a new window he can hold shift and press the link (IE) or choose to open in a new window/tab (Moz/NS)
    You're forgetting the most basic rule of thumb in web designing:

    Users are stupid
    Therefore, they won't know how to press <shift> and click the link.

    Basically, the thumbnail page is similar to a central base page. By opening a larger picture within the same window, the page is gone. Take into consideration people with slower connections. They have to press back button and wait for the whole page to reload.

    Check out any wallpaper website, and you'll see how it is.

  9. #9
    Lively Member
    Join Date
    Dec 2002
    Location
    southwest pennsylvania
    Posts
    65
    give the user the option.
    make a set of radio buttons.
    <form name=form1>
    New<input type=radio value="yes" name=opt>
    Same<input type=radio value="no" name=opt>
    </form>

    then make the links call a function:
    <a href="javascript:showPic(picURL)"></a>

    and make the function:
    function showPic(what)
    {
    var winOpt=document.form1.opt.value
    if(winOpt=="yes")
    window.open(what,"newWin")
    else
    document.location=what;
    }

    have fun!
    if you choose not to decide you still have made a choice!

    RUSH rocks!

  10. #10
    Fanatic Member punkpie_uk's Avatar
    Join Date
    Sep 2001
    Location
    UK
    Posts
    645
    yeah, users are stupid, I agree. But, you could set the target to _blank for all the links to open in a new window? There used to be a tag in the html spec that did this by default but I believe it's deprecated now.

    You could use a bit of javascript to do it?

    Code:
    <html>
      <head>
        <title>Links Test</title>
            <script language="JavaScript" type="text/javascript">
               <!--
                  function setTarget(){
    	for (i=0;i<document.links.length;i++){		   	  document.links[i].target='_blank';
    	}
                  }
               //-->
             </script>
      </head>
      <body onload="setTarget();">
        <a href="http://www.google.com">http://www.google.com</a><br />
        <a href="http://www.cheese.com">http://www.cheese.com</a><br />
        <a href="http://www.foo.com">http://www.foo.com</a><br />
        <a href="http://www.bar.com">http://www.bar.com</a>
      </body>
    </html>
    SPREAD THE WORD!!! Are You Lee McCormick? Because I Am



    Lee M McCormick
    [email protected]

    Lee McCormick.com - Live
    Dynamically Webbed.com - In development but live

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width