Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6354143
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T22:31:48+00:00 2026-05-24T22:31:48+00:00

I have a page containing much contents. The page may display a custom error

  • 0

I have a page containing much contents. The page may display a custom error message if JavaScript is disabled. The page must not display anything else other than the prompt message. I am posting an image, which is similar to an error prompt I mean. I have an error prompt with some images in my mind..

proposed concept

How can I make this possible?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T22:31:49+00:00Added an answer on May 24, 2026 at 10:31 pm

    The general idea is that you would put your message HTML (no reason to use an image, text will work just fine) inside noscript tags like this:

    <noscript>You must enable Javascript in order to use this site.</noscript>

    If you want the noscript HTML to obscure/hide the entire rest of the page, then you will need to make sure whatever it is takes up the entire page and is on top. You could do that with something like this:

    <noscript>
        <div id="noscript" style="position: absolute; top: 0; left: 0; background-color: #FFF; z-index: 999; height: 100%; width: 100%; text-align: center; padding-top: 50px;">
        You must enable Javascript in order to use this site.
        </div>
    </noscript>
    

    Here’s a jsFiddle that shows how the noscript div works. The fiddle doesn’t include the actual <noscript> tag because the fiddle won’t work without JS, but it shows you how the absolutely positioned div works to block all other content. Scroll down in the HTML area of the fiddle to see the noscript div HTML (which is as I have copied into this post).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let's say I have a page with my custom UserControl (containing only asp:Literal and
I have a page containing a control called PhoneInfo.ascx. PhoneInfo is dynamically created using
Here's my scenario: I have a page containing several links; each link is meant
I have a overview page containing a list with some links from which multiple
I have a page A containing 2 children iFrames called B and C. A
I have a HTML page containing follwing links <a class=out href=www.a.com/hgfgtsdfdffsdfsdf>sdfsssdfddf</a> <a href=www.a.com/hgfgt>dsfdsf</a> <a
I have an Asp.Net page containing one GridView and a couple of images (google
I have a page (telerik:RadPage) containing few grids and some nested controls and I
I have a master page which containing few CSS links and java scripts. <html
I have a simple accordion type page containing a list of H3 headers and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.