Announcement

Collapse
No announcement yet.

Search 'Go' Button

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Search 'Go' Button

    I'm sure this will have been asked before, but I can find it in the KB or search... so...

    Is there anyway to get the 'go!' button next to the 'quick search' box to change when the mouse goes over it...?

    All my other buttons change colour but the go button doesn't change, which looks odd... I realise that the buttons are different types technically, but visually it would be good for them to match!
    John

    #2
    Try this...

    <input type="image" src="quicksearch.gif" border="0" name="ACTION" onMouseOver="src='quicksearch2.gif' " onMouseOut="src='quicksearch.gif' ">

    ...obviously changing image filenames as necessary.

    Comment


      #3
      yep, that works - thanks.
      John

      Comment


        #4
        How do I add the second image to the preload list?
        Bob Ladden

        Comment


          #5
          what's a pre-load list?
          John

          Comment


            #6
            Actinic add something like this to the body tags:
            OnLoad="PreloadImages('top2.gif','back2.gif','home2.gif','sitemap2.gif','info2.gif','search2.gif','cart2.gif','order2.gif','mail2.gif')" based upon your navigation settings. It does not know about the new secondary image. Preloading eliminates a delay to get the image on the first mouseover.
            Bob Ladden

            Comment


              #7
              that would explain why I get a delay on the first mouse over of my new buttons

              Now I want to know the answer to...
              John

              Comment


                #8
                I added this to Act_Primary.html to preload the image. I put it just above the other <script> tags.

                <SCRIPT LANGUAGE="JavaScript">
                go_button2 = new Image();
                go_button2.src = "go_button2.gif";
                </SCRIPT>

                Change go_button2 to the name of your mouseover image.
                Bob Ladden

                Comment


                  #9
                  Hi Guys
                  How can I replace the image of the "GO" button to text in a specific colour?
                  thanks so much.

                  Comment


                    #10
                    Welcome, Martin

                    This is a 2003 thread. Are you really using Actinic V7 or earlier?

                    Rather unlikely for a new member of the Community.

                    If not, delete this thread and re-post in the correct forum.

                    It will also help if you can give us the URL of your site so we can see what you need changing.
                    Norman - www.drillpine.biz
                    Edinburgh, U K / Bitez, Turkey

                    Comment

                    Working...
                    X