|
Posted by Malcolm Dew-Jones on 09/18/05 01:45
rigga (rigga@hasnomail.com) wrote:
: Nobody can help? or have I not explained this well enough?
You explained it fine, but the problem involves a lot of code and is not
an interesting tricky problem, just a long one to explain, with a straight
forward answer if you just work through it yourself.
Basically, you need to figure out which "echo" command is creating the
link that needs changing. Then you need to put an if/the/else around that
echo so it either outputs a link or a label, depending on what you want
for that menu thing. Then you have to figure out what variable or set of
variables contains the information that lets you decide whether it's a
link or a label.
# you receive input,
# and then your menu loop sets a loop variable
loop on menu things
{
if ($this_loop_entry is the "same" as the $expanded_menu_item)
{
echo "the html to make a label"
}
else
{
echo "the html to make a link"
}
} # end of loop
the exact details just require some elbow grease.
--
This programmer available for rent.
Navigation:
[Reply to this message]
|