www.webdeveloper.com
Results 1 to 6 of 6

Thread: The perfect site?

  1. #1
    Join Date
    Nov 2002
    Location
    Essex / Kent, UK
    Posts
    89

    Talking The perfect site?

    Check it out - http://www.clearview-cctv.co.uk

    You are right, its not perfect but I need YOUR help to make it that way.

    Slate it all you like because that's why I have posted here

    Many thanks,
    Tim

  2. #2
    Join Date
    May 2004
    Posts
    339
    Have a look at your page in both Mozilla and Opera with javascript disabled, then you'll probably understand you've got a long way to go.

    Your menu doesn't work when javascript is disabled. No way of knowing what your website contains or how to navigate.

    Your markup isn't valid.

  3. #3
    Join Date
    Nov 2002
    Location
    Essex / Kent, UK
    Posts
    89
    How can I tell if the website has valid markup? The W3C validator chokes on javascript i.e. it finds errors where it should not really be looking.

    I have provided a sitemap, which can be used for non-javascript browsers but perhaps I should review its feasability.

    You are right about how the website looks in Mozilla though... back to notepad.

    Tim

  4. #4
    Join Date
    May 2004
    Posts
    339
    Originally posted by Tim158
    The W3C validator chokes on javascript i.e. it finds errors where it should not really be looking.
    Haven't had any problems validating pages with DHTML javscripts in external files.

  5. #5
    Join Date
    Aug 2003
    Location
    In my house
    Posts
    4,004
    For the JavaScript, you need to encompas your scripts with:
    Code:
    <script type="text/javascript">
    //<![CDATA[
       // All your scripts go here
    //]]>
    </script>
    There is a thread someplace explaining the CDATA part; I got very little sleep last night, so I’m too brain dead. But this will stop the validator from choking on unecoded ampersands, less‒than signs, greater‒than signs, and all those other things it has no business looking at in your JavaScript.


    Now, I see a gray strip running down the left side of the page, and the purple‒ish box holding the text is shifted out of the white and is sort of hanging into the gray, and I cannot see the middle part of your navigation because of the flash movie. And, personally, I do not like the justified text.

    And, as was previously stated, your site becomes unusable when JavaScript is not available.

    I can post a screenshot, if you want.


    ***EDIT***
    Found that thread explaining the CDATA up there. http://www.webdeveloper.com/forum/sh...threadid=28037
    Last edited by Paul Jr; 08-03-2004 at 12:09 PM.
    Thousand different paths
    So many sterile ends
    I chose the Devil's path

    Never shall the sun kiss my face
    And caress me with it's burning light
    For I dwell in the shadows
    And sleep side by side with death

  6. #6
    Join Date
    Nov 2002
    Location
    Essex / Kent, UK
    Posts
    89
    Thanks a lot guys. This definitely helps.

    I think I'll restrict that justified text to my MS Word documents - it doesn't like to be squashed.

    Tim

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles