如何添加選單到您的網站? 我們使用 Web Page Maker 和 Superfish 作為一個例子。
1. 解壓 superfish.zip 並上傳到 Web 服務器
2. 在 WPM 選擇選單 “Insert” -> “HTML code …”, 鍵入以下:
<ul> <li> <a href="https://www.welldevelop.com/cht">Home</a> </li> <li> <a href="#">Product</a> <ul> <li><a href="https://www.welldevelop.com/cht/NextOffice.php">NextOffice 2010</a></li> <li><a href="https://www.welldevelop.com/cht/NextOffice_usb.php">NextOffice USB</a></li> <li><a href="https://www.welldevelop.com/cht/NextPDF.php">NextPDF + FormFiller</a></li> <li><a href="https://www.welldevelop.com/cht/NextSpeak_Mandarin.php">NextSpeak Mandarin TTS</a></li> <li><a href="https://www.welldevelop.com/cht/NextSpeak_English.php">NextSpeak English TTS</a></li> <li><a href="https://www.welldevelop.com/cht/Mastering_NextOffice.php">Mastering NextOffice</a></li> </ul> </li> <li> <a href="#">Company</a> <ul> <li><a href="https://www.welldevelop.com/cht/about.php">About Us</a></li> <li><a href="https://www.welldevelop.com/cht/contact.php">Contact Us</a></li> </ul> </li> <li> <a href="https://blog.welldevelop.com">Blog</a> </li> </ul>
3. In WPM, 選擇選單”Format” -> “Page Properties” -> “Header”
<link rel="stylesheet" type="text/css" href="css/superfish.css" media="screen"> <script type="text/javascript" src="js/jquery-1.2.6.min.js"></script> <script type="text/javascript" src="js/hoverIntent.js"></script> <script type="text/javascript" src="js/superfish.js"></script> <script type="text/javascript"> // initialise plugins jQuery(function(){ jQuery('ul.sf-menu').superfish(); }); </script>
Facebook Comments