Thottbot > Forums > Powered by Thottbot > Thott search box
NEW! Wrath of the Lich King Talents!   NEW! Project Lore 2.2
Thottbot > Forums > Powered by Thottbot > Thott search box
  Report  Quote Reply Thott search box
Score 20     Vote: [-] [+] by Kalgoth, 8.1 months ago
I've added the code into the menu section of my home page. The page is a 3-frame index page with a banner, menu and main frame.
The search box works ok, but it replaces my original menu page/frame with the search results. How can I force the search results into a new window?
  Report  Quote Reply Re: Thott search box
Score 10     Vote: [-] [+] by Trapican <WoW-NL>, 8.0 months ago
You should try to download the .JS and host it on your own server, and before you do so add "target=_blank" or when you want to open it in the same window, but not in frame "target=_parent"

Rando
  Report  Quote Reply Re: Thott search box
Score 11     Vote: [-] [+] by Kalgoth, 8.0 months ago
Hi, thx for that, but I'm still unsure what the correct syntax is (my programming days ended a long time ago).

I have a line that reads:

<script src="http://i.thottbot.com/power.js"></script>

I know I can download the .js file, place it within my site and then change the src=<my local copy>.


Further down the page, I have the searchbox code:

<script>T.searchbox()</script>


But I still don't know where/how to insert the code target="_blank"


Sry for being so unknowledgeable on HTML.

Thx in advance

BackTop
 
Created by Thott - Thottbot 3.53 - Feedback