using css3 border-radius instead of js library when possible

This commit is contained in:
Pablo Luna
2011-04-02 11:53:13 +01:00
parent e722fdd720
commit 96a71d6d58
19 changed files with 320 additions and 171 deletions

View File

@@ -1,13 +1,15 @@
<%@ include file="/jsp/init.jsp" %>
<script type="text/javascript">
window.onload = function() {
var boxGenerator = RUZEE.ShadedBorder.create({ corner:16, border:1 });
boxGenerator.render('searchResult');
if(typeof isOldIE != "undefined"){
window.onload = function() {
var boxGenerator = RUZEE.ShadedBorder.create({ corner:16, border:1 });
boxGenerator.render('searchResult');
$("broweButton").addEvent('click', function() {
window.location = "${pageContext.request.contextPath}/c/search.htm?action=showAll";
});
};
$("broweButton").addEvent('click', function() {
window.location = "${pageContext.request.contextPath}/c/search.htm?action=showAll";
});
};
}
function toogleAdvanceSearch() {
var searchDiv = document.getElementById("searchAdvance");