Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Directing users to documents query

Featured Replies

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

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.

  • 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!

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.