simmerdown
Programmer
I'm developing an emergency-classes-canceled alert system on an educational site, and I'd like to pop up a new window with the relevant announcements [COLOR=cc0000]if there are any announcements to be made.[/color] That is, if the appropriate file on my server is empty/null/has no content, I don't want the window popping up.
I already know how to pop open a new window, it's the conditionality that's got me stumped.
Is this feasible without resorting to ColdFusion or .asp? I'm limited to inserting code into existing pages, and I don't have the freedom to modify those pages into a CF app or something else. So if you've got a bit o' JavaScript magic for me, I'd much appreciate it.
I already know how to pop open a new window, it's the conditionality that's got me stumped.
Is this feasible without resorting to ColdFusion or .asp? I'm limited to inserting code into existing pages, and I don't have the freedom to modify those pages into a CF app or something else. So if you've got a bit o' JavaScript magic for me, I'd much appreciate it.