Jump to content

jos.

Members
  • Posts

    58
  • Joined

  • Last visited

    Never

Everything posted by jos.

  1. I know this is the wrong spot to say this but you should rewrite how the get accesses the next calendar month. Also knowing the year would be nice. Looks pretty good though. Jos.
  2. You are right. I cannot be done. Just like you cannot post form data to a remote host with ajax either. Jos.
  3. I am pretty sure that It is a primitive calculator..... Maybe not... I think it just spits out what ever you put in ... tell you friend that he should learn better variable naming practices. Jos.
  4. yes it is very possible. use the onMouseout="" event from the email input area and use your nifty ajax functions to post this to a php script that will then return nothing if the email adder is unique and an alert of some sorts if the email is being used. it would be best if you tried to learn this for your self so here is a link to a very helpful tutorial ( more than enough to get you started. ) http://www.tizag.com/ajaxTutorial/ajax-javascript.php good luck Jos.
  5. not directly no. a jS script will only continue to run whilst the page the script is embedded in is loaded in the browser window. this does not mean that the script would die if you were to utilize an <iframe> to display another page within the current page. Hope to have helped. Jos.
  6. setTimeout('your_Attack_function',5000); the 5000 is milliseconds. Jos.
  7. no matter how many time i must insert my foot in my a** if i see that i did something wrong i go back and make it right no matter what the cost. :-\ You never know who might me looking. Jos.
  8. If you are then posting this info to a PHP script it would be a lot easier to parse the date when it gets to the server with PHP explode() function; and much more reliable too! Jos.
  9. make sure you are accessing the node properly through the parent node. ie... function changeEm(Your_form_name){ var Your_form = document.getElementById('Your_from_name'); //parent node var radioButton1 = Your_form.radio_button_name.checked; //first child node var radioButton2 = Your_form.radio_button_name.checked; //second child node if(radioButton1 == false){/*change the other one here*/} //conditions elseif(radioButton2 == false){/*Change the other one here*/} } <input type="radio" id="your_radio_button" onChange="changeEm(this.parentNode.id)" /> Hope that helped. Jos.
  10. Back one all the way.... Might I recommend vistaprint.com for the uploading of your fine work and printing needs. This is where I had my cards printed from. I uploaded my own design the customer service is tremendous and I only paid like 28$ for 250 cards. Jos.
  11. I think that it is almost there with the second one, although I have no idea what would kick it up. Is the lack of color intentional? Jos.
  12. <script type="text/javascript"> function check_box_count(the_form_name){ var the_form = document.getElementByName('the_form_name'); //get the form object by the name assign it to the the_form var var count = 0; initialize the count var for(i=0;i<the_form.length;i++){ // this loops through the elements in the form if(the_form.elements[i].type == 'checkbox'){ // if the element is one of the check boxes proceed if(the_form.elements[i].checked == true){ // if the check box is checked then increase the count count++; } } } if(count == 5 ){ return true; }else{ return false; } } </script> <!-- in the HTML form tag --> <form name="your_form" method="post" action="yourScript.php" onSubmit="check_box_count(this.name)"> <!-- calling on the submit action --> </form> This should do it. Jos.
  13. THAT IS A LOT OF FLASH! :-X the center of the body is nearly impossible to read with the white background. why would you not make the backup url on the portfolio page a link? the blue graphic at the top of the page in the header: is that a blue old lady bending over in front of me ?? the color scheme is good. Jos.
  14. syntax is : reciveing_script.php <?php $sent_input = $_POST['sent_input_name']; //the name in this POST superGlobal should be the same as the name of the input element. ?> I hope that answers your question. Jos.
  15. A) That is javascript. not php B) If you were useing php you could set up a Cron Job to handle the PHP script at those times C) is deprecated. Jos.
  16. --off topic-- I think that if you fixed them, you should be grateful some one trying to help you found them before some one who had no intention of helping you found them. Jos.
  17. try using the shuffle($user_id_array) function... Jos.
  18. I am still in the design phase of my calendar class and the portion in question simply changes the color of the day number when a National holiday is displayed all static holiday will be in a DB table and this table will be queried at the beginning of the creation of each month and the dates/Holiday Names will be stored in an array. If a day of the month matches a day in the array on the smaller calendar the date will change color if the larger calendar is used then the name of the Holiday will be displayed as well... Which would be using better practice as well as being more resource conservative? A) Calculate all special dates (easter,ashWeds,GoodFri,MemorialDay,LaborDay,ThanksGiving etc..) for the next 100 years and store the dates for them each in their respective holiday table and use a query search for them during the creation of months this method would be accurate and reusable seeing as how I could reapply the Holiday DB yet very non-flexible also this would mean more communication between the script and the MySQL server. B) Build a class that calculates these special dates on the fly for each month when that month is displayed. this method would be accurate and reusable and flexible but would require more processing when going from month to month... My goal in this project is to better understand OO principles and design, so please when you state an opinion explain why the method you would choose is more efficient. Thank you. Jos.
  19. i think the menu on the left should be a HOVER hide/show because I fell let down when my mouse hovers and nothing happens... its like this incredible build up of anticipation just to fall on my face clicking... I too agree with the PLAIN... also I think you should try centering Your (TABLE) :-X <-- switch to a div layout. this will also minimize your code when dressing it up as well as make it WAY easier for you to apply styles to and maintain just leaf around through google for web design pages.. and see what you like that is both subtle and attractive and develop your own style and the nav on the top right... Oh-boy... it took a solid 2min for my cursor to reach that thing... (higher screen resolution then the developing screen I guess) putting that in the container div and using the style as follows will help with that tremendously. <style> div.container{ margin: 0px auto; /*this will center the main element that holds the rest on your screen.*/ width: 800px ; /*or 1024 you cant use fluid on your site because of the lack of content.. you would have the same problems*/ } </style> <body> <div class="container"> <div class="header"> <h1>Header stuff here</h1> </div> <div class="body"> <p>Body suff here plus easy to decor your div too</p> <p>this is where you would place too nested divs one for the nav that would be floated left and one for the body text floated left or right.</p> </div> <div class="footer"><--footer stuff--> </div> </div> </body> see.... less code.. makes browsers Happy the www over I hope at least one thing helps you in your en devours. good luck... Jos.
  20. try explicitly setting the width for the <ul> and the <li> in your stylesheet... I know it will at least help with Opera. Jos.
  21. try this... <table bgcolor="transparent"</table> that might work... Jos.
  22. Failed validation, 116 Errors Its rather dark for a professional site. That is something that I too struggle with... What are your potential customers hoping to see in your web site? I think most non-IT people would be scared or intimidated by neon-green and black... Jos.
  23. you have some HTML errors: "POST" should be "post" and your input (craigprofile) is not closed this would contribute to getting an "<" on the page. besides you cannot put an OL into a text box/area... use a loop to put each $_POST[''] into it's own respective hidden text area. then display that Jos.
  24. <script language="JavaScript" type="text/javascript"> /*<![CDATA[*/ /*]]>*/ </script> is the syntax for the CDATA... also you might try separating your javaScript and HTML by putting your javascript in an external file and referencing it : <script type="text/javascript" src="external_javascript_file_name.js"></script> Jos.
  25. £ is the character code for the British £ pound ... just replace the symbol in your source code. Jos.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.