|
|
shirazee
regular
Reg'd: Fri
Posts: 2177
Loc: Lancs, UK
|
|
As some of you may remember I'm responsible for the updating the website of the primary school where I work. I'm thinking ahead to Christmas and was wondering about an advent calender, where clicking on the date would take you to a picture done by one of the children. Does anyone know of a template or a how-to type link which could help me with this? Thanks in advance for any help/advice.
-------------------- Chinese Proverb - He who asks a question is a fool for a minute; he who does not remains a fool forever.
|
|
emailuser
regular
Reg'd: Wed
Posts: 190
|
|
www.emailuser.co.uk/countdown.php?word=13516
?word=13516 could be easily changed to ?day=01 etc .
If your webspace allows you to use a scripting language like php then its a pretty easy script to write .
Also , If you have 20 pictures for the 24th for example - then the script could easily pick one of the 20 pictures at random .
Perhaps you could ask one of the kids to write the script for you by way of a school project .
|
shirazee
regular
Reg'd: Fri
Posts: 2177
Loc: Lancs, UK
|
|
Quote:
Perhaps you could ask one of the kids to write the script for you by way of a school project .
only problem is it's a primary school, not aware of any computer whizz kids amongst them 
I'll have a play around, though not well up on coding, use a WYSIWYG prog to keep website up-to-date
-------------------- Chinese Proverb - He who asks a question is a fool for a minute; he who does not remains a fool forever.
|
emailuser
regular
Reg'd: Wed
Posts: 190
|
|
I suppose the chances are there will already be a pre written script already available that you can download and install on your own webspace .
Nowt to lose by having a google .
|
OldTimer
new user
Reg'd: Thu
Posts: 13
Loc: South Wales
|
|
May I ask: What WYSIWYG program you use?
Also: What photoediting program you have?
-------------------- OldTimer
http://www.genealogicalbranchlines.com
|
shirazee
regular
Reg'd: Fri
Posts: 2177
Loc: Lancs, UK
|
|
I use Adobe GoLive 4.0 & ArcSoft Photostudio 2000, nothing fancy.
I found this - anyone any comments on if I could adapt it? Thanks
-------------------- Chinese Proverb - He who asks a question is a fool for a minute; he who does not remains a fool forever.
Edited by shirazee (Fri Sep 22 2006 08:22 PM)
|
shirazee
regular
Reg'd: Fri
Posts: 2177
Loc: Lancs, UK
|
|
though the script posted above is CSS, so not sure if I can use this in Adobe GoLive??? any advice?
-------------------- Chinese Proverb - He who asks a question is a fool for a minute; he who does not remains a fool forever.
|
emailuser
regular
Reg'd: Wed
Posts: 190
|
|
In this sort of case it doesnt really matter what web author you use as you would be uploading and installing the script on your webspace rather than on your pc hard disk .
Although if you install something like XAMPP on your windows pc you can make it work just like a web server does as xampp installs apache/php/mysql on your windows pc .
As you dont really have much web authoring experience its kinda hard to say stuff in any sort of detail as it would be dutch to you & its best to learn how to walk before trying to run .
Much in the same way as old timer i'm afraid your at a sort of disadvantage as you dont have any html skills & even then html skills are limited as php scripts kinda need to 100% exact in order to work , Bad html coding wont stop the web browser from trying to render the webpage - but bad php script coding will .
Wish i could be more help - but its like a car mechanic trying to explain the internal combustion engine to somebody who has just passed their driving test .
php script coding isnt hard - it just takes time to learn .
|
shirazee
regular
Reg'd: Fri
Posts: 2177
Loc: Lancs, UK
|
|
Ok I'm making progress, someone suggested creating hotspots using the image map on the selected picture which I have done so all looking hunky dory at the moment - just need pictures from the kiddies to link to.
I noticed, emailuser, on your countdown link you suggested a way to only be able to click on the door when it was the correct date so I thought I would have a look at your script, but the link is no longer valid - any suggestions on how I could do this will be gratefully recieved Thanks again for any advice.
-------------------- Chinese Proverb - He who asks a question is a fool for a minute; he who does not remains a fool forever.
|
emailuser
regular
Reg'd: Wed
Posts: 190
|
|
Using php you can easily grab the date/time stamp from the web server .
php allows you to grab the date a number of different ways and formats/layouts .
Once you have that date in a format that suits you - its just matter of comparing THAT DATE with DOOR/FLAP DATE to see if its the equal or less than (i assume you dont want users to see certain images until that date has occured) .
Unfortunately i have my own websites to work on and i'm afraid i dont have the available time needed to write the php code for you .
Keep at it though as your bound to learn loads of usefull stuff if you manage to do it .
|
shirazee
regular
Reg'd: Fri
Posts: 2177
Loc: Lancs, UK
|
|
I wasn't expecting you to write anything for me thanks for your time and help.
-------------------- Chinese Proverb - He who asks a question is a fool for a minute; he who does not remains a fool forever.
|
shirazee
regular
Reg'd: Fri
Posts: 2177
Loc: Lancs, UK
|
|
For anyone who is interested, here is the finished result, just one more change to make tonight for tomorrow's picture then I can relax - website stats this month are already double the usual, so has been well worth the time and effort which went into it.
-------------------- Chinese Proverb - He who asks a question is a fool for a minute; he who does not remains a fool forever.
|
abbafan1972
regular
Reg'd: Fri
Posts: 1489
Loc: Birmingham, United Kingdom
|
|
had a quick look and was very impressed.
-------------------- Dell Inspiron 1720 running Vista Home Premium, Sky 8MB Broadband, Firefox 3.0.1, Thunderbird 2.0.0.14
|
shirazee
regular
Reg'd: Fri
Posts: 2177
Loc: Lancs, UK
|
|
Thanks - looking forward to doing something similar next year
-------------------- Chinese Proverb - He who asks a question is a fool for a minute; he who does not remains a fool forever.
|