mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 22:25:30 +00:00
62 lines
1.3 KiB
XML
62 lines
1.3 KiB
XML
<?xml version="1.0"?>
|
|
<?xml-stylesheet href="common.css" type="text/css"?>
|
|
|
|
<!DOCTYPE window>
|
|
|
|
<window
|
|
xmlns:html="http://www.w3.org/TR/REC-html40"
|
|
xmlns:rdf="http://www.w3.org/TR/WD-rdf-syntax#"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
|
|
<html:div flex="100%">
|
|
|
|
<html:script>
|
|
var count = parent.count;
|
|
|
|
pages = new Object();
|
|
pages[0] = "resource:/res/profile/content1.xul";
|
|
pages[1] = "resource:/res/profile/content2.xul";
|
|
|
|
function BrowserLoadURL(func)
|
|
{
|
|
if (func == "Prev") {
|
|
if (count > 0) {
|
|
count = count - 1;
|
|
}
|
|
}
|
|
|
|
if (func == "Next") {
|
|
if (count != 1) {
|
|
count = count + 1;
|
|
}
|
|
}
|
|
|
|
parent.frames[0].commit();
|
|
//parent.frames[0].location.replace( pages[count] );
|
|
parent.frames[0].location.href = pages[count];
|
|
|
|
if (count == 1) {
|
|
parent.count = count;
|
|
//parent.frames[1].location.replace("resource:/res/profile/navigationManagerFinish.xul");
|
|
parent.frames[1].location.href = "resource:/res/profile/navigationManagerFinish.xul";
|
|
}
|
|
}
|
|
|
|
|
|
function SetValue(name, value)
|
|
{
|
|
//dump("Set Value");
|
|
//dump("name: "+name+"\n");
|
|
//dump("value: "+value+"\n");
|
|
}
|
|
|
|
</html:script>
|
|
|
|
|
|
<html:center>
|
|
<html:button onclick="BrowserLoadURL('Prev');"> Prev </html:button>
|
|
<html:button onclick="BrowserLoadURL('Next');"> Next </html:button>
|
|
</html:center>
|
|
|
|
</html:div>
|
|
</window> |