Link to home
Start Free TrialLog in
Avatar of smeebud
smeebud

asked on

KeyWord Finder

Hi,
I've been looking for a little searcher for just one page, a keyword or phrase finder.
I'd like to put it is several of my pages/htmls that contain a lot of of data to make it easy for people to find stuff.
Can you offer any ideas?
Can you help?

Please see
http://www.geocities.com/~budallen/
and you see what I mean, my need for this.

Regards, Bud
http://www.geocities.com/~budallen/
Avatar of saam
saam

hi,
try this. go to http://www.graffiti.org/dj/trains.html and click the 'sitesearch' -icon at top of the page. i'm not sure if this is what you want but you can always check it out.
if you like it you can download your own copy of sitesearch at: http://www.sfs-software.com/
/saam
Avatar of smeebud

ASKER

Thanks Saam,
I'll give it a go and let you know.

Regards, Bud
http://www.geocities.com/~budallen/
Avatar of smeebud

ASKER

That was a great searcher
$400.00 worth of great::))

Does anyone have an Idea where I can get a good Site or page Searcher??

Regards, Bud
http://www.geocities.com/~budallen/
Avatar of Michel Plungjan
At the same site there is a
http://www.graffiti.org/dj/search.html

Possibly free

Michel
Also try http://www.geocities.com/~xpert/javascript/wizards/search-engine.html

Totally free and everything is generated for you online automatically.
Avatar of smeebud

ASKER

Chris,
So far not any luck finding a selfgenerating Site Search.

Regards, Bud
http://www.geocities.com/~budallen/
What was wrong with that page?
Avatar of smeebud

ASKER

Nothing but a lot of java errors.

Did you try any of the search enging wizards there??
It's probably me not knowing java. That why I was looking For a self generating parcing application.

I'm still looking.
Any thoughts.

Regards, Bud
http://www.geocities.com/~budallen/
Why don't you make use of the possibilities of the existing searchengines.

When I enter this search in Infoseek:

+url:http://utopia.knoware.nl/users/sybev/cliche/ +cliches

I get only results from my site

It is quite easy to make a form which does this search for you.
The only problem is that you can't influence the layout of the result. I don't know if that is a problem.
To smeebud: Yes, I tried that search engine wizard in Netscape 4 and it worked perfectly for me... what browser are you using?
Avatar of smeebud

ASKER

sybe,
That's a new one on me. I'll try it.

Chris,
Netscape Communicator 4.04.

Regards, Bud
http://www.geocities.com/~budallen/
Avatar of smeebud

ASKER

Tryed this at infoseek
+url:http://www.geocities.com/~budallen/ +NTKERN

No results.
maybe you could explain that a little better.

Regards, Bud
http://www.geocities.com/~budallen/
Bud,

Of course your pages must be indexed by Infoseek before it gives any result. Did you submit your pages ? Do that by going to infoseek and choose "add URL" (it's at the bottom of their homepage). Not long ago, Infoseek immediately indexed a site after submission, maybe they still do. Other searchengines take a couple of weeks.

Any when your pages are indexed, it works perfectly, as you can see from the results from my site.

If you want to do that, then use a form like thins:
=====
<script>
//<!--
function MakeQuery() {
  strSearch = document.forms['input'].qt.value;
  if(strSearch == '') {
    alert('you must enter a string to search for');
  } else {
    strSearch = '+url:http://your.url.here/.../ ' + '+' + strSearch;
    document.forms['WW_dir_search'].qt.value = strSearch;
    document.forms['WW_dir_search'].submit();
  }
}
//-->
</script>

<form action="http://www.infoseek.com/Titles" method="get" name="WW_dir_search">
<input type="hidden" name="qt">
<INPUT TYPE=hidden NAME="sv" VALUE="IS">
<INPUT TYPE=hidden NAME="lk" VALUE="noframes">
</form>
<center>
<form name="input">
<input type="text" name="qt" value="" size="38" maxlength="511">
<p>
<input type="button" value="Search" onClick="MakeQuery()">
</form>
</center>

Avatar of smeebud

ASKER

Sybe,
OK.
Where do I put this script?
left frame?
Index?

I feel rather dumb as I've had so little success with javascript that I'm compelled to ask such newbi questions.

I have another project; I can make it a seperate question if you like.
Please look at
http://www.geocities.com/~xpert/
The "Full Site map" popup.
I went so far as to copy that thinking I could then modify it to match my page, try as I might I can't make it a seperate popup.

I'll increase the points to you're liking.

Regards, Bud
http://www.geocities.com/~budallen/
That sitemap looks ok to me in NS 3.03

Michel

Nice one, sybe...

You can cut and paste Sybe's script and form anywhere you like - no need to put the script somewhere other than next to the form.

I am a purist and would perhaps put it in the head of the master frameset (then document. would change to top.framename.document. and MakeQuery would be top.MakeQuery), but that is me... In this case the whole thing is a nice little package.

I might be tempted to change the document.forms['input'].qt.value; to
document.input.qt.value;
and
document.forms['WW_dir_search'].qt.value = strSearch;
document.forms['WW_dir_search'].submit();
to
document.WW_dir_search.qt.value = strSearch;
document.WW_dir_search.submit();

since IE likes names better than associative arrays

Michel
You can generate the site map for your own site by going to http://www.geocities.com/~xpert/javascript/wizards/popup-window.html

If you get any errors, please report them.
You can get plenty of searches from
Javascriptsource.com or
javascriptsearch.com

If you want your user to search by keyword on a page then ask him to hit the 'Ctrl+F key. And if you want a search engine for your site then goto
www.cgiforme.com. They have got an excellent search engine
Aseem
websource.cjb.net
Avatar of smeebud

ASKER

The major error. the ONLY error I getting on that is
"openWindow not defined"

<SCRIPT LANGUAGE="JavaScript">
<!--
function openWindow(windowURL,windowName,windowWidth,windowHeight) {
  window.name = 'parentWnd';
  newWindow = window.open(windowURL,windowName,'width='+windowWidth+',height='+windowHeight+',toolbar=0,location=1,directories=1,status=1,menuBar=1,scrollBars=1,resizable=1');
  newWindow.focus();
}
//-->
</SCRIPT>

<!-- <A HREF="javascript:var newWnd=window.open('sitemap.html','smWnd','width=150,height=450,toolbar=0,location=0,directories=0,status=0,menuBar=0,scrollBars=1,resizable=1');">Pop-up</A><P> -->

It will show up in the right frame and work, but I can't make it popup.
This would be better than a search engine if I can make it a popup.

Regards, Bud
http://www.geocities.com/~budallen/
If you are using frames and have put the script in the frameset definition you need to call it with top.openWindow

Change top to top.otherframe if you have the script in another sibling frame

Michel
Avatar of smeebud

ASKER

That's part of my ignoance, I have in my left.html a <BASE TARGET="2".

I don't know weather to put that script in tyhe left.html or the sitemap.html???????

I'm upping the points because you're all so helpfull

Regards, Bud
http://www.geocities.com/~budallen/
I would personally put in in the linked but non-existant search.html
and have a link to it near the top of your huge list in left.html

search.html:
<HTML>
<HEAD>
   <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
   <META NAME="Author" CONTENT="Bud Allen">
   <META NAME="GENERATOR" CONTENT="[sybe and mplungjan]">
   <TITLE>Bud's Win95 Win98 Tips and Troubleshooter</TITLE>
   <BASE TARGET="2">
<STYLE>
<! --  Hide code from older browsers.
  BODY {font: 12pt "Arial"}
  A:link {font: 11pt "Arial" Helvetica; color: black; font-weight: bold; text-decoration: none}
  A:visited {font: 11pt "Arial" Helvetica; color: #000066; font-weight: bold; text-decoration: none}
 -->
</STYLE>
<SCRIPT LANGUAGE="JavaScript">script><!-- // cloak
function MakeQuery() {
   strSearch = document.input.qt.value;
   if(strSearch == '') alert('you must enter a string to search for');
   else {
      strSearch = '+url:http://www.geocities.com/~budallen/ ' + '+' + strSearch;
      document.WW_dir_search.qt.value = strSearch;
      document.WW_dir_search.submit();
   }
}
// uncloak --></SCRIPT>
</HEAD>
<BODY BACKGROUND="pix/back.jpg" NOSAVE>
<form action="http://www.infoseek.com/Titles" method="get" name="WW_dir_search">
<input type="hidden" name="qt">
<INPUT TYPE=hidden NAME="sv" VALUE="IS">
<INPUT TYPE=hidden NAME="lk" VALUE="noframes">
</form>
<center>
<form name="input">
<input type="text" name="qt" value="" size="38" maxlength="511">
<p>
<input type="button" value="Search" onClick="MakeQuery()">
</form>
</center>
</BODY>
</HTML>

Michel
PS: If you put it in the frame 1 (e.g. the link to search.html in left.html targets frame 1) and want to target frame 2 just add TARGET="2" on the form:
<form action="http://www.infoseek.com/Titles" method="get" name="WW_dir_search" TARGET="2">

Michel
Avatar of smeebud

ASKER

Michel,
This confusion is my fault. I started asking for a searxh engine, then in mid-stream switched to a popup "Full Site Map".
This script is for the Full Site Map.
============


 <SCRIPT LANGUAGE="JavaScript">
 <!--
 function openWindow(windowURL,windowName,windowWidth,windowHeight) {
   window.name = 'parentWnd';
   newWindow =
 window.open(windowURL,windowName,'width='+windowWidth+',height='+windowHeight+',toolbar=0,location=1,directories=1,status=1,menuBar=1,scrollBars=1,resizable=1');

   newWindow.focus();
 }
 //-->
 </SCRIPT>

 <!-- <A HREF="javascript:var
 newWnd=window.open('sitemap.html','smWnd','width=150,height=450,toolbar=0,location=0,directories=0,status=0,menuBar=0,scrollBars=1,resizable=1');">Pop-up</A><P>
 -->
=================
My problem is I'm unable to make it a popup. I have
"Full Site Map" in my left frame, linked to "sitemap.html", which  then opens in the right frame. I want it to popup like I found at http://www.geocities.com/~xpert/

If you click his Full site map, it's a nice popup. Thats what I trying to do.
Or if you click Scripts at
"JavaScript
Scripts, Request a Script, Tutorial"

it take you to
Pop-up Window
This script will open a small window with a document you specify.
That's where I made the script.

This is not on my site online tet, but on my local.

how can I make that Popup.
What do you need to know, and where do I put the script?
For now forget the searching stuff.
Sorry for the confussion.
I'll increase the points some more.

Regards, Bud
http://www.geocities.com/~budallen/


I am sorry for getting confused...

As you can see at xpert (I thought that was the one that you had that didn't work)
the function openWindow(....) is in the same page as the href to the popup.

I will need to see the complete script down to the href you have in order for me to understand why it says openWindow not found.

The code you have pasted, does not have a working href (it is commented out) so the complete package should just be

Left.html:

<HTML>
<HEAD>
<TITLE></TITLE>
<SCRIPT LANGUAGE="JavaScript"><!-- // cloak
function openWindow(windowURL,windowName,windowWidth,windowHeight) {
   window.name = 'parentWnd';
// the following must be on one line
   newWindow = window.open(windowURL,windowName,'width='+windowWidth+',height='+windowHeight+',toolbar=0,location=1,directories=1,status=1,menuBar=1,scrollBars=1,resizable=1');
// until here
   newWindow.focus();
}
// uncloak --></SCRIPT>
</HEAD>
<BODY>


<A HREF="javascript:openWindow('sitemap.html','smWnd','width=150,height=450,toolbar=0,location=0,directories=0,status=0,menuBar=0,scrollBars=1,resizable=1');">Pop-up</A><P>
</BODY>
</HTML>
the <A HREF="javascript:................"> is also one line

Michel

Avatar of smeebud

ASKER

Right now I have in my left.html???????
---------
<HTML>
<HEAD>
   <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
   <META NAME="Author" CONTENT="Bud Allen">
   <META NAME="GENERATOR" CONTENT="Mozilla/4.04 [en] (Win95; I) [Netscape]">
   <TITLE>Bud's Win95 Win98 Tips and Troubleshooter</TITLE>
   <BASE TARGET="2">
<STYLE>
<! --  Hide code from older browsers.
  BODY {font: 12pt "Arial"}
  A:link {font: 11pt "Arial" Helvetica; color: black; font-weight: bold; text-decoration: none}
  A:visited {font: 11pt "Arial" Helvetica; color: #000066; font-weight: bold; text-decoration: none}
 -->
</STYLE>
</HEAD>
<BODY BACKGROUND="pix/back.jpg" NOSAVE>
<!--#geoguide-->
<CENTER><A NAME="Take me back Home"></A><A HREF="main.html">Take me back
Home</A></CENTER>

<SCRIPT LANGUAGE="JavaScript">
<!--
function openWindow(windowURL,windowName,windowWidth,windowHeight) {
  window.name = 'parentWnd';
  newWindow = window.open(windowURL,windowName,'width='+windowWidth+',height='+windowHeight+',toolbar=0,location=1,directories=1,status=1,menuBar=1,scrollBars=1,resizable=1');
  newWindow.focus();
}
//-->
</SCRIPT>

<!-- <A HREF="javascript:var newWnd=window.open('sitemap.html','smWnd','width=150,height=450,toolbar=0,location=0,directories=0,status=0,menuBar=0,scrollBars=1,resizable=1');">Pop-up</A><P> -->

<A HREF="javascript:openWindow('sitemap.html','smWnd',150,450);"><IMG SRC="pix/ball.gif" WIDTH=8 HEIGHT=11 HSPACE=2 BORDER=0 ALT="">Full Site Map</A><P>
--------------
Below that I have all the rest of my titles linked to .htmls that all work well.
================Like this
<CENTER>
<HR ALIGN=LEFT SIZE=3 WIDTH="100%"><B><FONT COLOR="#990000">General</FONT></B></CENTER>
<IMG SRC="pix/ball.gif" NOSAVE BORDER=0 HEIGHT=8 WIDTH=8> <A HREF="sitemap.html">Full
Site Map</A>
<BR><IMG SRC="pix/ball.gif" NOSAVE BORDER=0 HEIGHT=8 WIDTH=8> <A HREF="greatips.html">First
Things First</A>
<BR><IMG SRC="pix/ball.gif" NOSAVE BORDER=0 HEIGHT=8 WIDTH=8> <A HREF="i_advanced.html" TARGET="1">Procedures
for Advanced Users</A>
<BR><IMG SRC="pix/ball.gif" NOSAVE BORDER=0 HEIGHT=8 WIDTH=8> <A HREF="i_utilities.html" TARGET="1">Utilities
Everyone Should Have</A>
<BR><IMG SRC="pix/ball.gif" NOSAVE BORDER=0 HEIGHT=8 WIDTH=8> <A HREF="95Tuneup.html">Windows
95 Tune up; A must</A>
<BR><IMG SRC="pix/ball.gif" NOSAVE BORDER=0 HEIGHT=8 WIDTH=8> <A HREF="fatal.html#Implementing Windows 95 Updates">Implementing
<FONT COLOR="#FF0000">Win 95 Updates</FONT></A>
<BR><IMG SRC="pix/ball.gif" NOSAVE BORDER=0 HEIGHT=8 WIDTH=8> <A HREF="mymethod.html">Installing
and Uninstalling:</A>
<BR><A HREF="mymethod.html">&nbsp;&nbsp; Keep Your System Uncluttered</A>
<BR><IMG SRC="pix/ball.gif" NOSAVE BORDER=0 HEIGHT=8 WIDTH=8> <B><FONT COLOR="#FF0000"><A HREF="howto.html">Windows
95/98/NT How-To's</A></FONT></B>
<BR><IMG SRC="pix/ball.gif" NOSAVE BORDER=0 HEIGHT=8 WIDTH=8> <A HREF="netsearch.html">Use
<B><FONT COLOR="#FF0000">7</FONT></B> Top Search Engines at Once</A>
<BR><IMG SRC="pix/ball.gif" NOSAVE BORDER=0 HEIGHT=8 WIDTH=8> <A HREF="#Don't Forget About" TARGET="1">To
About DOS Section</A>
<BR><IMG SRC="pix/ball.gif" NOSAVE BORDER=0 HEIGHT=8 WIDTH=8> <A HREF="#Error Messages and" TARGET="1">To
Error Messages and Fixes</A>
<BR><IMG SRC="pix/ball.gif" NOSAVE BORDER=0 HEIGHT=8 WIDTH=8> <A HREF="#Windows 98 Section" TARGET="1">To
Windows 98 Section</A>
<BR><IMG SRC="pix/ball.gif" NOSAVE BORDER=0 HEIGHT=8 WIDTH=8> <A HREF="#Internet Explorer Section" TARGET="1">To
Internet Explorer Section</A>
<BR><IMG SRC="pix/ball.gif" NOSAVE BORDER=0 HEIGHT=8 WIDTH=8> <A HREF="#Setup Issues 95/98" TARGET="1">To
Setup Issues 95/98</A>
<BR><IMG SRC="pix/ball.gif" NOSAVE BORDER=0 HEIGHT=8 WIDTH=8> <A HREF="#The New User" TARGET="1">The
New User Place</A>
<BR><IMG SRC="pix/ball.gif" NOSAVE BORDER=0 HEIGHT=8 WIDTH=8> <A HREF="quickref.html" target="_blank">Quick
Reference Page</A>
<BR><IMG SRC="pix/ball.gif" NOSAVE BORDER=0 HEIGHT=8 WIDTH=8> <A HREF="art.html">Starving
Artists Section</A>&nbsp; <B><FONT COLOR="#FF0000">New</FONT></B>
<CENTER>
<HR ALIGN=LEFT SIZE=3 WIDTH="100%"><B><FONT COLOR="#990000">Trouble Shooting
Section</FONT></B></CENTER>
<IMG SRC="pix/ball.gif" NOSAVE BORDER=0 HEIGHT=8 WIDTH=8> <A HREF="virus.html">Reckon
we otta talk 'bout Viruses</A>
------------------------
an so on.

If you'd like, because this thread is so huge you can e-mail me from my site and perhaps work this out that way. Then post the answer once finished.

Crazy, I actually got a popup a minute ago.
I clicked the Full Site Map
======
<HR ALIGN=LEFT SIZE=3 WIDTH="100%"><B><FONT COLOR="#990000">General</FONT></B></CENTER>
<IMG SRC="pix/ball.gif" NOSAVE BORDER=0 HEIGHT=8 WIDTH=8> <A HREF="sitemap.html">Full
Site Map</A>
===========
Which opened in the right frame like it's supposed to, not like I want it to.......
Then clicked the java Full site Map and the whole communicator showed up in a little popup::))

I don't know what the heck I'm doing.

Regards, Bud
http://www.geocities.com/~budallen/
I dunno either ;-) I am going skating now so I have to continue tomorrow evening (it is now 7PM here) but perhaps sybe or someone else can help in the meantime....

I cannot for my life see anything wrong.

Try removing the <base target="2"> perhaps that is the baddie (that will open the sitemap in frame2 on a normal link.

I would suggest you upload your page in a test directory so we can have a look...

Also please post what browser version on what plaform you are using

Michel
PLease comment on my answer.

aseem
Avatar of smeebud

ASKER

Sorry assem,
As you can see I got side tracked.
I'll go check those out now.

Regards, Bud
http://www.geocities.com/~budallen/
Avatar of smeebud

ASKER

aseem,
Javascriptsource.com
takes me to

http://javascript.internet.com/

Do you have the real URL for Javascriptsource.com??

Regards, Bud
http://www.geocities.com/~budallen/
This code should work, if it doesn't then something is being changed when you copy and paste it. Paste this after your <BODY> Tag:

<SCRIPT LANGUAGE="JavaScript">
<!--
function openWindow(windowURL,windowName,windowWidth,windowHeight) {
   window.name = 'parentWnd';
   newWindow = window.open(windowURL,windowName,'width='+windowWidth+',height='+windowHeight+',toolbar=0,location=1,directories=1,status=1,menuBar=1,scrollBars=1,resizable=1');
   // Make sure that is on one line, that may be the problem
   newWindow.focus();
}
//-->
</SCRIPT>

<A HREF="javascript:openWindow('sitemap.html','smWnd',150,450);"><IMG SRC="pix/ball.gif" WIDTH=8 HEIGHT=11 HSPACE=2 BORDER=0 ALT="">Full Site Map</A>

BTW, sorry about the slow replies to your emails but I have been getting more emails lately for some reason... they will be replied to by the end of the day.

BTW2, another good place to go to for scripts is http://www.javascripts.com/
Avatar of smeebud

ASKER

Michel and Chris,
I've went ahead and put the script in the left frame and it's online in none working condition so you can look at it.

I'm going to try the
top.otherframe
top.openWindow

Right now I have in the left.html only:
----------------
<BODY BACKGROUND="pix/back.jpg" NOSAVE>
<!--#geoguide-->
<CENTER><A NAME="Take me back Home"></A><A HREF="main.html">Take me back
Home</A></CENTER>
<SCRIPT LANGUAGE="JavaScript">
<!--
function openWindow(windowURL,windowName,windowWidth,windowHeight) {
  window.name = 'parentWnd';
  newWindow = window.open(windowURL,windowName,'width='+windowWidth+',height='+windowHeight+',toolbar=0,location=0,directories=0,status=0,menuBar=0,scrollBars=1,resizable=1');
  newWindow.focus();
}
//-->
</SCRIPT>
<A HREF="javascript:openWindow('sitemap.html','smWnd',350,450);"><IMG SRC="pix/ball.gif" NOSAVE BORDER=0 HEIGHT=8 WIDTH=8></A><A HREF="javascript:openWindow('sitemap.html','smWnd',350,450);">Full
Site Map</A>&nbsp; Not Working Yet<B><FONT COLOR="#FF0000">:(</FONT></B><!-- <A HREF="javascript:newWindow = window.open('sitemap.html','smWnd','width=425,height=450,toolbar=0,location=0,directories=0,status=0,menuBar=0,scrollBars=1,resizable=1');"><IMG SRC="pix/ball.gif" WIDTH=8 HEIGHT=11 HSPACE=2 BORDER=0 ALT="">Full Site Map</A><P> -->

I have high hopes::))

Regards, Bud
http://www.geocities.com/~budallen/

Avatar of smeebud

ASKER

Last change:
JavaScript Error: file:/C|/bud/main.html,

top.openWindow is not a function
then
top_openWindow is not defined.

Where in the world do I tell this thing to define the openWindow.

Regards, Bud
http://www.geocities.com/~budallen/
Avatar of smeebud

ASKER

I put TARGET="1" in and it opens the 1st time.
Picture at http://www.geocities.com/Athens/Troy/6883/Private
Sitemap.gif

<A HREF="javascript:openWindow('sitemap.html','smWnd',350,450);"TARGET="1">

Problem is it opens a full page.

Bud
Avatar of smeebud

ASKER

Ok,
In sitemap.html I put
<HTML>
<HEAD>
   <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
   <META NAME="GENERATOR" CONTENT="Mozilla/4.04 [en] (Win95; I) [Netscape]">
   <TITLE>Site Map</TITLE>
   <BASE TARGET="2">
This works, not like Chris's, but it works. I think were're getting somewhere.

please go and try it. It works only once or until I close the popup and try to re-open, then I get;
========
JavaScript Error: [unknown origin],

openWindow is not defined.

Heeeeeeeeellllllllllppppppppp!!!!!!::))

Regards, Bud
http://www.geocities.com/~budallen/
Javascriptsource and javascript.internet.com are the same.

What do you thaink about your users hitting the Ctrl+F Key.
Anyway I have got some more urls for u to look forward to,
developer.com
or
javascripts.com
or
javagoodies.com

Thay are great check them out.
Sorry a mistake above it is not
'Thay' it is 'they'
Avatar of smeebud

ASKER

Ctrl+F is what I use all the time. Proplem is you have to be on the right page.
I'm thinking that my Quick Reference page is the answer.
have a look please.

Do you have any thoughts on my popup window problem??

Regards, Bud
http://www.geocities.com/~budallen/
Avatar of smeebud

ASKER

This is all that is on
Server javascripts.com is
Unauthorized.
It is not allowed to run the
Javascripts.com website
application.

http://www.javascripts.com.
=================

Smeebud

I think have a source code of a searchengine. I am going to work on it tonight and I'll see though  Keep in mind that it uses frames.
aseem: smeebud has changed his mind halfway through the question, so now he wants a popup site map like he has been describing in the last few posts.

smeebud: As far as I know, the problem with the site map window opening correctly the first time and not the second is a bug in Netscape and may be caused by some invalid HTML... (I couldn't test it in IE because I have version 5 beta which doesn't seem to support the window.open function at all, just like 4 beta 1 and 2 I think). You may have better luck if you use this code instead of putting the window.open code in a function:

<A HREF="javascript:var newWnd=window.open('sitemap.html','smWnd','width=150,height=450,toolbar=0,location=0,directories=0,status=0,menuBar=0,scrollBars=1,resizable=1');">Pop-up</A><P>
Avatar of smeebud

ASKER

Ok,
I'm wondering why i can't put some seperate window commands without java.
Is that possible???

I found this and it doesn't work either.......but then I may well be doing it wrong??
=====================================
 Buttons: Window Position

<!-- TWO STEPS TO INSTALL WINDOW POSITION:

   1.  Paste the first code in the HEAD of your HTML document
   2.  Add the last coding to the BODY of your HTML document  -->

<!-- STEP ONE: Paste the first code in the HEAD of your HTML document  -->

<HEAD>

<SCRIPT LANGUAGE="JavaScript">

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
function window.open("page.html","","height=200,width=200,left=80,top=80" {
msg=window.open("","msg","height=200,width=200,left=80,top=80");
msg.document.write("<html><title>Windows!</title>");
msg.document.write("<body bgcolor='white' onblur=window.close()>");
msg.document.write("<center>page content here</center>");
msg.document.write("</body></html><p>");

// If you just want to open an existing HTML page in the
// new window, you can replace win()'s coding above with:
// window.open("page.html","","height=200,width=200,left=80,top=80");

}
// End -->
</script>

<!-- STEP TWO: Add the last coding to the BODY of your HTML document  -->

<BODY>

<body bgcolor="white">

<center>
<form>
<input type="button" value="Open Window" onclick="win()">
</form>
</center>

<!-- Or you may use: <a href="javascript:win()">Open Window</a> -->
===============================
Wadda ya think.

Bud
That has two scripts. The first one is basically the same as the one that I gave you. The second one just document.write()'s the content instead of providing an URL, allowing you to have dynamic content.

Try this:

<FORM><INPUT TYPE="BUTTON" VALUE="Site Map" onClick="window.open('sitemap.html','smWnd','width=150,height=450,left=40,top=40,toolbar=0,location=0,directories=0,status=0,menuBar=0,scrollBars=1,resizable=1');"></FORM>
It sounds to me like you have a duff netscape - I would consider trying it in a different version or on a different pc...

Michel
Smeebud now i am more confused than you!
Avatar of smeebud

ASKER

Chris::::::::::::))))))))))))))))))
Yea!!!!!!!!!!!!!!!!

It lives. Thanks so much.
Now I have this problem all the time at
https://www.experts-exchange.com/topics/comp/os-ms-windows/general/win95/ and 98

You gave me the answer and did the work so........
aseem was answer the original question which I changed.
So, aseem. stay with me. I'm rejecting your answer and asking chriss to post his answer (along with the differences that make this last one work when the others didn't??)

Then I'll right now make another question for a good search engine. OK.

So, answers will be accepted by Chris only.

Hope this is fair.

Regards, Bud
http://www.geocities.com/~budallen/
Avatar of smeebud

ASKER

aseem,
You said:
" aseem    Date: Sunday, October 18 1998 - 10:14AM PDT
Smeebud

I think have a source code of a searchengine. I am going to work on it tonight and I'll see though  Keep in mind that it uses frames."

Please continus at,
https://www.experts-exchange.com/topics/comp/www/html/Q.10090195

This one is only about site search, I promise::))

Regards, Bud
http://www.geocities.com/~budallen/ 
ASKER CERTIFIED SOLUTION
Avatar of chrisbolt
chrisbolt

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of smeebud

ASKER

Thanks Chris,
Do you see the differences from the button script and the one we made?? No big deal, just curious.

Thanks a lot. I've another posted on a search engine again, and I'm not gonna change the thrust in mid-stream this time::))

Regards, Bud
http://www.geocities.com/~budallen/