Today's Question:  What does your personal desk look like?        GIVE A SHOUT

SEARCH KEYWORD -- Window Phone 8



  Update parent window after closing the window opened by window.open()

Imagine we have a webpage which has a text field to let user enter a date. Usually, we may create a calendar window to ask the user to pick one date from the calendar window, when the date is picked, the calendar window will close and the date picked will be put into the text field. This way involves the window.open() method in JavaScript, and we may think how the opened window knows its parent window and then updates the parent window. I give a simple demo on this.We have two pages, on is the p...

   window.open, JavaScript,update, return value     2012-06-23 01:36:32

  Nokia finally announces the death of Symbian

According to Sina.com. Nokia confirmed that the 808 PureView released last year would be the last phone equipped with Symbian OS in its Q4 financial report. This means that Symbian has been officially declared dead.Nokia said in the report: "In 2012, during the process of transition to Windows Phone, we continue to sell Symbian devices. The Nokia 808 PureView launched in the middle of last year is the last Symbian device."In Q4 2012, sales of Symbian phones were 2.2 million which was equivalent...

   Nokia, Symbian, Windows Phone     2013-01-24 06:45:17

  Nokia unveils Lumia 820

Just finishing introducing the latest flagship model Lumia 920 Nokia introduced mid-range Lumia 820 which is equipped with Windows Phone 8The Lumia 820 is equipped with a Qualcomm Snapdragon S4 1.5GHz dual-core CPU, but the screen is 4.3 inch WVGA screen with 800 x 480 pixels, at the same time it is equipped with 8GB memory space and a 8-megapixel rear camera. In addition, users can extend 8 GB more memory space through Windows Phone 8's extension function.Lumia 820's screen adopts Super S...

   Nokia,Lumia 820,Window Phone 8     2012-09-05 19:10:14

  JavaScript to open link in new window without being popup blocked

To ensure security and reduce spamming, modern browsers have implemented very strict rules on when a new window can be opened in a web page. Currently browsers restrict that any new web page to be opened in a new window must be initiated with an user action. The action is usually an user click event. Otherwise, a popup blocker would show on the browser address bar which indicates that something is blocked. To workaround this issue, normally you should implement the window open logic in a click e...

   JAVASCRIPT,IFRAME,NEW WINDOW,OPEN LINK     2018-09-22 04:29:30

  You can get properties of pseudo-element using JavaScript now

The pseudo-element6 in CSS is extremely useful, you can use it to create CSS triangles and lots of other elements without overuse many HTML elements. In the past, you cannot get the property value of pseudo-element in CSS using JavaScript. Now you can call a new method in JavaScript to get them easily. Assume you have below CSS codes: .element:before { content: 'NEW'; color: rgb(255, 0, 0); } To get the properties in .element:before, you can use below JavaScript method: var color = window.getC...

   pseudo-element,property,JavaScript     2014-04-05 20:58:25

  Are you ready for Facebook's phone?

According  to Sina Tech, Facebook will announce its own phone today in US. They will also release its new Android application. The Facebook phone is manufactured by HTC, the model will be HTC First. This will be a deeply customized Facebook phone, some IT professionals think this phone's name is very similar to HTC's flag model HTC One. This phone may provide a home screen application named Facebook Home. Facebook Home adopts the minimization design, it can display photos in full screen. T...

   Facebook phone,HTC,Facebook Home     2013-04-04 07:01:12

  Why doesn't Microsoft involve in the patent war with Apple?

After Apple and Samsung patent war ends, Samsung immediately announced that they would continue to appeal. People are now guessing that the next target of Apple is Motorola and Google, while the situation getting worse, we could not help to ask why there is no emergence of Microsoft?At first glance, the answer seems to be very simple, both Microsoft Window 8 and Window Phone products do not have much intersection with Apple's products. But there is an unknown reason, there is a patent cross-lice...

   Microsoft,Apple,Patent     2012-08-27 22:10:19

  Understand this in JavaScript

In JavaScript, this is always pointing to the owner of a function or a method. Function Let's check out function first. function introduce() {      alert("Hello, I am Laruence\r\n"); } For this function, what does this point to? In JavaScript, a global function's owner is the current page, i.e, the window object. Because its a method of the window object if we define a global function. Now you should know the this will point to the window object in the above function. ...

   JavaScript,this,event,call     2013-04-03 04:10:03

  Huawei phone with HarmonyOS installed is becoming real

In past few days, there is a photo of a Huawei phone with HarmonyOS installed appearing on the web. This is an engineering testing phone circulating inside Huawei according to the source.  This is the first time that a real phone with Huawei's own operating system HarmonyOS installed is being seen on the web. This indicates that it will not be that far for general public to be able to access the new Huawei self developed OS. From the photo, there are a few indications: This phone sample s...

   HUAWEI,HARMONYOS,P40     2020-05-19 08:23:48

  JavaScript showModalDialog method

In JavaScript, showModalDialog()  method creates a simple modal dialog box which is a simple html page but when a modal dialog opens, user can't switch to another page until it closes the modal dialog box. Syntax:  window.showModalDialog( url, arguments, feature options); Where url is the URL of page which is to be opened in modal window and arguments are those arguments which we are passing to the modal window and feature options are the attributes set for the modal windo...

   JavaScript,JS,showModalDialog,Example     2011-07-27 10:51:47