Results 1 to 9 of 9

Thread: js simple search function, need some help to modify

  1. #1
    Join Date
    Apr 2007
    Location
    Sydney, Aust - Downunder
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default js simple search function, need some help to modify

    hi all,

    im just still getting into web design and i have finished this site, [URL REMOVED].

    Im a little bit unhappy about how the search function (upper right) opens the results in a new window. i have tired playing with the script to make it open results on a new page but in the same window.
    [to test type "press" to see results]

    code for the script can be found here:
    [URL REMOVED]

    i tired playing with this line.
    Code:
    win = window.open("","results","");
    im not even sure how to tell the script where to place the results html in the page i want it too (ie results.php in a certain div)

    can someone pls point me in the right direction
    cheers
    Chris


    MODERATOR EDIT: At user request, URLs have been removed.
    Last edited by djr33; 05-28-2007 at 02:55 AM.

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Unfortunately, the way it's written means that it would be very difficult, if not impossible, to do that, without rewriting a large portion of the script.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Apr 2007
    Location
    Sydney, Aust - Downunder
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    bummer...
    you dont happen to know of any examples what im after?
    what do u reccomend i do.

    cheers

  4. #4
    Join Date
    Apr 2007
    Location
    Sydney, Aust - Downunder
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    is there any way to delete this thread???

    this thread (url) of the site i created is getting referenced by google when i type in the page title, and i dont really want it to.

    sorry i now know about this and wont do it anymore

    cheers

  5. #5
    Join Date
    Feb 2007
    Location
    England
    Posts
    254
    Thanks
    0
    Thanked 5 Times in 5 Posts

    Default

    Use your robots.txt or meta tag to indicate not to index the page. For now.

  6. #6
    Join Date
    Apr 2007
    Location
    Sydney, Aust - Downunder
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    hey bob.

    im not sure if i made sense.... but if i type in the sites name into google. i dont want google to reference this dyanmic drive page (it is, because in my first post i posted the url to the page.... google is showing this, and i dont want it too)

    please help

  7. #7
    Join Date
    Apr 2007
    Location
    Sydney, Aust - Downunder
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    can i Please get some help from a ADMIN..
    i would like this thread deleted pleassssseee

  8. #8
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Since the information might be valuable to someone else, general policy is not to delete threads here.
    However, the URLs have been removed from your post and google will, once it cycles around again, update it's cache of the page and references to your page should be removed.
    In fact, this might help google get rid of the links, since it keeps deleted pages cached for some time, it seems, but should update a page that changes.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  9. #9
    Join Date
    Apr 2007
    Location
    Sydney, Aust - Downunder
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thankyou for that.
    appreciate it

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •