@ -17,7 +17,7 @@
< h4 > Code Snippet:< / h4 >
< pre >
< script src="http://#[ip]#:#[port]#/yacy/ui/js/jquery-1.3.1 .min.js" type="text/javascript"> < /script>
< script src="http://#[ip]#:#[port]#/yacy/ui/js/jquery-1.3.2 .min.js" type="text/javascript"> < /script>
< script>
$(document).ready(function() {
yconf = {
@ -44,7 +44,8 @@
< input type="hidden" name="prefermaskfilter" value="" />
< input type="hidden" name="former" value="" />
< input type="hidden" name="display" value="2" />
< input type="submit" name="Enter" value="Search" />
< input type="submit" name="Enter" value="Search" />
< input type="submit" name="nav" value="all" />
< /form>
< /div>
< / pre >
@ -63,7 +64,9 @@
< dt > modal< / dt > < dd > false< / dd >
< dt > resizable< / dt > < dd > true< / dd >
< dt > show< / dt > < dd > ''< / dd >
< dt > hide< / dt > < dd > ''< / dd >
< dt > hide< / dt > < dd > ''< / dd >
< dt > load_js< / dt > < dd > true< / dd >
< dt > load_css< / dt > < dd > true< / dd >
< / dl > < / form >
< h5 > Size and position (width | height | position)< / h5 >
Specifies where the dialog should be displayed. Possible values for position: 'center', 'left', 'right', 'top', 'bottom', or an array containing a coordinate pair (in pixel offset from top left of viewport) or the possible string values (e.g. ['right','top'] for top right corner).
@ -73,14 +76,32 @@ The effect to be used. Possible values: 'blind', 'clip', 'drop', 'explode', 'fol
If modal is set to true, the dialog will have modal behavior; other items on the page will be disabled (i.e. cannot be interacted with). Modal dialogs create an overlay below the dialog but above other page elements.
< p / >
If resizable is set to true, the dialog will be resizeable.
< h5 > Load JavaScript load_js (true | false)< / h5 >
< p >
If load_js is set to false, you have to manually load the needed JavaScript on your portal page. This can help to avoid timing problems or double loading.
< pre >
< script src="/yacy/ui/js/jquery-1.3.2.min.js" type="text/javascript"> < /script>
< script src="/yacy/ui/js/jquery-ui-1.7.2.min.js" type="text/javascript"> < /script>
< script src="/yacy/ui/js/jquery.dimensions.min.js"> < /script>
< script src="/yacy/ui/js/jquery.query.js"> < /script>
< script src="/yacy/ui/js/jquery.form.js"> < /script>
< script src="/yacy/ui/js/jquery.field.min.js"> < /script>
< script src="/yacy/ui/js/jquery-faviconize-1.0.js"> < /script>
< / pre >
< / p >
< h5 > Load Stylesheets load_css (true | false)< / h5 >
< p >
If load_css is set to false, you have to manually load the needed CSS on your portal page. This can help to avoid timing problems or double loading.
< pre >
< link media="screen" type="text/css" href="/yacy/ui/css/themes/start/ui.base.css" rel="stylesheet" />
< link media="screen" type="text/css" href="/yacy/ui/css/themes/start/ui.theme.css" rel="stylesheet" />
< link media="screen" type="text/css" href="/yacy/ui/css/yacyui-portalsearch.css" rel="stylesheet" />
< pre >
< / p >
< h5 > Themes< / h5 >
< p > You can < a href = "http://jquery-ui.googlecode.com/files/jquery-ui-themes-1.7.zip" target = "_blank" >
download< / a > ready made themes or < a href = "http://jqueryui.com/themeroller/" target = "_blank" > create< / a >
your own custom theme. < br / > Themes are installed into: DATA/HTDOCS/yacy/ui/css/themes/< / p >
< h4 > Bookmarklet:< / h4 >
< p >
< a href = "javascript:q = " " + ( window . getSelection ? window . getSelection ( ) : document . getSelection ? document . getSelection ( ) : document . selection . createRange ( ) . text ) ; if ( ! q ) q = prompt("You didn & # 39 ; t select any text . Enter a search phrase: " , " " ) ; if ( q ! = null ) location = "http://#[ip]#:#[port]#/yacysearch.html?display=2&verify=true&query=" + escape ( q ) . replace ( / / g , " + " ) ; void 0 " name = "yacy" > YaCy< / a >
< / p >
your own custom theme. < br / > Themes are installed into: DATA/HTDOCS/yacy/ui/css/themes/< / p >
#%env/templates/footer.template%#
< / body >