jQuery inside an iframe

I recently stumbled upon a little problem with an iframe. I tried finding some elements with jquery, but for some reason it can’t find inside an iframe. That’s why they (iframe developers) invented this method:

Continue reading “jQuery inside an iframe”

Advertisements

Installing java from sun on the new Ubuntu 9.10

How do I install Sun Java Development Kit (JDK) and Java Runtime Environment (JRE) under Ubuntu Linux? It appears that there are multiple JRE installed by default under Ubuntu. How do I select and use Sun JRE only?

This is a tough question, yet here’s a simple answer, even for beginners.

Continue reading “Installing java from sun on the new Ubuntu 9.10”

Creating a New Window with JavaScript

Creating a New Window with JavaScript

JavaScript gives you the ability to control exactly what the new window looks like, its size, and even its position on the screen.

There are two ways to apply the JavaScript command. You can add a JavaScript function to the HTML of a regular hyperlink, or you can create a JavaScript function that is triggered by an event (such as a click) on an object (such as a piece of text or an image). The latter method is used by those wicked people who cause windows to pop-up all over the place when you leave their sites (grrr!). Let’s see how it’s done…

Continue reading “Creating a New Window with JavaScript”