PC Review


Reply
Thread Tools Rate Thread

archiving script help

 
 
smh
Guest
Posts: n/a
 
      31st Jan 2006
Please I need some help. I have this script in my front page working for
archiving and it is working perfect but the problem is when i choose for
example http://www....com/2006/01/28.htm it works but from this after this
date load the page if I go to choose another date it give me like that
http://www.....com/2006/01/2006/01/31.htm so I need some help please to let
it works. I mean when I choose another date it clear the old one and get the
new one choosed.

<form onsubmit="getarchive();return false">


<select name=Day size="1" tabindex="1">

<option VALUE=01 selected>01</Option>

<option VALUE=02>02</Option>

<option VALUE=03>03</Option>

<option VALUE=04>04</Option>

<option VALUE=05>05</Option>

<option VALUE=06>06</Option>

<option VALUE=07>07</Option>

<option VALUE=08>08</Option>

<option VALUE=09>09</Option>

<option VALUE=10>10</Option>

<option VALUE=11>11</Option>

<option VALUE=12>12</Option>

<option VALUE=13>13</Option>

<option VALUE=14>14</Option>

<option VALUE=15>15</Option>

<option VALUE=16>16</Option>

<option VALUE=17>17</Option>

<option VALUE=18>18</Option>

<option VALUE=19>19</Option>

<option VALUE=20>20</Option>

<option VALUE=21>21</Option>

<option VALUE=22>22</Option>

<option VALUE=23>23</Option>

<option VALUE=24>24</Option>

<option VALUE=25>25</Option>

<option VALUE=26>26</Option>

<option VALUE=27>27</Option>

<option VALUE=28>28</Option>

<option VALUE=29>29</Option>

<option VALUE=30>30</Option>

<option VALUE=31>31</Option></select><font
color="#FFFFFF">/</font><select name=Month size="1" tabindex="1">

<option VALUE=01 selected>01</option>

<option VALUE=02>02</option>

<option VALUE=03>03</option>

<option VALUE=04>04</option>

<option VALUE=05>05</option>

<option VALUE=06>06</option>

<option VALUE=07>07</option>

<option VALUE=8>8</option>

<option VALUE=9>9</option>

<option VALUE=10>10</option>

<option VALUE=11>11</option>

<option VALUE=12>12</option></select></font><font
color="#FFFFFF">/</font><font face='arial ' size=-1><select name=Year
size="1" tabindex="1">

<option VALUE=2005>2005</option>
<option value="2006" selected>2006</option>
</select></font></p>

<p dir="ltr" align="left">

<input type="submit" value="Go" style="float: left"></p>

<script type="text/javascript">

function getarchive() {

var d = document.forms[0]

var loc = d.Year.value + "/" + d.Month.value + "/" + d.Day.value +

".htm"

document.location.href = loc

}

</script>

</script>

</form>

Thanks in Advance


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
""Archiving"" Outlook 2007 archiving issue-Cant find solution anyw bigblue Microsoft Outlook Discussion 3 22nd Apr 2009 05:56 PM
OL2007 auto archiving even though auto archiving turned off =?Utf-8?B?YnJlbnQ=?= Microsoft Outlook Discussion 0 16th Feb 2007 11:17 PM
How would you write a script to add and apply a group policy in Active Directory? Script could be VBscript arpitaashokadessai@gmail.com Microsoft Windows 2000 Active Directory 1 14th Feb 2007 09:07 PM
Setting the auto-archiving folder via script =?Utf-8?B?VGhvbWFz?= Microsoft Outlook VBA Programming 2 8th Mar 2006 08:26 AM
BUG: Script blocking strips script parameters during script authorization Jonathan K. Shay Spyware Announcements 3 2nd May 2005 06:18 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:18 PM.