boxed div - element hiding

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
chaossepp

boxed div - element hiding

Post by chaossepp »

Hello!

I am trying to hide some content. The html structur looks like this:

Code: Select all

<div class="mainclass">
     <div class="subclass" style="....">
          <div>
               <div class="1" style="....">
                    <a class=offset" name="....."></a>
                    <div class="ad" style="....">catch this</div>
               </div>
               .
               .
               .
          </div>
     </div>
</div>


Well, is it possible to hide the "mainclass" - when the class "ad" contains a certain text (e.g. "catch this")? If this is possible, do you have any tips for me?

best regards,
josef
User avatar
Gingerbread Man
Posts: 1339
Joined: Fri Aug 12, 2011 5:28 am

Re: boxed div - element hiding

Post by Gingerbread Man »

Hello,
chaossepp wrote:Well, is it possible to hide the "mainclass" - when the class "ad" contains a certain text (e.g. "catch this")?
No. See forum/viewtopic.php?p=61772#p61772
chaossepp

Re: boxed div - element hiding

Post by chaossepp »

Ok, thanks!

best regards,
josef
Locked