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

  • Home
  • SEARCH
  • 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 9172303
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T16:18:48+00:00 2026-06-17T16:18:48+00:00

The idea is that i would like to be able to write it in

  • 0

The idea is that i would like to be able to write it in html or css to ping an address or IP every 10 minutes to check if it bounces back a signal, and if yes, then the status on my website says its ‘online’, or if it doesn’t receive a signal, then it changes the text on my webpage to say ‘offline’. I would have no idea how to make it Interchangeable to work with several servers, so far i have only found a way to do it with cron jobs, but i’m running windows 7 and have no idea how to script it in the emulators i found. Also i’m fairly new to html and css or i would probably already know how to do this :/

Any help is much appreciated, Thanks in advance.

  • 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-06-17T16:18:50+00:00Added an answer on June 17, 2026 at 4:18 pm

    Can you write a file on the external server?

    If so, add a small stylesheet there which alters the following HTML:

    <span class="online">Online</span>
    <span class="offline">Offline</span>
    

    from this CSS (on your server):

    .online { display: none; }
    .offline { display: inline; }
    

    to this:

    .online { display: inline; }
    .offline { display: none; }
    

    Make sure you link them so that the external server’s stylesheet is listed last in your HTML header.


    However, this pure-CSS method can not be repeated every ten minutes — for that, you need JavaScript.

    Make a JSON-P request to the external server, make the text default to “offline” in your HTML, and change it to “online” if the JSON-P request is successful. (JSON-P will never return an error.) However, this also requires that you have a page of your own making on that external server to return the JSON, even if it’s empty.

    If you don’t have access to write to the external server, then there’s probably not much you can do.

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

Sidebar

Related Questions

I would like to use conditions in my CSS. The idea is that I
I have an idea for an app that I would like to build which
I had an idea that would require me be able to send and receive
I would like to be able to communicated with PLC controllers, so that I
I would like to write a program that sets an environment variable in an
I would like to write an HTTP server that answer to request using a
I am playing with an idea that would allow people to add tickets to
Someone once showed me a cool IntelliJ Idea plugin that would show all the
I am looking for an idea, concept or proven datastructure that would be very
So I have this idea for a RubyGem that I think would be an

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.