[TYPO3-typo3org] RFC: optimized switch for typo3.org-websites

Daniel Bruessler danielb at typo3.org
Fri Mar 4 12:58:22 CET 2011


Hello,

thanks for your ideas and for optgroup, so this is the new switch-code now (in the wiki). The same css-classes what the selector on www.typo3.org does use.
You can try it out at http://wiki.typo3.org/

<div id="services">
	<form action="#" id="portal-nav">
		<label for="portal-select">Go to:</label>
		<select id="portal-select" onchange="document.location.href = this.options[this.options.selectedIndex].value">
			<optgroup label="Main">
			  <option value="http://typo3.org">typo3.org (TYPO3 Main Site)</option>
			  <option value="http://news.typo3.org">News</option>
			</optgroup>
			<optgroup label="Community">
			  <option value="http://association.typo3.org">TYPO3 Association</option>
			  <option value="http://buzz.typo3.org">Buzz</option>
			  <option value="http://certification.typo3.org">Certification</option>
			  <option value="http://lists.typo3.org">Mailing lists</option>
			  <option value="http://typo3.com">typo3.com</option>
			</optgroup>
			<optgroup label="Developer Resources">
			  <option value="http://api.typo3.org">API</option>
			  <option value="http://bugs.typo3.org">Bugtracker</option>
			  <option value="http://flow3.typo3.org">FLOW3 / PHOENIX</option>
			  <option value="http://forge.typo3.org">Forge</option>
			  <option value="http://snippets.typo3.org">Snippets</option>
			  <option value="http://translation.typo3.org">Translations</option>
			  <option value="http://wiki.typo3.org" selected="selected">Wiki</option>
			</optgroup>
		</select>
	</form>
</div>

When you have some more ideas, then just post a comment.

Greets!
Daniel

== DocTeam ==
Want to help? Just see what topics you're interested in and join us!
http://typo3.org/teams/documentation-team/
http://forge.typo3.org/projects/show/team-docteam
http://forge.typo3.org/projects/typo3v4-documentation



More information about the TYPO3-team-typo3org mailing list