|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
I want to change a link on my search form to a button, e.g., a simple search form to the Advanced Search form. I would also like to change the help icon to a button. What's the best way to do this?
|
|||
|
There are two approaches I can think of.
One is to style your links to look like buttons. How to make sexy buttons with CSS Scalable CSS Buttons Rediscovering the button element (see "The Results" section) The other approach is to define buttons that - when clicked - modify the page URL with javascript. <input type="button" value="my button" onclick="window.location = 'http://www.google.com';" /> Peter Tyrrell, MLIS Director and Lead Developer Andornot Consulting Inc. http://andornot.com/about/developerblog http://twitter.com/andornot |
||||
|
Brilliant! The javascript works perfectly. I'll explore the CSS options when I have more time.
Thanks very much. |
||||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|

