Results 1 to 7 of 7

Thread: Anyone know why some visitors to my site can see it while others only see blank page

  1. #1
    Join Date
    Jul 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Anyone know why some visitors to my site can see it while others only see blank page

    Hi all

    Anyone know why some visitors to my site can see it while others only see a blank page?

    my site is www.nativeground.co.uk

    many thanks

    Nic

  2. #2
    Join Date
    May 2007
    Location
    England, UK
    Posts
    235
    Thanks
    3
    Thanked 6 Times in 6 Posts

    Default

    Looking at your source code, the entire page is made up from javascript.
    If i had javascript disabled in my browser I would see nothing!
    Try making it user freindly for all browsers!

  3. #3
    Join Date
    Jul 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Many thanks for that...is there any way that I can detect and inform users they need to enable javascript?

  4. #4
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Using <noscript> tags you can do this; however, it is a much better idea to make your site accessible to all browsers (even those with Javascript disabled).

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  5. #5
    Join Date
    Jul 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Many thanks....wish I knew how to use <noscript> tags

    Nic

  6. #6
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Very simple example:

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv=content-type content="text/html; charset=UTF-8">
    <title>Testing</title>
    </head>
    <body>
    <script type="text/javascript">
    
    document.write('This is written using Javascript');
    
    </script>
    
    <noscript>
    This is seen if Javascript is not enabled in the browser.
    </noscript>
    
    </body>
    </html>
    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  7. #7
    Join Date
    Jul 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks so much - I'll have a go.

    cheers

    Nic

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
  •