PDA

View Full Version : Resolved How to load a new page when current page has loaded



ff123
04-19-2009, 05:55 AM
hey.. i need some codes
1. Page exits automatically after loading.

2. Page exits automatically and a new page opens

Nile
04-19-2009, 06:30 AM
Try:


<script type="text/javascript">
window.onload = function(){
this.open("http://google.com");
this.close();
}
</script>

Change highlighted to the page you want.

ff123
04-19-2009, 10:41 AM
Try:


<script type="text/javascript">
window.onload = function(){
this.open("http://google.com");
this.close();
}
</script>

Change highlighted to the page you want.

Thanx mate.. you rock!

Nile
04-19-2009, 03:01 PM
Glad to help you! Your welcome!

It seems your topic is solved... Please set the status to resolved.. To do this:
Go to your first post ->
Edit your first post ->
Click "Go Advanced" ->
Then in the drop down next to the title, select "RESOLVED"