Satura meklēšana mājaslapā (saitā,portālā), noteiktā modulī ar priekšā pateikšanu līdzīga satura nosaukuma ziņā.
Matreālu izskatā, vajadzīgajam modulim pašā apakšā.
Code
<div style="display:none;"><div class="mat-title"><a href="$ENTRY_URL$" rel="nofollow"><img src="$IMG_URL1$" height="40px" width="30px" align="middle"> $TITLE$ - $VERSION$.Sezona vai taml</a></div></div>
CSS
Code
/*Meklejumi*/
#searchform {padding-bottom: 3px; height:40px; margin-left: 70px; display: inline-block;}
#searchform input[type="text"]{ height:34px; width:400px !important; font-size:13px; padding:0px 0px 0px 15px; border-radius: 5px; margin:0px 0px 0px 0px; color:#DCDCDC; border:1px solid #223845; -webkit-box-shadow: inset 0px 1px 2px 2px rgba(0, 0, 0, 0.75), 0px 1px 0px 0px #2b2b2b; box-shadow: inset 0px 1px 1px 1px rgba(0, 0, 0, 0.75), 0px 1px 0px 0px #2b2b2b; background: #181818; background-image: -webkit-linear-gradient(left, #181818, #132532); background-image: -moz-linear-gradient(left, #181818, #132532); background-image: -ms-linear-gradient(left, #181818, #132532); background-image: -o-linear-gradient(left, #181818, #132532); background-image: linear-gradient(left, #181818, #132532); }
#searchform input[type="submit"]{ background:url(http://ucozwebmeistars.ucoz.lv/_fr/50/2550870.png) top right no-repeat; cursor:pointer; border:none; width:23px; margin:0px 0px 0px 0px; padding:0px 0px 6px 0px; transition:none; -moz-transition:none; -webkit-transition:none; -o-transition:none; }
#searchform input[type="submit"]:hover {background-position:0px -25px;}
#poisk2 a:hover {background: #A3C2DC;}
#poisk2 a:last-child {border-bottom: 0px solid;}
#poisk2 { border: 3px solid #eee; position: absolute; margin-left: 0px; margin-top: 10px; display: none; font-weight: bold; width: 536px; box-shadow: 3px 3px 3px #000, inset 3px 3px 3px rgba(0,0,0,.9); z-index: 100;}
#poisk2::after { border-bottom: 8px solid transparent; border-left: 0px solid transparent; border-right: 8px solid #eee; border-top: 8px solid transparent; content: ""; left: 20px; position: absolute; top: -15px; transform: rotate(90deg); writing-mode: tb-rl;}
#poisk2 span { color:#444 !important; background: #EEE; display: block; padding: 8px;}
#poisk2 input { background: #263742 !important; color: #fff !important; font-weight:bold; border: 0px !important; cursor:pointer; border-radius:0 !important; padding: 2px !important; height: 30px; width: 100% !important; margin: 0px;}
#poisk2 input:hover {background: #315974 !important;}
#poisk2 a { border-bottom: 1px solid #DCDCDC; color:#000 !important; font-weight:bold; text-decoration:none; white-space: normal; background: #EEE; display:block; padding: 5px; height: auto;}
Kur vēlies redzēt meklētāju
Code
<form onsubmit="search();return false;" method="post" action="/load/" id="searchform" class="andrnone">
<input type="text" class="srch_fld" name="query" maxlength="100" style="width:520px;height:35px;" onblur="if(this.value =='') this.value='Ievadi daļu nosaukuma precīzākai meklēšanai...'" onfocus="if (this.value == 'Ievadi daļu nosaukuma precīzākai meklēšanai...') this.value=''" value="Ievadi daļu nosaukuma precīzākai meklēšanai..." id="querys">
<input type="hidden" name="a" value="2"><input class="searchSbmFl" name="sfSbm" value="" type="submit" title="Meklēt"><div id="poisk2"></div></form>
<script type="text/javascript" src="http://ucozwebmeistars.ucoz.lv/_fr/50/search_fast.js"></script>
Gribi citam modulim tad
Code
<form onsubmit="search();return false;" method="post" action="[b]/load/[/b]" id="searchform ....
Nomaini uz /news/ vai /dir/ un taml
Iznākums