logo
Home XtGem- Templates- XtScript- bottom

url function

From html only
This function returns the url of the current page

Basic function
<xt:url />
http://syntax.xtgem.com/manual/xtgem/default?page=url_function

Path only
<xt:url type="path" />
/manual/xtgem/default

Domain only
<xt:url type="domain" />
syntax.xtgem.com

url encoded
<xt:url urlencode="1" />
http%3A%2F%2Fsyntax.xtgem.com%2Fmanual%2Fxtgem%2Fdefault%3Fpage%3Durl_function

No query string
<xt:url noquery="1" />
http://syntax.xtgem.com/manual/xtgem/default

You can use multiple parameters
<xt:url noquery="1" urlencode="1"/>
http%3A%2F%2Fsyntax.xtgem.com%2Fmanual%2Fxtgem%2Fdefault
Also see
Countdown Device type File count Gen time Random number Refefer url
Powered by XtGem
About us Contact Forum topÂ