Styling the Twitter Widget

30 Jun 2013 17:56 | Geplaatst door Marcel

Since Spring 2013 the v1.0 version of the standard Twitter Widget doesn’t work anymore.

The old widget was built in JavaScript, and added elements to the loaded page. It was easy to add css styling for that, you could just add it to the main stylesheet of your page.

With the new widget, which uses the new API that doesn’t work anymore. It is still built in JavaScript, but it adds an iframe to the page. And adding rules to your standard stylesheet has no effect on an iframe.

You can however add a stylesheet to an iframe, and that’s what I did. It’s available as download. All you have to do is change the location of the stylesheet in it. You can then add it to your page-layout. It does use and need jQuery.

In case you are editing the stylesheet, but it doesn’t refresh in the browser, you can open the stylesheet directly in the browser, and push F5 to have the cache of your browser refreshed.

Since Spring 2013 the v1.0 version of the standard Twitter Widget doesn’t work anymore. The old widget was built in JavaScript, and added elements to the loaded page. It was easy to add css styling for that, you could just…
Read more...

Picture Time Photo Album

22 Jun 2013 13:33 | Geplaatst door Marcel

Under the new name Picture Time I just released my photo album again.

Download it here: Picture Time

Under the new name Picture Time I just released my photo album again. Download it here: Picture Time
Read more...

New version cPanel plugin

16 Apr 2013 09:28 | Geplaatst door Marcel

Today I released a new version of the WordPress installer for cPanel. It has quite changed, therefore I called it version 2.0. It has support for more languages, and you can easily add your own. Also the security has improved, you can only change the path now.

Today I released a new version of the WordPress installer for cPanel. It has quite changed, therefore I called it version 2.0. It has support for more languages, and you can easily add your own. Also the security has improved,…
Read more...

Viewing the viewport in css

11 Jan 2013 22:19 | Geplaatst door Marcel

Measure the viewportThere is much to do over responsive design, a technique to shape websites for for example a mobile phone. Or a television. Or a fridge.
At my job we use mostly the max-width media query.

With mobile phones there are several operating systems and browsers, and a pixel in hardware is not the same as a css-pixel. To simply show this I wrote a script so you can view which device has which viewport.

You can see the output of the script. You can also view the source code.

There is much to do over responsive design, a technique to shape websites for for example a mobile phone. Or a television. Or a fridge. At my job we use mostly the max-width media query. With mobile phones there are…
Read more...

Re-incarnation and statistics

09 Dec 2012 14:41 | Geplaatst door Marcel

Re-incarnation is part of many religions. Not normally in Christianity or Islam, but it is part of many Eastern religions. And in the West, many people are open to the idea of re-incarnation.

Just like economy, religion is not a science. In fact it’s mostly based on speculation, opinion and interpretation, while the assumed source can be contradictionary. To gather facts about religious subjects is not easy to do then.
Facts are a relative subject anyway, but mostly we mean with it something that can be regarded as true and that we can see or measure.
It is being said all too often, “It’s a matter of belief”.

Speculation is of course very interesting, and everything becomes possible. Any one of us has had at least 5 lives, and all at the yard of some King Louis the howmanieth. We love a good romantic picture, and we won’t let facts get in the way of that too easily.
Personally I am not so very interested in all the speculation in religions. I try to live my life based of facts. Which simply means there isn’t much religion in my life. But let’s just give it a try…

Religion and thus re-incarnation can be held against statistics, and that way you can draw possible conclusions. It’s relatively simple. The current world-population is about 7 billion. In the whole history of Homo sapiens there have been about 14 billion people. From the view of re-incarnation you could say that everybody who is now alive has had on average 1 previous life.
That’s an average, so imagine that 1 person from the West with 5 previous lives means there can be 4 North Koreans who had no previous lives.

Now you can doubt about those statistics, because untill recently there was no UN that maintained those statistics. But according to archeological material it is assumptuous that it won’t deviate much. In older times the human population was very thin distributed. It is only since the twentieth century that we are with so many.

Mind you, these statistics say nothing about re-incarnation as animals. Or as creatures on another planet. That can of course be possible, but again, that would be speculation.

I would not want to argue that re-incarnation does not exist. Or even that it does exist. I just don’t know if it does or not.
It does seem plausible that we can forget the romantic view we have of re-incarnation. Anyhow, life in older times was mostly filled with poverty, hunger and disease, and wasn’t very romantic.

Re-incarnation is part of many religions. Not normally in Christianity or Islam, but it is part of many Eastern religions. And in the West, many people are open to the idea of re-incarnation. Just like economy, religion is not a…
Read more...