Tuesday, February 25, 2014

The first for the year 2014...

I suddenly remembered that it's 2+ days away to the first IT Show for the year 2014. In fact I'm pretty surprise that my Facebook wall isn't flooded with all the ads on the upcoming IT Show located at Marina Bay Sands. Therefore if you are thinking of getting a new gadget or if you are thinking of changing your existing internet connection plan, you can consider making your way down to 'IT Show 2014'.

Image taken from 'IT Show 2014' website.

By the way, by accessing the official website of 'IT Show 2014', you can
also gain access to information like, 'How to get there', 'The floor plan',
'On-site and Online Contests', etc...

Venue:
  • Date: 27 Feb - 2 Mar 2014
  • Opening Hours: 12pm to 9pm
  • Location: Marina Bay Sands Level 1 & B2

* Click here to find out more about 'IT Show 2014'.
^ Click here for the unofficial 'IT Show 2014' site.
  (You can gain access to all the pricelist of all the Exhibitor @ 'IT Show 2014'.
  Although currently there isn't a lot but the list will gradually increase over
  the next few days.)

Monday, February 24, 2014

Hiding a Option element in your webpage

By applying a style="display:none" to the <option> element in your webpage will not give you the desired results across all the browsers. Therefore, you either remove or add the <option> element when needed or create 2 different set of <select> element to provide the user the correct set of menu.

Here's the source code of the page that I have created, try viewing it using different browsers like 'Internet Explorer', 'Mozilla Firefox' and 'Google Chrome' and you can spot the difference.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Hide a menu option</title>
</head>
<body>
Fruits:
<select>
    <option value="apple">Apple</option>
    <option value="orange">Orange</option>
    <option value="pear" style="display:none">Pear</option>
    <option value="pineapple">Pineapple</option>
</select>
</body>
</html>
* Click here for the demo shown in this post.

Wednesday, February 12, 2014

Managing plugin detection on IE11

If you have been creating and managing various type of contents online, you might want to take note of the change on IE11. It seems that in order to make the life of the developers much more easier, IE11 now supports the javascript code "navigator.plugins". However, it seems that this doesn't really return the desired outcome. I have run the script on IE11 and it only returns 'Microsoft Silverlight', whereby my Chrome and Firefox has much more results. (Ex: Flash, Quicktime, etc...) Therefore if you are detecting browser plugins, you should still check for ActiveXObject first followed by "navigator.plugins". But looking on the bright side, seems that Microsoft is trying to make everyone's life much more easier which is a (+). However, it looks like they have to spend a bit more time improving it.

* Click here to check the results of "navigator.plugins" on your browser.
^ Click here for the changes that Internet Explorer 11 has.