Log in

View Full Version : if condition


VaaKo
01-11-2006, 01:11 PM
<if condition="$show['member']">
<tr><td class="vbmenu_option"><a href="javascript:;" onClick="wimpyPopPlayer('http://www.oneforum.org/stream/wimpy.php','wimpyMP3player','width=369,height=322' )">Music Box</a></td></tr></if>
I have this condition
how can I make it, that when a guest enter the forum, he sees the text "Music Box" without the link, and when he login, he can click on the text, coz it becomes an hyperlink...

is it possible?

peterska2
01-11-2006, 01:39 PM
<if condition="$show['member']">
<tr><td class="vbmenu_option"><a href="javascript:;" onClick="wimpyPopPlayer('http://www.oneforum.org/stream/wimpy.php','wimpyMP3player','width=369,height=322' )">Music Box</a></td></tr></if>
I have this condition
how can I make it, that when a guest enter the forum, he sees the text "Music Box" without the link, and when he login, he can click on the text, coz it becomes an hyperlink...

is it possible?

That would be


<tr><td class="vbmenu_option"><if condition="$show['member']"><a href="javascript:;" onClick="wimpyPopPlayer('http://www.oneforum.org/stream/wimpy.php','wimpyMP3player','width=369,height=322' )">Music Box</a><else />Music Box</if></td></tr>

VaaKo
01-11-2006, 02:04 PM
thanks
let me try that

it worked, but it's an hyperlink, when I press on it, nothing happens, this is what I want

can I use the [alt="description'] tag with the text?