0

Is there any way I could make specific text strings "invisible" on my web page?

For example,

If I were to specify the string "hxxp://nullrefer.com/?", I would need that text to appear invisible on my page everywhere it's mentioned, automatically.

So, if the url "hxxp://nullrefer.com/?hxxp://www.Amazon.com" were to be mentioned on my page, viewers would only be able to see the "hxxp://www.Amazon.com" portion of it. Almost as if you were to turn the Opacity of to the text down to 0% for that specific string only, everywhere it appears on the page, automatically. I need it to still physically be there, but be as invisible as possible.

Are there any scripts out there for something like this?

3
Contributors
2
Replies
3
Views
5 Years
Discussion Span
Last Post by dany12
0

you can use a an id and write something like this

index.html
<html>

    <head>

    <link rel="stylesheet" type="text/css" href"your.css"/>
    <script type="text/js" src="main.js"/>
    </head>
        <body>
        <div id="content">

        <a href="google.com"> your link</a><!-- goes to google -->


        </div>
        </body>
</html>


main.js

$(document).ready(function() {
   $('#content a').hide();
 });
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.