HTML help please, thank you if visit = 13 no more popups

Fira

banned
I have tried
<var visit
visit+=1
if not visit = 13>
<script type="text/vbscript">
MsgBox "I enjoy lemon juice."</script>
<script type="text/vbscript">
MsgBox "I enjoy Motley Crue music"</script>
<script type="text/vbscript">
MsgBox "Tornadoes can climb mountains"</script>
<script type="text/vbscript">
MsgBox "Spiders are arachnids and not insects"</script>
<script type="text/vbscript">
MsgBox "Meow"</script>
<script type="text/vbscript">
MsgBox "Tornadoes can cross water (Aqua)"</script>
<script type="text/vbscript">
MsgBox "I love Diet Root Beer"</script>
<script type="text/vbscript">
MsgBox "I love Oreos"</script>
<script type="text/vbscript">
MsgBox "Tornadoes can climb hills"</script>
<script type="text/vbscript">
MsgBox "ROCKY V is the best movie ever!!!!!!!"</script>
<script type="text/vbscript">
MsgBox "I love cats!!!!"</script>


No luck though
 

kobaj

VIP Member
The problem you're having is this isnt HTML. Its a vbscript. (Which I've never used).

What it looks like is you want a popup to come up based on how many times a person has visited a site? This can't be done clientside (scripts) unless you use a cookie. And frankly both topics are far too long to explain in a forum post.

Learn up on Javascript (better than vb imo), popups, and cookies. If you're still having problems, ask again with your modified code and we'll see if we can help :).
 
Top