PDA

View Full Version : DHTML coding


Tom
08-30-2002, 06:36 AM
Hello plz vist the link below before readding on
http://www.geocities.com/justtomnz/HomePage.html

i want to put the text on both sides on the window frame thing and when i click a link it goes into the little window thingy can anyone help!

Mhtml
08-31-2002, 03:00 PM
hmm... you could be a bit more specific but I believe what you want to do is targeting based.

example:


<a href="http://www.codingforums.com" target="this">codingforums.com</a>
<iframe name="this" src="http://www.w3schools.com"></iframe>
<a href="http://www.hotscripts.com" target="this">hotscripts.com</a>

when you click one of these links the browser gets the extra info from the link target="this" notice that the iframe has the attribute name="this".

On your page your iframe is called cwindow so to make the links open in it just add target="cwindow" to the <a> tag.