All Posts by Email, Once a Week

Media Temple logo

CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.

custom search engine

  • # May 6, 2013 at 10:42 pm

    I have a search phone book feature on my website and I am trying to figure out
    how to get the search results to show up on a certain page. right now the code
    says name=”searchform” target=”mainframe”> when I change mainframe to a url
    it doesn’t work.

    # May 11, 2013 at 1:59 am

    Sounds like target in this instance might be referencing a window,iframe or such to place the results in rather than a target outside the page.

    Probably there is something IN THE PAGE with an id or name “mainframe”, and if this is a FORM element without an ACTION attribute , then likely the lookup is being done with a javascript function and you would have to copy the related SCRIPT tag , the FORM and it’s children to the page where you want to use it and make sure there was some iframe or something to name “mainframe” for the search results to be dumped in

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed