PDA

View Full Version : Whats Wrong



BullDog_Flash
August 24th, 2003, 05:14 PM
What is wrong with this code here I just started javascript and some HTML so I am a biut rusty.

<HTML>
<HEAD>
<title>Fun With Phonics</title>
<SCRIPT LANGUAGE="JAVASCRIPT">
function cgngSite() {
alert("You are about to get transported to new site")
location = "http//www.scsite.com
>
</HEAD>
</HTML>

mdipi
August 24th, 2003, 05:18 PM
never closed the site with another quotation. its fixed here



<HTML>

<HEAD>

<title>Fun_With_Phonics</title>

<SCRIPT LANGUAGE="JAVASCRIPT">

function_cgngSite(){
alert("You are about to get transported to new site")
location="http//www.scsite.com"

</HEAD>

</HTML>

BullDog_Flash
August 24th, 2003, 05:29 PM
Thanks

mdipi
August 24th, 2003, 05:45 PM
no prob.