Forum Moderators: open
function portfolioitem(name, description, technologies, address, screenshot)
{
this.name = name;
this.description = description;
this.technologies = technologies;
this.address = address;
this.screenshot = screenshot;
}
portfolio = new Array();
portfolio[0] = (new portfolioitem("Adams-Cheshire Regional School District", "Official website for the Adams-Cheshire Regional School District. Included are policies, applications, photos, and other information.", "HTML, JavaScript, Cascading Style Sheets", "http://www.acrsd.net", "portfolio/acrsd.gif"));
portfolio[1] = (new portfolioitem("Hoosac Valley High School", "Official website for Hoosac Valley High School, located in Cheshire, MA. Included is the student handbook, scholarship bulletins, short sports movies, and plenty of pictures to give the viewer a feel for the school.", "HTML, JavaScript, Cascading Style Sheets", "http://hvhs.acrsd.net", "portfolio/hvhs.gif"));
portfolio[2] = (new portfolioitem("Adams Memorial Middle School", "Official website for Adams Memorial Middles School. Photos, a calendar, and the complete curriculum are all located in the site. This site was done in conjunction with the rest of the schools in the Adams-Cheshire Regional School District.", "HTML, JavaScript, Cascading Style Sheets", "http://amms.acrsd.net", "portfolio/amms.gif"));
portfolio[3] = (new portfolioitem("Cheshire Elementary School", "Official website for Cheshire Elementary School. The site is integrated with a previous version of the website in order to keep the original content -- but display it in a framework uniform with the other schools in its district.", "HTML, JavaScript, Cascading Style Sheets", "http://ces.acrsd.net", "portfolio/ces.gif"));
portfolio[4] = (new portfolioitem("C.T. Plunkett Elementary School", "Official website for C.T. Plunkett Elementary School in Adams, MA. This is the last in the array of schools that comprise the Adams-Cheshire Regional School District.", "HTML, JavaScript, Cascading Style Sheets", "http://ctp.acrsd.net", "portfolio/ctp.gif"));
portfolio[5] = (new portfolioitem("Stonybrook Properties, Inc.", "Internet presence for real estate/land development company Stonybrook Properties. This website was redesigned in October of 2003. Stonybrook continually updates their property listings through a customized program created by Freshed.", "HTML, JavaScript, Cascading Style Sheets, Active-X", "http://www.stonybrookland.com", "portfolio/stonybrook.gif"));
function drawportfolio(x)
{
portfolionavstring = "<a href='portfolio.html' class='printer'>go back</a> ¦ ";
for(q=0; q<portfolio.length; q++)
{
colorstring = "";
if(x == q)
{
colorstring = "style='color: #ff0000'";
}
portfolionavstring+=("<a href='javascript:drawportfolio(" + q + ")' " + colorstring + ">" + (q+1) + "</a> ¦ ");
}
newwin = document.open("text/html");
portfoliohtml = "<html><head><title></title><script language='javascript' src='scripts/portfolio.js'></script><link rel='stylesheet' href='styles/framestyle.css' type='text/css'></head><body><center><div class='topnav'>" + portfolionavstring + "</div><br><table cellpadding='5' style='border-spacing: 0px; border-collapse: collapse; margin: 0px' width='100%'><tr><td class='screenshot' rowspan='4'><img src='" + portfolio[x].screenshot + "'></td><td style='border-top: 2px solid #cccccc; border-right: 2px solid #cccccc; font-weight: bold'>" + portfolio[x].name + "</td></tr><tr><td style='border-right: 2px solid #cccccc'><span class='label'>Web Address: </span><a href='" + portfolio[x].address + "' target='blank'>" + portfolio[x].address + "</a></td></tr><tr><td style='border-right: 2px solid #cccccc'><span class='label'>Description: </span>" + portfolio[x].description + "</td></tr><td style='border-right: 2px solid #cccccc; border-bottom: 2px solid #cccccc'><span class='label'>Technologies: </span>" + portfolio[x].technologies + "</tr></td></table></center></body></html>";
newwin.write(portfoliohtml)
newwin.close();
}
I appreciate any ideas you can come up with...thanks guys.