The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Search

View previous topic View next topic Go down

Solved Search

Post by petros_7 on August 4th 2011, 7:26 pm

I have a script search...



and I want to tell the to put code to find directly to the results! No this code /search

thank you!!!

petros_7
Forumember

Male Posts : 341
Reputation : 2
Language : Greek
Location : Greece

http://www.thegreeksenergy.com/forum

Back to top Go down

Solved Re: Search

Post by Nera. on August 4th 2011, 11:39 pm

Hi,

Can you please explain your problem a bit better?

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: Search

Post by petros_7 on August 5th 2011, 1:17 am

i want to work the search as the forumotion because because when I search by putting http://help.forumotion.com/search?mode=searchbox&search_keywords=&show_results=topics.I want to keep getting results immediately

example if you put this script this will put YOU here http://help.forumotion.com/search?mode=searchbox&search_keywords=&show_results=topics

Code:
  <ul class="clearfix"><form method="get" action="[color=red]/search.forum?mode=searchbox&amp;show_results=topics[/color]" class="qsearch"><input type="text"> <input type="submit" value="Search"></form>




petros_7
Forumember

Male Posts : 341
Reputation : 2
Language : Greek
Location : Greece

http://www.thegreeksenergy.com/forum

Back to top Go down

Solved Re: Search

Post by Nera. on August 5th 2011, 1:34 am

Try this

Code:
<form method="get" action="/search"><input type="text" name="search_keywords"> <input type="submit" value="Search"></form>

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: Search

Post by petros_7 on August 5th 2011, 1:59 am

Ok thank you it work.But i want this script
Code:
<div class="search-box">
<form method="get" action="/search">
<input type="text"
size="15" class="search-field" name="s" id="s" value="Search.." onfocus="if(this.value == 'Search..') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Search..';}"/>
<input type="submit"  value="" class="search-go" />


css
Code:
.search-box{ /*outer background*/
background:url(http://qkin.com/wp-content/themes/qkin-new/demos/demo-images/search-box.gif) no-repeat top left;
height: 26px;
padding: 5px 0 0 10px;
width: 165px;
}

input.search-field{ /*input field */
float: left;
border:0;
margin:0;
font-family:tahoma;
font-size: 12px;
padding: 3px 0px 0px 4px;
height:18px;
background: #ffffff url(http://qkin.com/wp-content/themes/qkin-new/demos/demo-images/search-form.png) no-repeat top left;
width: 123px;
}

input.search-go { /*search icon */
float:left;
border:0;
margin:0;
padding:0;
margin-left: 5px;
height: 21px;
width: 21px;
background: url(http://qkin.com/wp-content/themes/qkin-new/demos/demo-images/search-icon.png) no-repeat top left;
cursor: pointer;
}

input.search-go:hover{ /*search icon hover "Does Not work in ie6" */
background:url(http://qkin.com/wp-content/themes/qkin-new/demos/demo-images/search-icon.png) no-repeat bottom left;
}

 

petros_7
Forumember

Male Posts : 341
Reputation : 2
Language : Greek
Location : Greece

http://www.thegreeksenergy.com/forum

Back to top Go down

Solved Re: Search

Post by Nera. on August 5th 2011, 5:16 am

Try
Code:
<div class="search-box">
<form method="get" action="/search">
<input type="text"
size="15" class="search-field" name="search_keywords" id="s" value="Search.." onfocus="if(this.value == 'Search..') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Search..';}"/>
<input type="submit"  value="" class="search-go" />

CSS stays same.

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: Search

Post by petros_7 on August 5th 2011, 11:31 am

bingo!It work!Thank you very much!!!

petros_7
Forumember

Male Posts : 341
Reputation : 2
Language : Greek
Location : Greece

http://www.thegreeksenergy.com/forum

Back to top Go down

Solved Re: Search

Post by Sanket on August 5th 2011, 11:40 am

Since this thread appears to be solved, I will lock this thread and mark it as solved.


Sanket Smile


Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum