Hi all I'm still trying to get the hang of this.
I have recently signed up for free site search with atomz.com, and I am trying to customize the search results window. What I would like it to do is open a new window at a set size and without the address bar etc when I click the submit button, (i guess I will have to use the onclick) I have tried a few scripts (cut n paste n editing) but can't seem to get it right. I can't have the onclick refering to a particular page as it is random from the search (scratches head) I have been in contact with atomz and they were good enough to tell me it can be done, as they have seen it, but don't know where or how (so I come to ask the experts) I was hoping I could use the target="_blank" but because it is a submit button that doesnt work.
This is the form code
<form method="get" action=" <div align="center">
<input size=11 name="sp-q">
<br>
<input type=image value="Search" name="submit" src="images/sitesearch2.gif" width="90" height="23" border="0" alt="Site Search">
<input type=hidden name="sp-a" value="000a204c-sp00000000">
</div>
</form>
I also tried putting this code into the search results template HTML
<!-- full screen
if (top.frames.length!=0)
top.location=self.document.location;
self.moveTo(0,0)
self.resizeTo(screen.availWidth,screen.availHeight)
//-->
and this works but I can't resize it to my disired size or take out the address bar etc...
If anyone can help I will be able to sleep again
I have recently signed up for free site search with atomz.com, and I am trying to customize the search results window. What I would like it to do is open a new window at a set size and without the address bar etc when I click the submit button, (i guess I will have to use the onclick) I have tried a few scripts (cut n paste n editing) but can't seem to get it right. I can't have the onclick refering to a particular page as it is random from the search (scratches head) I have been in contact with atomz and they were good enough to tell me it can be done, as they have seen it, but don't know where or how (so I come to ask the experts) I was hoping I could use the target="_blank" but because it is a submit button that doesnt work.
This is the form code
<form method="get" action=" <div align="center">
<input size=11 name="sp-q">
<br>
<input type=image value="Search" name="submit" src="images/sitesearch2.gif" width="90" height="23" border="0" alt="Site Search">
<input type=hidden name="sp-a" value="000a204c-sp00000000">
</div>
</form>
I also tried putting this code into the search results template HTML
<!-- full screen
if (top.frames.length!=0)
top.location=self.document.location;
self.moveTo(0,0)
self.resizeTo(screen.availWidth,screen.availHeight)
//-->
and this works but I can't resize it to my disired size or take out the address bar etc...
If anyone can help I will be able to sleep again