View Full Version : Hyperlinking based on the date selected
01-15-2003, 03:50 PM
I am looking for code that does the following:
On daily basis I am recording a morning call and the output name is saved based on the date of that recording, the file name wil be for example 20030114.mp3 because recording was on that day.
I would like to have page with a month view calendar, when user click on a day, the hyperlink should be pointed to the file of that day, for example if user click on 01/15/2003, then sound file name 20030115.mp3 should work.
I hope I get this code here with manay thanks in advance.
01-15-2003, 05:52 PM
You could do something like this:
This passes the date only to the function which tacks on the file extension.
01-15-2003, 09:51 PM
Thanks for your reply
I tried it and it popup a message box with the date mentioned below + the extention defined in the function, what actualy I am looking for is the date to be extracted from the system, so when user click on January 1, 2003 in the month calendar, the link directly goes to the same date name file which will be 20030101.mp3
Hoping I could make my question more clear.
Appreciate your reply
01-16-2003, 12:15 AM
have u seen this
01-16-2003, 08:40 AM
I have do a small change to the code at the end lines by entering the string today and now when clcik on the link on today for example 01/17/2003, the pop up message will read 17.mp3, this great approach for me at least, I wonder if ther is other value for the current year and current month to get all the date:
Thanks for the link, I will give it a try and hope meet my requirement.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.