use < select > < / select > tag to save page space.
Posted on 2009 under Design Your Site, Web Page Design | No Comment20 Mar
In case you have lots of articles need to be show within the homepage,however,if we show all the links within homepage,that will make the homepage really ugly,how can we keep the links while make our site good looking.
We can use this script as follows:
<script language=JavaScript>
<! –
function MAP(s)
{var d = s.options[s.selectedIndex].value;
open(d,”open”);
s.selectedIndex=0 ;
}
//–>
</script>
<form name=milHomeLink>
<select onchange=”MAP(this);” size=”1″ selze=”1″ name=”select2″>
<option>Please choose your article</option>
<option value=”http://www.yoururlone.com”>yourtitleone</option>
<option value=”http://www.yoururltwo.com”>yourtitletwo</option>
<option value=”http://www.yoururlonethree.com”>yourtitlethree</option>
<option value=”http://www.yoururlonefour.com”>yourtitlefour</option>
<option value=”http://www.yoururlonefive.com”>yourtitlefive</option>
</select>
</form>
Quite easy right,in fact,it is very useful.
Hope this can help you to get save space for you pages.