hello
i have integrate the custom search from steverobbins on my gallery:
<script language="javascript" type="text/javascript">
<!--
document.searchcpg.search.focus();
function puttext(text) { document.searchcpg.search.value = document.searchcpg.search.value + " " + text; }
-->
</script>
<html>
<form method="get" action="../gallery/thumbnails.php" name="searchcpg">
<input type="hidden" name="album" value="search">
<input type="hidden" name="type" value="full">
<input type="input" style="width: 300" name="search" size="51" maxlength="255" value="" class="textinput">
<input type="submit" value="Search" class="button">
<input type="reset" onclick="javascript:document.searchcpg.search.focus();">
<!-- repeat as many of these as you wish to include for your visitor: -->
<a href="javascript:puttext('uk')">UK</a>
</form>
</html>
now, the custom search is in the menu on the left (table). the gallery is display in a iframe on the right. can i give the searchresult out in the iframe on the right?
very thanks
ronan
Hi Ronan,
Would you point me to your site, or send me your files and I'll take a look for you.
Thanks
Steve Robbins.
hello steverobbins
the site doesn't exist at the moment.
i have upload a testsite, that you see what i mean:
the mainpage is on tables. on the left cell the navigation, on the right cell the index.
if you search a image now, the result display without my navigation.
but i need the searchresult in a iframe like this:
(navigation on the left site, searchresult in a iframe)
is this possible?
thanks
ronan
ps: sorry for my english, i hope, you understand what i mean!
Hi Ronan,
You could use the FORM TARGET features, take a look at this web page:
http://www.htmlcodetutorial.com/forms/_FORM_TARGET.html
this explains how to use the TARGET command. You will need to name your frame / iframe with the NAME command.
Here is some code copied from that website:
<FORM
TARGET="TargetFrame"
ACTION="dosomething.php">
searching for: <INPUT NAME="inventory">
<INPUT TYPE=SUBMIT>
</FORM>
This should get you on your way,
Best Regards
Steve Robbins.
hello steverobbins
you'r awesome!
it works perfect now :-)
very, very thank. now, i can begin with my design.
so far
ronan