I haven't seen stumbleupon but I assume they use an iframe. This will work on all sites apart from those which detect such things and force you to reload the page fully. An example of this is the davidwash.name.
The best thing to do is look at the source when browsing the site..