Click to See Complete Forum and Search --> : button


Cozyheart
07-29-2003, 09:06 PM
I am pretty new to this.. .. I want to make two buttons than when pushed display text from my xml document.... how can i do this... I know how to make the buttons but when I click them I get nothing to be display.. I want to display list of my collection of collectables...

Phil Karras
07-30-2003, 10:48 AM
<input type='button' onCLick='ShowMe("NextPage.htm");'>

// in the JavaScript section in the <heah> section
//write the ShowMe() function

var NewPage = null;
function ShowMe(URL) {
NewPage = window.open(URL, "Display");
}

That should open a new window for you with the page you want, just replace NextPage.htm with the server-side page name you want. You may need to use the complete URL.