איך אני סוגר חלון חדש שנפתח עם javascript - פורום אמברלה

איך אני סוגר חלון חדש שנפתח עם javascript

0 הצבעות
שאלה נשאלה ב- 20 דצמבר, 2017 על ידי Michael92 (150 נקודות)
פתחתי חלון חדש עם javascript אבל איך אני סוגר אותו עכשיו גם עם javascript.

תשובות 2

0 הצבעות
נתקבלה תשובה ב- 20 דצמבר, 2017 על ידי admin (400 נקודות)

כתבתי לך קוד שמראה איך לעשות את זה.

<!DOCTYPE html>

<html>

<head>

<script>

var myWindow;

function openWin() {

    myWindow = window.open("", "", "width=500, height=400");

}

function closeWin() {

    myWindow.close();

}

</script>

</head>

<body>

    <input type="button" value="Open" onclick="openWin()" />

    <input type="button" value="Close" onclick="closeWin()" />

</body>

</html>

0 הצבעות
נתקבלה תשובה ב- 18 יולי על ידי Albertkinly
The prostate gland is a vital part of a male's reproductive :. It secretes fluids that help the transportation and activation of sperm. The prostate is located just while watching rectum, below the bladder and surrounding the urethra. When there is prostate problem, it will always be really miserable and inconvenient for the patient as his urinary system is directly affected.
 
The common prostate medical problems are prostate infection, enlarged prostate and prostate cancer.
 
 
 
Prostate infection, also called prostatitis, is among the most common prostate-related problem in men younger than 55 yrs . old. Infections in the prostate gland are classified into four types - acute bacterial prostatitis, chronic bacterial prostatitis, chronic abacterial prostatitis and prosttodynia.
 
Acute bacterial prostatitis will be the least common coming from all types of prostate infection. It is a result of bacteria found in the large intestines or urinary tract. Patients may go through fever, chills, body aches, back pains and urination problems. This condition is treated through the use of antibiotics or non-steroid anti-inflammatory drugs (NSAIDs) to alleviate the swelling.
 
Chronic bacterial prostatitis is really a condition connected with a particular defect inside gland as well as the persistence presence of bacteria within the urinary tract. It can be due to trauma towards the urinary tract or by infections received from other areas of the body. A patient can experience testicular pain, small of the back pains and urination problems. Although it is uncommon, it can be treated by removal in the prostate defect then the employment antibiotics and NSAIDs to help remedy the redness.
 
Non-bacterial prostatitis is the reason for approximately 90% coming from all prostatitis cases; however, researchers have not even to create the causes of these conditions. Some researchers feel that chronic non-bacterial prostatitis occur as a result of unknown infectious agents while other believe that intensive exercise and heavy lifting may cause these infections.
 
Maintaining a Healthy Prostate
 
To prevent prostate diseases, a suitable diet is important. These are some with the steps you can take to maintain your prostate healthy.
 
1. Drink sufficient water. Proper hydration is essential for general health and will also also keep your urinary track clean.
 
2. Some studies advise that a few ejaculations per week will assist you to prevent cancer of the prostate.
 
3. Eat red meat in moderation. It has been shown that consuming more than four meals of beef weekly will increase the chance of prostate diseases and cancer.
 
4. Maintain a suitable diet with cereals, vegetable and fruits to make certain sufficient intake of nutrients required for prostate health.
 
The most critical measure to adopt to ensure a normal prostate is usually to opt for regular prostate health screening. If you are forty years of age and above, you need to go for prostate examination at least 12 months.
ברוכים הבאים לפורום אמברלה לשפות תכנות ולתוכנת אמברלה. כאן תוכלו לקבל תמיכה טכנית בכל נושא הקשור לפיתוח תוכנה ולתוכנת אמברלה.
...