Solved

KeyWord Finder

Posted on 1998-10-10
49
769 Views
Last Modified: 2008-02-20
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/
0
Comment
Question by:smeebud
  • 23
  • 9
  • 8
  • +3
49 Comments
 
LVL 1

Expert Comment

by:saam
ID: 1838546
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
0
 
LVL 14

Author Comment

by:smeebud
ID: 1838547
Thanks Saam,
I'll give it a go and let you know.

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

Author Comment

by:smeebud
ID: 1838548
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/
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 1838549
At the same site there is a
http://www.graffiti.org/dj/search.html

Possibly free

Michel
0
 
LVL 2

Expert Comment

by:chrisbolt
ID: 1838550
Also try http://www.geocities.com/~xpert/javascript/wizards/search-engine.html

Totally free and everything is generated for you online automatically.
0
 
LVL 14

Author Comment

by:smeebud
ID: 1838551
Chris,
So far not any luck finding a selfgenerating Site Search.

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

Expert Comment

by:chrisbolt
ID: 1838552
What was wrong with that page?
0
 
LVL 14

Author Comment

by:smeebud
ID: 1838553
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/
0
 
LVL 28

Expert Comment

by:sybe
ID: 1838554
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.
0
 
LVL 2

Expert Comment

by:chrisbolt
ID: 1838555
To smeebud: Yes, I tried that search engine wizard in Netscape 4 and it worked perfectly for me... what browser are you using?
0
 
LVL 14

Author Comment

by:smeebud
ID: 1838556
sybe,
That's a new one on me. I'll try it.

Chris,
Netscape Communicator 4.04.

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

Author Comment

by:smeebud
ID: 1838557
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/
0
 
LVL 28

Expert Comment

by:sybe
ID: 1838558
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>

0
 
LVL 14

Author Comment

by:smeebud
ID: 1838559
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/
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 1838560
That sitemap looks ok to me in NS 3.03

Michel

0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 1838561
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
0
 
LVL 2

Expert Comment

by:chrisbolt
ID: 1838562
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.
0
 

Expert Comment

by:aseem072898
ID: 1838563
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
0
 
LVL 14

Author Comment

by:smeebud
ID: 1838564
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/
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 1838565
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
0
 
LVL 14

Author Comment

by:smeebud
ID: 1838566
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/
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 1838567
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
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 1838568
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
0
 
LVL 14

Author Comment

by:smeebud
ID: 1838569
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/


0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 1838570
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

0
 
LVL 14

Author Comment

by:smeebud
ID: 1838571
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/
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 1838572
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
0
 

Expert Comment

by:aseem072898
ID: 1838573
PLease comment on my answer.

aseem
0
 
LVL 14

Author Comment

by:smeebud
ID: 1838574
Sorry assem,
As you can see I got side tracked.
I'll go check those out now.

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

Author Comment

by:smeebud
ID: 1838575
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/
0
 
LVL 2

Expert Comment

by:chrisbolt
ID: 1838576
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/
0
 
LVL 14

Author Comment

by:smeebud
ID: 1838577
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/

0
 
LVL 14

Author Comment

by:smeebud
ID: 1838578
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/
0
 
LVL 14

Author Comment

by:smeebud
ID: 1838579
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
0
 
LVL 14

Author Comment

by:smeebud
ID: 1838580
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/
0
 

Expert Comment

by:aseem072898
ID: 1838581
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.
0
 

Expert Comment

by:aseem072898
ID: 1838582
Sorry a mistake above it is not
'Thay' it is 'they'
0
 
LVL 14

Author Comment

by:smeebud
ID: 1838583
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/
0
 
LVL 14

Author Comment

by:smeebud
ID: 1838584
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.
=================

0
 

Expert Comment

by:aseem072898
ID: 1838585
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.
0
 
LVL 2

Expert Comment

by:chrisbolt
ID: 1838586
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>
0
 
LVL 14

Author Comment

by:smeebud
ID: 1838587
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
0
 
LVL 2

Expert Comment

by:chrisbolt
ID: 1838588
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>
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 1838589
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
0
 

Expert Comment

by:aseem072898
ID: 1838590
Smeebud now i am more confused than you!
0
 
LVL 14

Author Comment

by:smeebud
ID: 1838591
Chris::::::::::::))))))))))))))))))
Yea!!!!!!!!!!!!!!!!

It lives. Thanks so much.
Now I have this problem all the time at
http://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/
0
 
LVL 14

Author Comment

by:smeebud
ID: 1838592
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,
http://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/
0
 
LVL 2

Accepted Solution

by:
chrisbolt earned 300 total points
ID: 1838593
Here's the answer:

<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>
0
 
LVL 14

Author Comment

by:smeebud
ID: 1838594
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/
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now