__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional Code Samples | Crowded Nightclub? | Bits & Bobs
If you wanted to do it using server time I think a server side script like PHP is your best bet,
Hope this helps
It probably wont
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional Code Samples | Crowded Nightclub? | Bits & Bobs
if hour(now()) < 6 and hour(now()) > 0 then
' show whatever
end if
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional Code Samples | Crowded Nightclub? | Bits & Bobs
Good point, I managed to read it the opposite way around.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional Code Samples | Crowded Nightclub? | Bits & Bobs
Why would anyone resort to AJAX when it's so simple to do server side? What's the gain from crossing layers unnecessarily?
because the OP seemed to want to use JS rather than using server side stuff and AJAX allows you to use the minimum ASP script (admittedly it does require a fair bit of extra JS though).
If he's happy using ASP instead I agree it could be done very easily.