Tags:
view all tags
#VarADDTOHEAD ---+++ ADDTOHEAD -- add HTML to the HTML head section of the current page * Useful for TWiki applications to add custom CSS or !JavaScript to the HTML head section of a topic. Supplied TWiki variables will be expanded. =%<nop>ADDTOHEAD{}%= expands in-place to an empty string, unless there is an error in which case the variable expands to an error string. * Syntax: =%<nop>ADDTOHEAD{ "..." text="..." }%= * Supported parameters: | *Parameter:* | *Description:* | *Comment:* | | ="..."= | ID of the head block, such as ="MY_CSS"= | Optional but recommended | | =text="..."= | HTML text to add to the head section | Mutually exclusive with =topic=""= | | =topic="Web.TopicName"= | Name of topic that contains the full HTML text to add to the head section, such as =topic="%USERSWEB%.MyCssTopic"= | Mutually exclusive with =text=""= | | =requires="..., ..."= | Comma-separated list of other IDs this one depends on | Optional | * Example: =%<nop>ADDTOHEAD{ "MYBOX_CSS" text="<style type=\"text/css\"> .myBox { height: 22px; background-color: #AFB3C5; } </style>" }%=
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r1 - 2010-06-08
-
TWikiContributor
Home
Site map
Main web
ATLAS_2010_S8894728 web
Sandbox web
TWiki web
TWiki Web
User registration
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
User Reference
ATasteOfTWiki
TextFormattingRules
TWikiVariables
FormattedSearch
QuerySearch
TWikiDocGraphics
TWikiSkinBrowser
InstalledPlugins
Admin Maintenance
Reference Manual
InterWikis
ManagingUsers
ManagingWebs
TWikiSiteTools
TWikiPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Account
Log In
Register User
Edit
Attach
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback
Note:
Please contribute updates to this topic on TWiki.org at
TWiki:TWiki.VarADDTOHEAD
.