Hello,
Right of got the Navigation sorted but how do I make some content appear when you first load the page? Because if i just put some in the DIV you wont be able to go back to it...
Please Help!
Tom
Printable View
Hello,
Right of got the Navigation sorted but how do I make some content appear when you first load the page? Because if i just put some in the DIV you wont be able to go back to it...
Please Help!
Tom
Type up your welcome page content in the div, then copy and paste the content on to a page called home.html then in the navigation have a link to home, just remember when you update the welcome text copy and paste it into the home.html file.
Thats just messy though :(
Its messy because you then have two instances of the file, when you could possible have just 1 or even none...
Also, yes I am very lazy :]
Mhmmm fine :(
Use the onLoad tag in <body>..
e.g
<body onLoad="mypagefunctionajaxthing('homepage.html')">
If the script in m head tag is:
and the code for the link is:Code:<script type="text/javascript">
function setBackgroundImage(url) {
document.body.style.backgroundImage = 'url(' + url + ')';
}
</script>
What would I change 'mypagefunctionajaxthing' to?Code:<a href="javascript:void(0)" onclick="open_url('pages/testing/test.html','rboxs');">Go to page 1</a>
<body onLoad="open_url('pages/testing/test.html','rboxs');">