wviewweather.com Forum Index wviewweather.com
wview and Weather Topics
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

REMINDER: Add 2006 Entry to Your Homepage JavaScript

 
Post new topic   Reply to topic    wviewweather.com Forum Index -> Web Sites and HTML Templates
View previous topic :: View next topic  
Author Message
mteel



Joined: 30 Jun 2005
Posts: 435
Location: Collinsville, TX

PostPosted: Sun Jan 01, 2006 10:56 am    Post subject: REMINDER: Add 2006 Entry to Your Homepage JavaScript Reply with quote

Just a gentle reminder that as we have passed into a new year, you will need to add 2006 to your Java drop down menus on your home page.

File(s): /etc/wview/html/index.htx (or index-day.htx and index-night.htx)

Before:
Code:
function createYearlySelect(name)
{
    document.write("<select name=" + name + " size='1'>");
    document.write("<option selected='selected' value='2005'>2005</option>");
    document.write("<option value='2004'>2004</option>");
    document.write("<option value='2003'>2003</option>");
    document.write("<option value='2002'>2002</option>");
    document.write("</select>");
}


After:
Code:
function createYearlySelect(name)
{
    document.write("<select name=" + name + " size='1'>");
    document.write("<option selected='selected' value='2006'>2006</option>");
    document.write("<option value='2005'>2005</option>");
    document.write("<option value='2004'>2004</option>");
    document.write("<option value='2003'>2003</option>");
    document.write("<option value='2002'>2002</option>");
    document.write("</select>");
}


Happy New Year!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    wviewweather.com Forum Index -> Web Sites and HTML Templates All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group