Page 1 of 1

Javascript Code?

Posted: Tue May 06, 2008 6:07 pm
by benjaminj88
Alright now I have been trying to work out a java script code but have yet to get the correct reaction that I want from it.
The script I want would include another page onto the currant page, after clicking a link. Along with that I want to make another link which will in turn remove the second page that loaded.

So in general it needs to open a new document on the currant page through a link, then have another link which will close the document from the page. Anyone have any ideas? Let me know thanks.

Re: Javascript Code?

Posted: Tue May 06, 2008 7:01 pm
by Christopher
Post your code.

Re: Javascript Code?

Posted: Tue May 06, 2008 8:43 pm
by benjaminj88
that's the problem I don't know exactly how to place information on the link so that I can gather it and make an if statement to output a different code for each link to include or require a different page, along with how to close it.

Re: Javascript Code?

Posted: Tue May 06, 2008 11:10 pm
by Christopher