• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc
Show / Hide Table of Contents

JSEXCLUDE Theme Object Introduction

DNN Version: 09.02.00
10/02/2024 • 1 minute to read
Contributors  Timo-Breumelhof
10/02/2024  • 1 minute to read  • Contributors  Timo-Breumelhof

Allows you to exclude a Javascript (that DNN would normally load) from being loaded

Current Version: 01.00.00

Include in Theme

ASCX

<%@ Register TagPrefix="dnn" TagName="JsExclude" src="~/Admin/Skins/DnnJsExclude.ascx" %>  
<dnn:CssExclude runat="server" name="DnnDefault" />

HTML Token

[DNNJSEXCLUDE]

HTML Object Token

<object id="DNNJSSEXCLUDE" codetype="dotnetnuke/server" codebase="DNNJSEXCLUDE"> 
Attribute Description Default Posssible Values DNN Version
Name Name of the framework or library to remove DnnDefault
Bootstrap

01.00.00

Examples:

Don't load DNN.js

<dnn:JsExclude runat="server" name="DnnDefault" />
Theme ObjectsAbout ThemesCreating Themes
Back to top by the community, for the community... #DNNCMS