#native_company# #native_desc#
#native_cta#

Quickbar

By Erik Seifert
on September 6, 2000

Version: 0.5

Type: Full Script

Category: HTML

License: GNU General Public License

Description: This is a combination Javascript/PHP
You can jump to a Destination in a “main”
Frame.

<script>
function go()	
	{	
	var loc=document.Referenz.shortcuts.options[document.Referenz.shortcuts.selectedIndex].value;	
	if (loc == "")	{}	else	{	parent.main.location=loc;	}	
	}

</script>


<?php

$locations=array("Home" => "main.html",
				 "---------------" => "",
				 "G&auml;stebuch" => "./guestbook/index.html",
				 "Counter" => "./guestbook/counter/counter.php",
				 "Sitemap" => "./sitemap/sitemap.php");

echo "<form name="Referenz">";		
echo "<select name="shortcuts" onchange="javascript:go();">";
		 
while (list($key,$val)=each($locations))
	{
	echo "<option value=$val>$key</option>";
	}
echo "</select>";
echo "</form>";
?>