fariborz khan
09-27-2007, 10:51 PM
Hi:
I want when i am in blog navbar show Forum & Home ,
and when i am in homepage navbar show Forum & Blog ,and when i am in Forum navbar show Blog & Home.
which code can i use?
my blog use as Blog
my vb use as Forum
my vba use as Home
evry thing instaled in default condition.
my friend suggest this code:
..................................................
The THIS_SCRIPT == 'blog' is the only name I am not sure about.
Code:
<if condition="THIS_SCRIPT == 'adv_index'">
<a href="">Forum</a>
<a href="/blog.php">Blog</a>
</if>
<if condition="THIS_SCRIPT == 'index'">
<a href="">Home</a>
<a href="/blog.php">Blog</a>
</if>
<if condition="THIS_SCRIPT == 'blog'">
<a href="">Home</a>
<a href="">Forum</a>
</if>
.................................................
add the domain name into the href=""
.................................................
But there Was a mistake,
when i am in another page of vba & vb & blog my logo come up and my header commix.
so i want in other page show link of home,blog,forum.
thanks
I want when i am in blog navbar show Forum & Home ,
and when i am in homepage navbar show Forum & Blog ,and when i am in Forum navbar show Blog & Home.
which code can i use?
my blog use as Blog
my vb use as Forum
my vba use as Home
evry thing instaled in default condition.
my friend suggest this code:
..................................................
The THIS_SCRIPT == 'blog' is the only name I am not sure about.
Code:
<if condition="THIS_SCRIPT == 'adv_index'">
<a href="">Forum</a>
<a href="/blog.php">Blog</a>
</if>
<if condition="THIS_SCRIPT == 'index'">
<a href="">Home</a>
<a href="/blog.php">Blog</a>
</if>
<if condition="THIS_SCRIPT == 'blog'">
<a href="">Home</a>
<a href="">Forum</a>
</if>
.................................................
add the domain name into the href=""
.................................................
But there Was a mistake,
when i am in another page of vba & vb & blog my logo come up and my header commix.
so i want in other page show link of home,blog,forum.
thanks