Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

Click here to join us on IRC (#charas on irc.freenode.net)!



  • Charas-Project »
  • Off-Topic »
  • Archive »
  • Really Old Stuff »
  • HTML & DHTML (Moderator: De KoFfieŠ) »
  • Rollover "GO" image for search form not changing
« previous next »
  • Print
Pages: [1]

Author Topic: Rollover "GO" image for search form not changing  (Read 5626 times)

Offline Jirbytaylor

  • Initiate
  • *
  • Posts: 13
Rollover "GO" image for search form not changing
« on: December 18, 2008, 05:53:59 AM »
I am working on a Wordpress blog, and have been so far customising a theme to my liking, however the search button has got me stuck.

[spoiler]
Code: [Select]
      <form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
        <input type="text" value="<?php the_search_query(); ?>" name="s" id="s" /><input type="image" id="search_submit" src="<?php bloginfo('stylesheet_directory'); ?>/images/go.png" onmouseover="<?php bloginfo('stylesheet_directory'); ?>/images/go_hover.png" onmouseout="<?php bloginfo('stylesheet_directory'); ?>/images/go.png" value="Search" />
      </form>
[/spoiler]
This is the searchform.php file, as you can see there are onmouseover entries yet they don't seem to work. The image does not change. My suspicion is that it may be to do with the face the image isn't a real image - not using an img tag - but a form button?

This is my blog here to see the search form itself:
http://jirby.cleverpun.com/blog/

Thanks in advance for any help.
Logged

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Off-Topic »
  • Archive »
  • Really Old Stuff »
  • HTML & DHTML (Moderator: De KoFfieŠ) »
  • Rollover "GO" image for search form not changing
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum