Here are a couple of tutorials I have written...
Goal: Load a web page from a domain which we do not control and put a floating div layer over its contents.
View TutorialGoal: Build a simple web-safe HTML color picker using object-oriented design in PHP.
View Tutorial