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