Warning |
---|
title | Engine Compatibility |
---|
|
float_html is not supported by the Node engine. |
float_html(<position>, <vertical>, <horizontal>, <html>)
Like float but content from evaluating the expression rather than a URL.
Code Block |
---|
language | javascript |
---|
theme | Confluence |
---|
language | javascript |
---|
|
emit <<
float_html("absolute","top:50px","right:50px","<p>Floating Html</p>")
>>; |
The following ruleset shows emit() being used
Code Block |
---|
language | javascript |
---|
theme | Confluence | language | javascript |
---|
|
ruleset a1299x168 {
meta {
name "emit example"
author "nathan cerny"
logging off
}
dispatch {
// domain "exampley.com"
}
rule emit_example {
select when pageview ".*" setting ()
{
emit <<
$K('h1').append('Hello World');
>>;
}
}
} |
...