If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
I like it when you say I'm not java guru, see not me too, but at least you don't scare of the java code like I do, sometimes is definitely needed then I seek for help, but if I can avoid it, that is the best
for example, did you try to make the button title that you want to change as a variable? then you can define this variable based on condition in some event...
hmmm wait a minute, do you mean the "alt" "title" thing the light-yellow "caption" ? the hint? or the button label itself?
Then I want to show the items count in the button's caption, that's reasonable, you won't want your user only switch to the page to see how many records in the page. If can show in the button's text, that's obverse.
I tried to set the language var programmly, and it works to the page's header, in the code, I can change the page's header through a code like this:
hi again, you mean something like blogs or social networks, to show My todo (3) and my done (20)
okay, same idea, create a variable in your onScriptInit and have it calculate that number for your items
then in your button text put something like "My todo [glob_mytodo]" this way you can add to your calculation code that if <=0 then show nothing, otherwise, show this number to user next to the button title, woudn't work this way? seems simple, not sure