CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Changing Menu item caption ?

Print topic Send  topic

Author Message
Ruslan Triffonoff
Posted: 05/08/2001, 1:19 PM

Hello,
First sorry about my poor english ...
I have a page and a form of "menu" type wich containes some Labels with HTML
option checked, I want to hide/or change caption of a particular menu item,
by changing the lable's html code . I tried placing some code in BeforeShow
event of the form but it doesn't seems to work.

code is something like (php)
$fldMyLabel = '<a href = "http://www.testrl.com> BlaBlaBla</a>' ;

BlaBlaBla is the new caption
As it seems to me using URL type item is not solution of my problem, because
the only thing I can change is the actual URL, but not the caption of the
link.


I am afraid I should use Jscript on the client side
Is there any way to change the label's html content from within CC
Thanks in advance
Rossy


Alexey Alexapolsky
Posted: 05/09/2001, 2:23 AM

I suggest you not to use URL field type in this case.
Set all fields subjected to change to "Label" type with "HTML"
checkbox checked in Field properties/Common tab.
Now you can easily stuff any html into those lables in "Before show" event.

--
Regards,
Alexey
CodeCharge Support




Ruslan Triffonoff <rossyit@yahoo.com> wrote in message
news:9d9kc7$6f3$1@mail.tankhill.com...
> Hello,
> First sorry about my poor english ...
> I have a page and a form of "menu" type wich containes some Labels with
HTML
> option checked, I want to hide/or change caption of a particular menu
item,
> by changing the lable's html code . I tried placing some code in
BeforeShow
> event of the form but it doesn't seems to work.
>
> code is something like (php)
> $fldMyLabel = '<a href = "http://www.testrl.com> BlaBlaBla</a>' ;
>
> BlaBlaBla is the new caption
> As it seems to me using URL type item is not solution of my problem,
because
> the only thing I can change is the actual URL, but not the caption of the
> link.
>
>
> I am afraid I should use Jscript on the client side
> Is there any way to change the label's html content from within CC
> Thanks in advance
> Rossy
>
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.