quick javascript popup question [resolved - please ignore]
Guys
This....
VB Code:
<%
session.timeout = 60
Dim rdDate
Dim rdWDay
Dim rdTime
Dim postit
rdDate = Date()
rdWDay = WeekDay(rdDate)
rdTime = Time()
If rdWDay >= 2 AND rdWDay <= 6 then
If rdTime >= #9:00:00 AM# AND rdTime <= #5:30:00 PM# then
postit = true
Else
postit = false
End If
Else
postit = false
End If
if postit = true then
if session("postit") = "" then
'show popup
%>
<script language="javascript">
window.open("postpop.htm");
</script>
<%session("postit") = "Loaded"
end if
end if
%>
...seems to work ok however if I start adding any properties to the postpop.htm (height, width, toolbars=no etc) then it stops working. I don't get any errors or anything, just nothing happens.
All I want to do is popup a 180x180 popup between certain times of certain days when the user hasn't already seen it.
Any ideas?
Cheers