Click to See Complete Forum and Search --> : invisible button
russ801
03-06-2003, 11:30 AM
I want to add a button to a page that will be visible only if certain conditions are met.
Alternatively, a link that would be visible only if certain condidtions are met.
How would I do that.
Russ
khalidali63
03-06-2003, 12:05 PM
for any item on a page,use the style attribute with the following value
style="visibility:visible"
style="visibility:hidden"
Cheers
Khalid
russ801
03-06-2003, 01:41 PM
thank you.
I was looking at layers to provide that function but I really didn't want to go there.
I will now try to figure out the trigger mechanism.
Will likely be back :rolleyes:
Russ
russ801
03-06-2003, 04:06 PM
back.
your advice works if I hard code the style statement in. But I can't figure out how to get the correct value to the style= statement.
small function which determines if a value is null or not. if false visibility:visible. selection of button should take user to new page.
How do I return the value of my function to the style = statement?