August 30, 200917 yr I'm a website novice, putting together a site for a small organisation that publicises its minutes. As these do, and will continue to, go back over a number of years, I want to create a usuable way of them being accessed rather than generating a long list which will only increase over time. My idea is to get a drop-down where users click the month, another one next to it where they click the year and then a "Go" button which then brings up the relevant PDF/Word doc. Sorry, but I don't know the correct term for this, or if it's too 'ambitious' for me but any help or pointing me in the right direction to find out would be appreciated Thanks
August 30, 200917 yr not sure on what you mean by "publicises its minutes". what are these documents for? are they related to a time and date? do you want these files to be "archived" accordingly by date? in so, by month and year or by month and day or by year, month and day.
August 30, 200917 yr Author Okay, perhaps publicises should have just read publishes. Meetings are only monthly so it doesn't need any more detail than, eg February 2009 or June 2009, to reference them (I would also aim to incorporate a in-site search to help find particular topics.) My query was prompted by not wanting to generate just a long list of 'Month & Year' over time, which to my mind would look clumsy. Hope this makes it clearer!
August 30, 200917 yr well if you have the files stored on the webserver, it can be done via html e.g. <html> <head> <script type="text/javascript"> var selectmenu=document.getElementById("mymenu") selectmenu.onchange=function(){ //run some code when "onchange" event fires var chosenoption=this.options[this.selectedIndex] //this refers to "selectmenu" if (chosenoption.value!="nothing"){ window.open(chosenoption.value, "", "") //open target site (based on option's value attr) in new window } } </script> </head> <body> <form id="aform"> <select id="mymenu" size="1"> <option value="nothing" selected="selected">Select a document</option> <option value="document name">Document date</option> </select> </form> </body> </html> Document name would be the document e.g. july2009.doc, document date would eb something to remember the document by e.g. July Minutes 2009 to add more just copy the <option ..... </option> code above when a user selects the option, it uses javascript to refreshes the page automatically to open the document
Create an account or sign in to comment