(Classic) float_html()

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.

emit << 
	 float_html("absolute","top:50px","right:50px","<p>Floating Html</p>")
>>;

The following ruleset shows emit() being used

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');
            >>;
        }
	}
}

The following demonstrates the preceding rule:

Copyright Picolabs | Licensed under Creative Commons.