开发者

Any way of updating all links in spry menu bar in all pages?

开发者 https://www.devze.com 2023-03-25 04:05 出处:网络
I am currently designing an e-learning course for a college project. I am using a horizontal spry menu bar. I only have all updated li开发者_开发知识库nks to other pages on the homepage. All of the re

I am currently designing an e-learning course for a college project. I am using a horizontal spry menu bar. I only have all updated li开发者_开发知识库nks to other pages on the homepage. All of the rest are empty. I will finish up having more than 140 pages so is there anyway I can update the links from the homepage to work on all pages?

It would save me a huge amount of time.

Thanks.


There are two ways.

The first, and best, way is to call the menu code as some form of include on all pages of your site. You can put the ul structure of the menu system in a separate HTML file and use SSI or any server side language to call it as an include. If you don't have any access to SSI or a server side language, you can make the menu code a Dreamweaver Library Item and call it that way. The benefit here is the menu code exists in one place. Any update to the code will update throughout the site.

The second way is to use Dreamweaver's site-wide find and replace feature to make changes to the menu code on every page of your site.

0

精彩评论

暂无评论...
验证码 换一张
取 消