|
Protecting your Pages
Today I'm going to start off with pretty mucg the simplyest
javascript you can get.
If you've visited the Worfolk Developers Library (or are
on it now), you will know that each time you click on the
library, downloads or code center tabs on the menu, you are
also redirected to the homepages in the main window. Take
a look at this source code.
Note: Since this was writen we removed the javascript from
our page so you want find it in the source code anymore.
<a href="javascript:parent.doodle.location.href
= 'http://www.whatever.com'">Whatever.com</a>
Fairly simple eh? It is basically a hyperlink between frames
but the script we used we removed the actual link so it linked
to the page automatically when the page loads. Heres how it
structures.
document.frame.url
And now you know howto link between frames!
|