Franklin, MA | Schools |

| Index | Search   

  FHS | Horace Mann | Remington | Annie Sullivan | Davis Thayer | Kennedy | Keller | Jefferson | Oak | Parmenter | Brick | ECDC | Lifelong  | Public | All Schools   
  QuickSite  
Franklin High School > Departments and Faculty > Business/Computer Technology > Designing Web Pages

Drop Down Go Menu

The Code:

<form name="combowithtext"> <select name="example" size="1" onChange="showtext()">

<option value=" http://www.free-backgrounds.com"> Free-backgrounds.com"</option>

<option value="http://www.dynamicdrive.com"> Dynamic Drive</option>">

<option value="http://www.reallybig.com"> Reallybig.com</option">

<option value="http://www.wsabstract.com"> Website Abstraction"&</option>

<input type="button" value=" Go!" onClick="gothere()"><br> <qs-textarea rows=5 cols=21 wrap="virtual" name="text"> </qs-textarea>

<script language="javascript">

var shortcut=document.combowithtext<br> var descriptions=new Array()

//extend this list if neccessary to accomodate more selections

descriptions[0]=" Click here for hundreds of eye popping backgrounds!"

descriptions[1]=" Ultra cool, free DHTML scripts for your site! !"

descriptions[2]=" The ultimate web builder network!"

descriptions[3]=" JavaScript tutorials and over 400+ free scripts... !"

shortcut.text.value=descriptions[shortcut.example.selectedIndex]

function gothere(){ location=shortcut.example.options[shortcut.example.selectedIndex].value }

function showtext(){ shortcut.text.value=descriptions[shortcut.example.selectedIndex] } //--> </script> </form>

15663  
Updated: Jan 9, 2006  



[Franklin] [Schools] [Index] [Search]

[QuickSite

This Web site has been developed for the benefit of residents, schools, businesses, and anyone who is interested in the town. It is a work-in-progress. We welcome your questions, comments, and feedback on how we can make it more useful and enjoyable to use. Please contact the Webmaster.

"Genius without education is like silver in the mine." - Benjamin Franklin

Copyright ©1995-2008 Town of Franklin, Massachusetts, All Rights Reserved. This website and its contents are the exclusive property of Town of Franklin.  No contents may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopy, recording, or any information storage and retrieval system, without permission in writing from the Town Administration. Permission to use includes acknowledging the source of the material. Click here to apply for permission.