Results 1 to 8 of 8

Thread: New Website

  1. #1
    Join Date
    Jul 2006
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default New Website

    Hi. I recently published my website devoted to my interest in collecting vintage magazines.

    The site makes use of standard HTML, style sheets, and a little javascript thrown in for good measure. Click on the website link above and have a looksee at your earliest convenience. Comments are welcome. If you don't like it, say so. I'm a big boy ... I can take constructive criticism.

    Thanks. Doug

  2. #2
    Join Date
    Aug 2006
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hey thats really cool that you collect those... And illustrators around the world would probably love you for your interest in that, printed art gets neglected sometimes I think.. But really I would like to see you scan in the cover of some of these magazines and talk about the history and where it came from, who illustrated it and such... could prove to be interesting.... That alone could potentially open up a way for you to collect and trade for magazines that ppl have for the one you want and so on.

  3. #3
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Quote Originally Posted by http://validator.w3.org/check?uri=http://members.shaw.ca/allewell/
    Sorry, I am unable to validate this document because on line 7, 9, 29 it contained one or more bytes that I cannot interpret as utf-8 (in other words, the bytes found are not valid values in the specified Character Encoding).
    Oh dear.
    Code:
    <!doctype html public "-//w3c//dtd html 3.2//en">
    Outdated.
    Code:
    <title></title>
    
    ...
    
    <script language="Javascript">
    <!-- begin
    
    document.title="D o u g i n B C ™ • C o l l e c t i n g • V i n t a g e  • M a g a z i n e s • v 1 . 1";
    
    // end -->
    </script>
    Huh?
    Code:
    <script language="Javascript">
    <!-- begin
    language is deprecated for type; hiding script like that isn't necessary.
    Code:
    /* 
    Disable Right Click Script III- by Renigade (renigade@mediaone.net)
    For full source code, visit http://www.dynamicdrive.com
    */
    Pointless script, don't know why it's still on DD. Annoys genuine users and does nothing to stop people taking your content.
    Code:
    function stoperror(){
    return true
    }
    window.onerror=stoperror
    Argh. Don't hide errors from the users -- that way they'll have no idea why the button isn't doing anything. If they don't want to see errors, they'll set their browser up that way.
    Code:
    <meta http-equiv="imagetoolbar" content="no">
    Causes memory leaks, according to jscheuer1. Haven't been able to find any references though -- you'll have to ask him.
    Code:
    <script language="JavaScript1.2">
    <!-- begin
    
    img1=new Image()
    img1.src="../images/close.jpg"
    img2=new Image()
    img2.src="../images/closeup.jpg"
    img3=new Image()
    img3.src="../images/closedwn.jpg"
    
    // end -->
    </script>
    Try:
    Code:
    <script type="text/javascript">
    function preloadImages() {
      if(typeof preloadImages.store === 'undefined') preloadImages.store = [];
      for(var i = 0; i < arguments.length; ++i)
        (preloadImages.store[preloadImages.store.length] = new Image()).src
          = arguments[i];
    }
    
    preloadImages("close.jpg", "closeup.jpg", "closedwn.jpg");
    </script>
    Avoid globals wherever possible.
    Code:
    <script language="JavaScript1.2">
    <!-- begin
    
    function show(id){
    if (document.all) {
          document.all[id].style.visibility = 'visible';
          self.defaultStatus='Done';
       }
    }
    
    // -->
    </script>
    
    <script language="JavaScript1.2">
    <!-- begin
    
    function hide(id){
    if (document.all) {
          document.all[id].style.visibility = 'hidden';
        }
    }
    
    // -->
    </script>
    Ych, IE-only.
    Code:
    <script type="text/javascript">
    function show(id) {
      var el = document.getElementById && document.getElementById(id) ?
        document.getElementById(id) :
        document.all && document.all[id] ?
          document.all[id] :
          document.images[id] || document.forms[id] || null;
      if(!el) return false;
      el.style.visibility = "visible";
      return true;
    }
    
    function show(id) {
      var el = document.getElementById && document.getElementById(id) ?
        document.getElementById(id) :
        document.all && document.all[id] ?
          document.all[id] :
          document.images[id] || document.forms[id] || null;
      if(!el) return false;
      el.style.visibility = "hidden";
      return true;
    }
    </script>
    Code:
    <table border="0" height=100% width=100% cellspacing="0" cellpadding="0" style="position:absolute;visibility:hidden;height:100%;width:100%;background-color:transparent;cursor:default;z-index:10;">
    Tables shouldn't be used for layout any more. We have CSS to do the job properly now. Also, using inline CSS so much defeats the point of using CSS at all.
    Code:
    <script language="JavaScript">
    <!-- begin
    
    if (screen.width==800||screen.height==600)
    document.write("<img src='July-15-1905.jpg' height='350' width='265' border='0' title='July 15, 1905'>")
    else
    document.write("<img src='July-15-1905.jpg' height='450' width='341' border='0' title='July 15, 1905'>")
    
    // end -->
    </script>
    Doesn't leave anything for non-JS browsers. Try:
    Code:
    <img id="varimg1" width="265" height="350" border="0" title="July 15, 1905">
    <script type="text/javascript">
    if (screen.width > 800 || screen.height > 600) {
      var e;
      (e = document.getElementById("varimg1").style).width = "341px";
      e.height = "450px";
    }
    </script>
    Code:
    font-size:13px;
    Font sizes should never be specified in pixels. Use percentages instead.
    Code:
    font-family:verdana;
    Verdana is a bad choice for Web fonts, since it is larger than other fonts at the same point size. Also, you should specify a generic font family in case the user doesn't have the specific fonts you use.
    Code:
    <script language="JavaScript">
    <!-- begin
    
    if (screen.width==800||screen.height==600)
    document.write("<span style='font-size:11;color:darkred;letter-spacing:2px;'>A collector of vintage magazines</span></br><img src='../images/dbcbanner.jpg' height='55' width='379' border='0'>")
    else
    document.write("<span style='font-size:13;color:darkred;letter-spacing:2px;'>A collector of vintage magazines</span></br><img src='../images/dbcbanner.jpg' height='60' width='468' border='0'>")
    
    // end -->
    </script>
    This wouldn't be necessary if you used proportional font sizes. Also, you need to specify units:
    The fishmonger's is 3 from your house. How long, on average, will it take you to get there by bus?
    Code:
    if (screen.width==640||screen.height==480)
    document.write("<img src='fx.jpg'  height='55' width='225' border='0' vspace='3' title='F.X. Leyendecker'>")
    else if (screen.width==800||screen.height==600)
    document.write("<a href='javascript:show(\"fx\");' onmouseover='window.status=\"Done\";return true' onmouseout='window.status=\"Done\";return true'><img src='fx.jpg'  height='55' width='225' border='0' vspace='3' title='F.X. Leyendecker'></a>")
    else
    document.write("<a href='javascript:show(\"fx\");' onmouseover='window.status=\"Done\";return true' onmouseout='window.status=\"Done\";return true'><img src='fx.jpg'  height='55' width='225' border='0' vspace='3' title='F.X. Leyendecker'></a>")
    That looks like another kludged attempt to compensate for absolute sizing. Also, the mouseover and mouseout events suggest you're trying to hide the URLs those links point to. Don't bother. It won't work.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  4. #4
    Join Date
    Oct 2005
    Posts
    38
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Wow, you should like, get paid to validate sites for people lol
    What are memory leaks though?

    Edit: Completely forgot to type my reply for the website.
    The second page takes very long to load for some reason. My internet speed is 512kbps and for your second page is took approx. 18 seconds to load. I tried reloading to see how fast it loads using cached memory and it took approx. 5 seconds (I use FireFox's Fasterfox extension, it tells me how long the page loads for).
    Also you seem to have a lot of somewhat useless stuff in your source code. The reason I say this is because the average person who views a website knows nothing about web scripting and doesn't really care about anything in your webpage except for the content he/she can actually view/read. I'd suggest only using what is actually needed and loose the extra stuff unless it's for design purposes.
    Last edited by tacmig99; 08-19-2006 at 12:16 AM.

  5. #5
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    In normal usage, memory is allocated, used, then freed. A memory leak is a situation that arises when someone misses out the vital last step. This causes the memory usage of the program to increase every time the code that allocates the memory is run, making the system run unresponsively and eventually crashing the program (or even the whole system, in the case of Windows; possibly still, a system crash could certainly result from a memory leak when I used WinME. Even if it can't crash the whole system nowadays, Internet Explorer handles enough to seriously confuse a novice user if it crashes: "Huh? Where's my desktop gone?").
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  6. #6
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    Huh? Where's my desktop gone?
    I thought even novice users knew this one..

    Windows key + r

    Then type in "explorer"
    - Mike

  7. #7
    Join Date
    Jul 2006
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks for the (kind and not so kind) comments regarding my website. Hey, I did ask, didn't I? And no one is too old to learn something new.

    I didn't agree with everything about the coding and webdesign, but I did incorporate the hide/show script into the site (once I tweaked it so it would work properly).

    If nothing else I did learn a valuable lesson--if I want comments and imput about design and content, don't ask a programmer.

    Doug

  8. #8
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Hey, I did ask, didn't I?
    Exactly what I thought.
    I didn't agree with everything about the coding and webdesign
    All fact, I'm afraid, except the rumour about the memory leak.
    If nothing else I did learn a valuable lesson--if I want comments and imput about design and content, don't ask a programmer.
    If you'd said you wanted comments on the design and content, I'd have focussed more on the design and content
    I did incorporate the hide/show script into the site (once I tweaked it so it would work properly).
    I'm notorious for not testing code, I'm afraid My general approach to writing code is to sit down at a text editor and type the whole thing, then start debugging. When it's a fragment, I fear I neglect that last step all too often
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

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