how to hide link
Started by mangama, Oct 27 2008 07:28 AM
43 replies to this topic
#1
Posted 27 October 2008 - 07:28 AM
any code to do this ?
|
|
|
#2
Posted 27 October 2008 - 07:32 AM
Moved to the correct forum.
Can you be more precise as to what you're talking about?
Can you be more precise as to what you're talking about?
#3
Posted 27 October 2008 - 10:48 AM
mangama said:
any code to do this ?
<style type="text/css">
.invis {
color: white;
}
</style>
<a href="#" class="invis">blabla</a>
#4
Posted 28 October 2008 - 01:21 AM
I don't think that is what he ment. More details please? Something like this.
www.codecall.net
jQuery Selectors Tutorial - jQuery Striped Table tutorial - jQuery Events - jQuery Validation
Sorry if I don't post as often as I did, I'll try to get here as much as possible! I'm working my bum off to get this scholarship and other stuff!
#5
Guest_Jordan_*
Posted 28 October 2008 - 04:57 AM
Guest_Jordan_*
nullbyte's method would work if you had a white background. A better method is to use the display: none CSS propert.
<style type="text/css">
a.hidden
{
display: none;
}
</style>
Then apply the class to a link:<a href="<URL>" class="hidden" id="myHiddenClass">link</a>You don't need the ID but if you include it later on you can use JavaScript to unhide the link (if you intend on showing it once a user clicks a button or something).
Edited by Jordan, 28 October 2008 - 05:43 AM.
#7
Guest_Jordan_*
Posted 28 October 2008 - 05:43 AM
Guest_Jordan_*
Whoops, typo.
#9
Guest_Jordan_*
Posted 28 October 2008 - 06:24 AM
Guest_Jordan_*
Lol, it would do just the opposite for him.
#11
Posted 28 October 2008 - 01:37 PM
Is that what display: none; does :eek: I never knew it actually hide it!
jQuery Selectors Tutorial - jQuery Striped Table tutorial - jQuery Events - jQuery Validation
Sorry if I don't post as often as I did, I'll try to get here as much as possible! I'm working my bum off to get this scholarship and other stuff!


Sign In
Create Account

Back to top









