Ignore:
Timestamp:
Oct 29, 2013, 10:57:45 PM (10 years ago)
Author:
Miklfe
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Slide/js/slide.js

    r25221 r25222  
    211211                                                                };
    212212                        var pane                        = $('.scrollpane').jScrollPane(settings);
    213                         var api= pane.data('jsp');
     213                        var api                         = pane.data('jsp');
    214214
    215215                //open the slide
     
    219219                        });
    220220
    221                         $(function()
    222                                 {
    223                                 var wipalen              = window.parent.length;
    224                                 if(wipalen==1)
    225                                         {
    226                                         $('#menubar').remove();
    227                                         $('#theHeader').addClass('headbord')
    228                                 };
    229                                 if(wipalen>3)
    230                                         {
    231                                         $('#menubar').remove();
    232                                         $('#theHeader').addClass('headbord')
    233                                 }
    234                         });
     221                $(function()
     222                        {
     223                        if(top !== self)
     224                                {
     225                                $('#menubar').remove();
     226                                $('#theHeader').addClass('headbord')
     227                        }
     228                });
    235229               
    236230                //close the slide
Note: See TracChangeset for help on using the changeset viewer.