I have a simple mailto form (kind of a "tell a friend type-thing). You click on the link from the home page and I have a javascript pop up the form in a new window. Fill out the form, send it...still no problem. How can I close the window once the email is sent (or at least once the...
We have a pretty intense javascript menu for my radio station webpage. It works GREAT in IE for Windows, but doesn't work in Netscape or on a Mac. The problem is the navigation bar. The script is too long to copy here. My website is supposed to go live tomorrow! ARRRGH!!! Here is the link...
We have a pretty intense javascript menu for my radio station webpage. It works GREAT in IE for Windows, but doesn't work in Netscape or on a Mac. The problem is the navigation bar. The script is too long to copy here. My website is supposed to go live tomorrow! ARRRGH!!! Here is the link...
A code like this works for validating a radio button:
if (!(mainform.Sex[0].checked || mainform.Sex[1].checked)) {
alert('Your sex is a required field. Please try again.');
event.returnValue=false;
}
Duh, here is the script
<script language="JavaScript">
<!-- Begin
var today = new Date();
var hrs = today.getHours();
var day = today.getDay();
if ((day >1) && (day<= 5))
if ((hrs >= 0) && (hrs < 1 )){
document.writeln("<A HREF=mailto:charlieb@klsyradio.com><IMG...
I have written code for my webpage (www.925klsy.com) that rotates the Djs pages based on the hour & the day. It works M-F, but I cannot get it to work Sat or Sun. Can anyone help?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.