[Pro] Site Search Action

I currently use the site search action here

Is there any reason why when I type in 2 words there is no space between the words?

ie: Mirror Cells

Thanks

Trev


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I think you have the same problem that other pages that use jQuery have - ie the jQuery javascript is capturing the use of the spacebar for itself.

Note what happens to the carousel when you use the spacebar.

Move the search box to another page?

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I found this elsewhere and I haven’t tried it so…

<script type="text/javascript">
window.onkeydown=function(e) {
if(e.keyCode==32){
                return false;
};
</script>

Page>HTML Markup before end head

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Right Trev

This will be easier if you use jquery.boutique.js instead of jquery.boutique_min.js (the compressed version)

Look for the line

if( event.keyCode==32 ){ event.preventDefault(); 

and comment it out

//if( event.keyCode==32 ){ event.preventDefault(); 

Give it a go and report back.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks David - I will give this a try.

Trev


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi David

Yes, adding // before the if on that line in the min.js seems to do the trick.

By the way I had both the .js and the min.js uploaded - I deleted the min.js - Is that correct?

Trev


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

It only needs 1 so whichever you have called from Page>HTML Markup

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

You are calling this from the existing page

<script type="text/javascript" src="jquery.boutique_min.js"></script

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Woops! Better put that back.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Sorry Dave

To clarify - I need them both uploaded - right?

Do I have to make same change in the other too?

T


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Apart from jquery.min.js and jquery.easing.1.3.js (both essential)

You use either jquery.boutique.js or jquery.boutique_min.js (the compressed version)

jquery.boutique.js is easier to modify because it is uncompressed

Then the code in Page>HTML Markup should be

<script type="text/javascript" src="jquery.boutique.js"></script

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

And to clarify - the only code you need to modify is the code in jquery.boutique.js or jquery.boutique_min.js (whichever you choose to use)

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

OOps

My boutique carousel has now disappeared!

T


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

It sounds like your jQuery carousel is taking the space key and not allowing it to be used for normal input. Without editing the carousel code yourself, or contacting the author of the carousel you’re not going to be able to change the way it behaves, I don’t think.

Joe

On 20 Jun 2011, at 10:38, t50ufo wrote:

OOps

My boutique carousel has now disappeared!

T


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

AH!

I have gone back to the original.
It seems to be able to find two word entries ok anyhow.

Pitty, the Search Page has caused me a few problems. As you will see I havn’t got it on my other pages - just a link back to the home page one. I will have to put up with it I suppose.
Thanks for your help in any case.

Regards

Trev


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options