#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Posts
    6
    Rep Power
    0

    Frames hijacked after remote search


    We have a left column search box that calls a JavaScript from a remote server, and a right column main content frame which is intended to display the search results. When a search is done in the search box, the remote server targets the _top frameset, leaving one page with the search results and no frames. Our purpose in dividing it this way is to have a variety of search tools available to users (Amazon books, Expedia, Overture & Google, etc.).

    An example of this is expedia.com's affiliate program where the affiliate links call a remote JavaScript script. It's in that remote script that the top frameset is called.

    --------------------

    Since the URL is different with each search, I don't have any ideas about how to send the search results to the content frame (target="_main").
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2007
    Posts
    1
    Rep Power
    0
    Originally Posted by Telejoke
    We have a left column search box that calls a JavaScript from a remote server, and a right column main content frame which is intended to display the search results. When a search is done in the search box, the remote server targets the _top frameset, leaving one page with the search results and no frames. Our purpose in dividing it this way is to have a variety of search tools available to users (Amazon books, Expedia, Overture & Google, etc.).

    An example of this is expedia.com's affiliate program where the affiliate links call a remote JavaScript script. It's in that remote script that the top frameset is called.

    --------------------

    Since the URL is different with each search, I don't have any ideas about how to send the search results to the content frame (target="_main").
    Set a base target on the page itself <BASE TARGET="target frame name" />, job done, nowt technical about it
  4. #3
  5. Providing fuel for space ships
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2004
    Location
    nr Edinburgh, Scotland
    Posts
    14,317
    Rep Power
    3852
    This thread is over 3.5 years old and there was no need to resurrect. Thread closed.
    The No Ma'am commandments:

    1.) It is O.K. to call hooters 'knockers' and sometimes snack trays
    2.) It is wrong to be French
    3.) It is O.K. to put all bad people in a giant meat grinder
    4.) Lawyers, see rule 3
    5.) It is O.K. to drive a gas guzzler if it helps you get babes
    6.) Everyone should car pool but me
    7.) Bring back the word 'stewardesses'
    8.) Synchronized swimming is not a sport
    9.) Mud wrestling is a sport

IMN logo majestic logo threadwatch logo seochat tools logo