HTML - Private Message Alert
how can i make my private message alert page refresh every 20 seconds or so.
if you need to see the code am using just let me know. Thanks Similar TutorialsI was wondering is there a possible way to make a private messagebox like the facebook has?.. I'm a professional photographer, I taught myself how to design websites in the beginning of 07. While my site www.8aphotography.com may be basic it has a look that I enjoy. My question is how can I get a simple way for my clients to login to a private gallery. I searched Google and so forth but came across nothing that showed how to do it. I'm looking to be able to give my clients a user name and password that they could type in to view their photographs. Anyones help would be greatly appreciated. Philip Hi, I have tried finding what I need but honestly don't know where to begin. The issue is, we have a web site that is public. We would like to have a calendar type option where we can post events that only our members can see. Can anyone help me with this? I don't know if it's to big of a problem that it cannot be done. I do not know how hard this would be to implement. Thank you in advance! I have very limited knowledge of any programming. I own a site and would like to host a 2nd private website where users can email to. The catch is that they when I hand out the email as xxxxxxx@mysite.com (xxxxxxxxx being anything,) I can trace back to anyone who sends me spam. This is similar to spamgourmet.com ,infact it is pretty much the same thing. The only problem I find with spamgourmet is that emails are processed EXTREMELY slowly. Can anybody help me? I'm looking for code that would let me do what I said up there or some kind of script or where I should host the site. Thanks Im getting an error in line 44 of my code, my body tag with upload in it. The error says object expected. Any advice? Code: <HTML> <HEAD> <TITLE> **** </TITLE> <SCRIPT type="text/javascipt"> var Color= new Array(9); Color[1] = "ff"; Color[2] = "ee"; Color[3] = "dd"; Color[4] = "cc"; Color[5] = "bb"; Color[6] = "aa"; Color[7] = "99"; Color[8] = "88"; Color[9] = "77"; Color[10] = "66"; Color[11] = "55"; Color[12] = "44"; Color[13] = "33"; Color[14] = "22"; Color[15] = "11"; Color[16] = "00"; function fadeIn(where) { if (where >= 1) { document.bgColor="#" + Color[where] +"0000"; where -= 1; setTimeout("fadeIn("+where+")", 15); } else { setTimeout('fadeOut(1)', 15); } } function fadeOut(where) { if (where <=16) { document.bgColor="#" + Color[where] +"0000"; where += 1; setTimeout("fadeOut("+where+")", 15); } else { setTimeout("fadeIn(16)", 15); } } </SCRIPT> </HEAD> <body onLoad="fadeIn(16)"> <p></p> </body> </HTML> hey guys, I don't know if you can do this in HTML or should it be in server side, but: is it possible for like when you click on a link that will be going to other website, to have a note popup saying that you are leaving the (current)website. I don't want to use Javascript alert messg for this becuase it's annoying. I just want it to say it and then like 3 secs later, just disappear. yes, i think this is worthless, but it's from the people above me that wants it on the site. Gosh i just dont know. please help I have this alert box that I would like to add a sound after you click ok. Can this be done to the script I have here? Thanks //<![CDATA[ var alertmessage="Well this the last and finale Assignment for the JavaScript Level One Course" //Alert only once per browser session (0=no, 1=yes) var once_per_session=1 function get_cookie(Name) { var search = Name + "=" var returnvalue = ""; if (document.cookie.length > 0) { offset = document.cookie.indexOf(search) if (offset != -1) { // if cookie exists offset += search.length // set index of beginning of value end = document.cookie.indexOf(";", offset); // set index of end of cookie value if (end == -1) end = document.cookie.length; returnvalue=unescape(document.cookie.substring(offset, end)) } } return returnvalue; } function alertornot(){ if (get_cookie('alerted')==''){ loadalert() document.cookie="alerted=yes" } } function loadalert(){ alert(alertmessage) } if (once_per_session==0) loadalert() else alertornot() //]]> can anyone write up a quick script on how to do the following? Please? Well, i just want visitors to be able to click on a link and then a have to wait 2 secs, then it opens in a new window. Please this is very important for me. Help. Okay well the way i have done my website is quite simple i made the site in photoshop and the sliced it up and used dreamweaver to do the whole html thing, but in the main page i have the box for news and do not know how to make it so i can have it like scrolling because the way it's now is just a grey box. this is the site; Da-nexgen.com If there is a site or something that teaches you better how to make a site from photoshop please let me know. I'm not sure if this is the right forum - I just signed up. But my question: I'm making a video for youtube that is going to require a couple of websites (I'm making) and an alert box. I've gotten the alert box to say what I want, but I want to change the 'title' on the box. Code: <script language="javascript" type="text/javascript"> alert('Error-Internet is full. Please try again later.') </script> It says, for the title, "JavaScript Application". Is there a way I can edit this? Thank you! how do i make it that when i click on a button it goes to an alert but i already have an onclick functiion for the button. HTML Code: <html> <head> <title> iodhaoidhoa </title> <script language="javascript"> function add(a,b) { var ans = a + b document.write("The sum is " + ans) } </script> </head> <body> <input type="button" value="Whats 6+4" onclick="add(6, 4)") </body> <html> basically i want it that when i click the button it will show an alert saying that the sum is 10 Hello, i recently attempted to swap from a table style nav bar to getting them to float you can see my before and after here. Befo www.cleverblobs.co.uk/index2.html after: www.cleverblobs.co.uk/index1.html Hey guys, I'm totally new at building websites, and I currently make one for my church. I use a Mac and use Firefox and Safari and the site looks great on them, but on PCs with IE6 or 7 it looks pretty neglected and ugly. I was wondering, to discourage people from using IE6 or 7, is there was a way to display a banner or text box (Using HTML) at the top of the page that would be displayed only if the viewer was using IE? Thanks in advance. Im getting an error in line 44 of my code, my body tag with upload in it. The error says object expected. Any advice? Code: <HTML> <HEAD> <TITLE> **** </TITLE> <SCRIPT type="text/javascipt"> var Color= new Array(9); Color[1] = "ff"; Color[2] = "ee"; Color[3] = "dd"; Color[4] = "cc"; Color[5] = "bb"; Color[6] = "aa"; Color[7] = "99"; Color[8] = "88"; Color[9] = "77"; Color[10] = "66"; Color[11] = "55"; Color[12] = "44"; Color[13] = "33"; Color[14] = "22"; Color[15] = "11"; Color[16] = "00"; function fadeIn(where) { if (where >= 1) { document.bgColor="#" + Color[where] +"0000"; where -= 1; setTimeout("fadeIn("+where+")", 15); } else { setTimeout('fadeOut(1)', 15); } } function fadeOut(where) { if (where <=16) { document.bgColor="#" + Color[where] +"0000"; where += 1; setTimeout("fadeOut("+where+")", 15); } else { setTimeout("fadeIn(16)", 15); } } </SCRIPT> </HEAD> <body onLoad="fadeIn(16)"> <p></p> </body> </HTML> My code says that there's an error on line 44 which is the body tag with "onload" in it, i can't seem to find the solution to this error, any advice? <HTML> <HEAD> <TITLE> **** </TITLE> <SCRIPT type="text/javascipt"> var Color= new Array(9); Color[1] = "ff"; Color[2] = "ee"; Color[3] = "dd"; Color[4] = "cc"; Color[5] = "bb"; Color[6] = "aa"; Color[7] = "99"; Color[8] = "88"; Color[9] = "77"; Color[10] = "66"; Color[11] = "55"; Color[12] = "44"; Color[13] = "33"; Color[14] = "22"; Color[15] = "11"; Color[16] = "00"; function fadeIn(where) { if (where >= 1) { document.bgColor="#" + Color[where] +"0000"; where -= 1; setTimeout("fadeIn("+where+")", 15); } else { setTimeout('fadeOut(1)', 15); } } function fadeOut(where) { if (where <=16) { document.bgColor="#" + Color[where] +"0000"; where += 1; setTimeout("fadeOut("+where+")", 15); } else { setTimeout("fadeIn(16)", 15); } } </SCRIPT> </HEAD> <body onLoad="fadeIn(16)"> <p></p> </body> </HTML> ok i have this code it works fine for what i want but also id like to add in when the option is selected to have an alert that pops up acording to what option was selected Code: <html> <head> <title>Tech Support</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <form> <select onchange="this.form.solu.value=this.options[this.selectedIndex].value"> <option value="" selected>Select from Drop Down List</option> <option value="Plug in the Computer">No Power</option> <option value="Turn on the Monitor">Screen is Dark</option> </select><br> <br> <table> <tr> <td valign="top">Solution:</td> <td><textarea name="solu" rows="3" cols="30"></textarea></td> </tr> </table> </form> </body> </html> hi guys, ive got a quiz box (its rubbish but its for an assignement) and atm my results pop up in an alert box, how would i get the results to be written into a div on my html page? thanks for any help. sam Code: var ans = new Array; var done = new Array; var yourAns = new Array; var explainAnswer = new Array; var score = 0; ans[1] = "b"; ans[2] = "b"; ans[3] = "a"; ans[4] = "c"; ans[5] = "b"; explainAnswer[1]="Roar is Blackburn's mascot"; explainAnswer[2]="John Coleman is Accrington's manager"; explainAnswer[3]="The picture was infact David Beckham"; explainAnswer[4]="The golden oldie Ryan Giggs was PFA Player of the year"; explainAnswer[5]="The reason why Answer 5 is Blah Blah Blah"; function Engine(question, answer) { yourAns[question]=answer; } function Score(){ var answerText = "How did you do?\n------------------------------------\n"; for(i=1;i<=5;i++){ answerText=answerText+"\nQuestion :"+i+"\n"; if(ans[i]!=yourAns[i]){ answerText=answerText+"\nThe correct answer was " +ans[i] + "\n"+explainAnswer[i]+"\n"; } else{ answerText=answerText+" \nCorrect! \n"; score++; } } answerText=answerText+"\n\nYour total score is : "+score+"\n"; //now score the user answerText=answerText+"\nComment : "; if(score<=0){ answerText=answerText+"You need to learn some more"; } if(score>=1 && score <=1){ answerText=answerText+"Bit more practice needed"; } if(score>=2 && score <=2){ answerText=answerText+"Bit more practice needed"; } if(score>=3 && score <=3){ answerText=answerText+"Neither bad or birlliant. Good effort"; } if(score>=4 && score <=4){ answerText=answerText+"4/5 aint bad!"; } if(score>4){ answerText=answerText+"You are a footballing expert!!"; } alert(answerText); } Is there a way to change the buttons in an alert window? By alert widnows I mean use <script>alert ('Message Here') </script> or the JS version of this. I want to add to none of my questions and I cannot find the way to do it. Todd How can I make it so a user can't resize a message box in safari? It messes with my site layout if it is changed. |