用PHP和CSS制作活动按钮
上一篇 /
下一篇 2008-04-02 11:56:17
/ 個人分類:php
I@}4]{!C,s0This tutorial will explain you how to make your button (link) in the navigation active when you are on a specific page. Example can be seeinghere.
YJ0d3Z8E1_Y@?6U0本教程将展示如何让你的按钮(连接) 在特定的页面上起到导航作用(处于激活状态)。这里是演示的效果若鄰博客-pT3^EB0HG@*h
jw8A
F
4bVOe+i0Let’s begin with the layout. Create five pages:
wB/sd(t;`0让我们从布局开始,先建立5张页面:若鄰博客2u#`v&n2vi9e+w;v
- index.php
- about_us.php
- services.php
- testimonials.php
- contact_us.php
b{Tr O0Copy and paste the following structure in all of them - I’m just creating navigation for our pages because that’s the only thing which we will need here:若鄰博客#q$G-^a!q/Rn
P
复制粘贴下面的结构 - 我们仅仅建立了导航部分: