small fix for opera in yacyui-portalsearch

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5751 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
apfelmaennchen 16 years ago
parent 695c420bcd
commit eb65990f85

@ -1,11 +1,13 @@
$(document).ready(function() {
$.ajaxSetup({
timeout: 5000,
timeout: 10000,
cache: true
})
// apply default properties
startRecord = 0;
maximumRecords = 10;
yconf = $.extend({
url : 'is a mandatory property - no default',
theme : 'start',
@ -45,7 +47,7 @@ $(document).ready(function() {
$.getScript(script4, function(){});
$.getScript(script5, function(){
startRecord = 0;
maximumRecords = parseInt($("#ysearch input[name='maximumRecords']").getValue());
$("#ypopup").dialog({

@ -4,11 +4,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<script src="http://localhost:8081/yacy/ui/js/jquery-1.3.1.min.js" type="text/javascript"></script>
<script src="http://localhost:8080/yacy/ui/js/jquery-1.3.1.min.js" type="text/javascript"></script>
<script>
$(document).ready(function() {
yconf = {
url : 'http://localhost:8081',
url : 'http://localhost:8080',
theme : 'start',
title : 'YaCy Portal Search'
};
@ -17,7 +17,7 @@
</script>
<h3>YaCy Portal Search:</h3>
<div id="yacy">
<form id="ysearch" method="get" accept-charset="UTF-8" action="http://localhost:8081/yacysearch.html">
<form id="ysearch" method="get" accept-charset="UTF-8" action="http://localhost:8080/yacysearch.html">
<input name="search" id="yquery" type="text" size="15" maxlength="80" value=""/>
<input type="hidden" name="verify" value="true" />
<input type="hidden" name="maximumRecords" value="10" />
@ -31,11 +31,11 @@
</div>
<h4>Code Snippet:</h4>
<pre>
&lt;script src="http://localhost:8081/yacy/ui/js/jquery-1.3.1.min.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script src="http://localhost:8080/yacy/ui/js/jquery-1.3.1.min.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script&gt;
$(document).ready(function() {
yconf = {
url : 'http://localhost:8081',
url : 'http://localhost:8080',
theme : 'start',
title : 'YaCy Portal Search'
};
@ -43,7 +43,7 @@
});
&lt;/script&gt;
&lt;div id="yacy"&gt;
&lt;form id="ysearch" method="get" accept-charset="UTF-8" action="http://localhost:8081/yacysearch.html"&gt;
&lt;form id="ysearch" method="get" accept-charset="UTF-8" action="http://localhost:8080/yacysearch.html"&gt;
&lt;input name="query" id="yquery" type="text" size="15" maxlength="80" value=""/&gt;
&lt;input type="hidden" name="verify" value="true" /&gt;
&lt;input type="hidden" name="maximumRecords" value="10" /&gt;

Loading…
Cancel
Save