Changeset 1065

Show
Ignore:
Timestamp:
06/09/10 14:53:57 (14 years ago)
Author:
miro
Message:

removed top navigation

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • applications/bdmtoolbox/doc/from_bdm/filter_html.pl

    r1062 r1065  
    196196} 
    197197 
     198#detach whole (filtered ;-)) contents table 
    198199$table->detach(); 
     200 
     201#find and detach navigation 
     202$i = 0; 
     203my $div_navigation; 
     204while ($div_navigation = $body->content_array_ref()->[$i++]) { 
     205    last if (defined $div_navigation->attr('class'))  
     206         && ($div_navigation->attr('class') eq 'navigation') 
     207         && (defined $div_navigation->attr('id')) 
     208         && ($div_navigation->attr('id') eq 'top') 
     209} 
     210$div_navigation->detach(); 
    199211 
    200212#print the result