help!!!!
5 posts
Page 1 of 1
Use this code in the <body> tag of your html code:
Code: Select all
<body onload="window.open("http://www.yoursite.com")">
comathi wrote:Use this code in the <body> tag of your html code:I think that that would cause a error, not sure though, if it does, try using single quotes:
Code: Select all<body onload="window.open("http://www.yoursite.com")">
Code: Select all
<body onload="window.open('http://www.yoursite.com')">
We shall let the revolution begin.. the revolution for freedom, freedom against censorship. We shall fight in the fields and in the streets, we shall fight in the hills; we shall never surrender
Codex wrote:Oh yeah, I forgot about that. You do indeed need to use the simple quotes, as the double quotes are already used for the purpose of adding JavaScript to the <body> element. ;)comathi wrote:Use this code in the <body> tag of your html code:I think that that would cause a error, not sure though, if it does, try using single quotes:
Code: Select all<body onload="window.open("http://www.yoursite.com")">
Code: Select all<body onload="window.open('http://www.yoursite.com')">
comathi wrote:thank you comathi + codexCodex wrote:Oh yeah, I forgot about that. You do indeed need to use the simple quotes, as the double quotes are already used for the purpose of adding JavaScript to the <body> element. ;)comathi wrote:Use this code in the <body> tag of your html code:I think that that would cause a error, not sure though, if it does, try using single quotes:
Code: Select all<body onload="window.open("http://www.yoursite.com")">
Code: Select all<body onload="window.open('http://www.yoursite.com')">
Find my programs on Softpedia
5 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023