Jump to content

sugoi_kat

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by sugoi_kat

  1. i read in the tutorials that to set a page orientation you use the css2 property size.body { size: landscape }i was just wondering would i have to change the style tag from <style type="text/css"> to <style type="text/css2"> to use this property?and does this property mean that when you view the page in print preview it will automatically set it to landscape view?kat
  2. Hi,I don't know if this is the right place to post this, but ...I was just wondering how people implement those webpages, where there is a list of links at the top of the page, usually used for help/faq. When a user clicks on the link it directs them to the bottom where there is a paragraph on that topic and when the user clicks on the 'top' link the return to the top of the page.Kat
  3. hi i corrected the brackets,but it's still not checking the the date any ideas? by the way i forgot to mention that this code should have executed when a button is pressed to recalculate data in the report
  4. The user can view a report during a specific period by specifying the starting and ending date. What I want to do is check that the ending date of the period they specify isn't less than the start date. The code below is the current function i'm using to check that the period is valid. It takes values from the textbox on the page and compares the two dates and if the starting period is greater than the ending period, then an alert message appears. However, it doesn't seem to work. Am I doing this correctly? function checkDate(){ var dStart = document.stu_comp_ex_report.startDt.value; var dEnd = document.stu_comp_ex_report.endDt.value; if (dStart > dEnd) { window.alert("Make sure the start period is before the ending period"); } else } if (dStart = null || dEnd = null) { window.alert("Please ensure that the starting period and the ending period are stated"); } }}
  5. i'm just wondering if it was possible to use SQL to retrieve the latest information.Part of the database has to retrieve the last exercise the student has completed regardless of when they completed it, in other words, user's don't specify a date.The date of when this exercise is completed is going to be placed on the form along with the name of the exercise.
×
×
  • Create New...