Jump to content


Photo

I can't post


  • Please log in to reply
3 replies to this topic

#1 Hellusius

Hellusius
  • Members
  • PipPipPip
  • Advanced Member
  • 55 posts

Posted 30 August 2006 - 06:12 PM

I can't post my problem on here, everytime it gives me an error

#2 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 30 August 2006 - 06:13 PM

Do you have script tags in your code? If you do add a space around script.

#3 Hellusius

Hellusius
  • Members
  • PipPipPip
  • Advanced Member
  • 55 posts

Posted 30 August 2006 - 06:15 PM

I made this little script in the head

< script language="JavaScript">
<!-- Page counter
var Count=20;

Function increaser( ) 
{
onload="Count= Count + 1";
}

page counter -->
< /script>

and this little document.write in the body part

< script language="JavaScript">
document.write("Total page views: " + Count + "<br />");
< /script>

but nothing is being displayed, when I only do the text, it does but whenever I add the variable it doesn't anymore

#4 Hellusius

Hellusius
  • Members
  • PipPipPip
  • Advanced Member
  • 55 posts

Posted 30 August 2006 - 06:16 PM

That worked btw, thank you :)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users