custom search button

I have the ‘Simple Site Search’ facility on my website, but I want to use my own graphic button instead of the default ‘aqua’ looking button that is generated by Freeway.

I tried to customise it myself by clicking on the button to select it and changing the background to an image. When I published I can see that this works but the generic button is still there over the top of the graphic.

What am I doing wrong here, can anybody please provide a few pointers?

thanks

Jim


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

You can make any graphic item a submit button by selecting the graphic item and checking the Submit option in the Inspector palette. Note that you can’t use the Rollover Action on submit buttons so it will either need to be static, or you’ll need to use some other method to add a rollover effect.

Hope this helps,

Joe

On 14 Mar 2011, at 15:33, jimmy b wrote:

I have the ‘Simple Site Search’ facility on my website, but I want to use my own graphic button instead of the default ‘aqua’ looking button that is generated by Freeway.

I tried to customise it myself by clicking on the button to select it and changing the background to an image. When I published I can see that this works but the generic button is still there over the top of the graphic.

What am I doing wrong here, can anybody please provide a few pointers?

thanks

Jim


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

cheers, works perfect!!

thanks Joe


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

hi all,

on the same subject, but a different project. I want to customise the search text field to my own idea.

take a look at this link http://tinyurl.com/68brgsz

I want to have a simple ‘text field’ without the standard styling that occurs when you draw this onto your page. just a simple solid bg fill and some predefined text to sit in there and prompt a user to enter a search.

thanks


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

If you click once on your search field, you can use the Item/Extended
dialog (be sure to select the Input tab) to add a custom style
attribute to it; or you can use Extended to give it an ID and write
some custom CSS in the page head to apply the styles. Looking at your
example, something like this ought to do the trick:

border: none; background-color: #e6e6e6; width: 200px; margin: 0 4px  

0 0;

You would either apply that style directly in the element using the
Extended dialog, press New, then enter style as the Name and the
above as the value. Or using Extended, give the input an id
attribute (put that in the Name field) and enter search or whatever
name you gave your text field in the Output tab of the Inspector. Then
in the Page / HTML Markup dialog, move to the Before /HEAD section and
add a style block like this:

<style type="text/css">
	#search {
		border: none;
		background-color: #e6e6e6;
		width: 200px;
		margin: 0 4px 0 0;
	}
</style>

To get the default text in there, there’s an Action (I think) over at http://freewayactions.com
or you can write some JavaScript by hand to add it. Let me know if
you need the recipe for that.

In either case, to create your submit button, you can just take that
image you created for your example, and in the Inspector, find and
check the Submit checkbox. That turns the image into a form input, and
it behaves the same way as any submit button would.

Walter

On Apr 11, 2011, at 8:02 PM, jimmy b wrote:

hi all,

on the same subject, but a different project. I want to customise
the search text field to my own idea.

take a look at this link http://tinyurl.com/68brgsz

I want to have a simple ‘text field’ without the standard styling
that occurs when you draw this onto your page. just a simple solid
bg fill and some predefined text to sit in there and prompt a user
to enter a search.

thanks


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

cheers walter I will try both options later and see what suits.


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