PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Question re: "submit" button

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

  • Question re: "submit" button

    Hello!

    First, thanks for this superb product and good support/guidance. I've got the free version and intend to pay up for the standard ed.

    Quick question: Is there a way to change the "submit" text on the front-end button to something else, like "search" or "go", without having to create my own gif?

    Thanks in advance

  • #2
    Clarification

    To clarify the above...

    I understand how to change the value in...

    <input type="submit" value="Search"

    ... but this doesn't seem to listen to my CSS style sheet.

    How do I change the value when using this to call the search...

    <script language="JavaScript">ZoomSearch();</script>

    ???

    Thanks

    Comment


    • #3
      Ok I'm having a soliloquy, but I figured it out....

      Line 235 in search.js should read:

      document.writeln("<input type=\"submit\" value=\"search" + "\" class=\"zoom_button\" />");

      ... not sure if this is legit...... any advice would be appreciated.

      Comment


      • #4
        The recommended way to change the text for the "Submit" button (or any other text that is generated by the search script), is via the Language (ZLANG) files.

        See chapter 6.2 in the Users Guide for more information:
        http://www.wrensoft.com/zoom/usersguide.html
        --Ray
        Wrensoft Web Software
        Sydney, Australia
        Zoom Search Engine

        Comment


        • #5
          Thanks, Ray, I'll take a look.

          Best

          Comment

          Working...
          X