Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | Spammer bankrupted?

You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Computers & IT > Internet Discussion
Register FAQ Community Calendar

Website search function
Reply
 
Thread Tools
Old 20-12-2004, 14:16   #1
printerman
Inactive
 
Join Date: Jun 2004
Posts: 488
printerman has a spectacular aura about themprinterman has a spectacular aura about themprinterman has a spectacular aura about themprinterman has a spectacular aura about them
Website search function

Hi,
i'm designing my works website. Its my first web design and its slow going but i'm getting there. We are a bit skint (very skint!) at present and can't afford someone to do it for us so i said i'd do it. I'm getting along fine but i don't know html so i'm using an editor to do it. What i really want is to be able to add a search function which sits at the side of the left hand page in the middle. I don't want any adverts, popups, little logos on the bottom of the seach function. I just want search and a box. End of......
Can someone please help me get some brownie points and tell me where i can get one for free. All the ones i've come accross have adds with them.

Thanks in advance of any help
printerman is offline   Reply With Quote
Advertisement
Old 20-12-2004, 14:27   #2
altis
Inactive
 
altis's Avatar
 
Join Date: Jun 2003
Location: Warrington ntl:81304 Altitude: 12m (and falling)
Posts: 4,499
altis has a nice shiny staraltis has a nice shiny star
altis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny star
Re: Website search function

You can use Google and limit the search to one particular site viz:

http://www.google.co.uk/search?q=pri...bleforum.co.uk
altis is offline   Reply With Quote
Old 20-12-2004, 14:56   #3
printerman
Inactive
 
Join Date: Jun 2004
Posts: 488
printerman has a spectacular aura about themprinterman has a spectacular aura about themprinterman has a spectacular aura about themprinterman has a spectacular aura about them
Re: Website search function

Thats GREAT!!! Sorry i don't like being spoonfed but how do i get this via my own webpage....? I like what its doing but i don't know how to do it.?
printerman is offline   Reply With Quote
Old 20-12-2004, 15:12   #4
altis
Inactive
 
altis's Avatar
 
Join Date: Jun 2003
Location: Warrington ntl:81304 Altitude: 12m (and falling)
Posts: 4,499
altis has a nice shiny staraltis has a nice shiny star
altis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny star
Re: Website search function

Can you run any server-side scripts, like PHP, or are you restricted to just client-side stuff, like Javascript?
altis is offline   Reply With Quote
Old 20-12-2004, 15:29   #5
printerman
Inactive
 
Join Date: Jun 2004
Posts: 488
printerman has a spectacular aura about themprinterman has a spectacular aura about themprinterman has a spectacular aura about themprinterman has a spectacular aura about them
Re: Website search function

I'm sorry i have no idea....i'm just doing the site content and design ....who and how its hosted is beyond me. I know this doesn't help but its really all i know.
printerman is offline   Reply With Quote
Old 20-12-2004, 15:37   #6
altis
Inactive
 
altis's Avatar
 
Join Date: Jun 2003
Location: Warrington ntl:81304 Altitude: 12m (and falling)
Posts: 4,499
altis has a nice shiny staraltis has a nice shiny star
altis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny star
Re: Website search function

Looks like you'll have to stick to Javascript then. This is a shame 'cos not all browsers have Javascript enabled. Because it can do nasty things - like fiddle with your registry - Javascript is often disabled within many organisations.

Anyway, give me a while and I'll try to work something out....
altis is offline   Reply With Quote
Old 20-12-2004, 15:45   #7
printerman
Inactive
 
Join Date: Jun 2004
Posts: 488
printerman has a spectacular aura about themprinterman has a spectacular aura about themprinterman has a spectacular aura about themprinterman has a spectacular aura about them
Re: Website search function

thats great...thankyou very much.
printerman is offline   Reply With Quote
Old 20-12-2004, 15:52   #8
themelon
Inactive
 
Join Date: Dec 2003
Location: Stoke-On-Trent
Posts: 561
themelon is a splendid one to beholdthemelon is a splendid one to beholdthemelon is a splendid one to beholdthemelon is a splendid one to beholdthemelon is a splendid one to beholdthemelon is a splendid one to beholdthemelon is a splendid one to beholdthemelon is a splendid one to beholdthemelon is a splendid one to behold
Re: Website search function

For ease of use jobbies I generally use this from google.

It may only work if you site has been crawled by google spiders though:

Just replace 'www.cableforum.co.uk' with whatever your site is:

<HTML>
<BODY>
<FORM method=Get action="http://www.google.com/search">
<TABLE bgcolor="#FFFFFF">
<tr>
<td>
<INPUT TYPE=text name=q size=25 maxlength=255 value=""><INPUT type=submit name=btnG VALUE="Search">
<input type=hidden name=domains value="http://www.cableforum.co.uk"><br>
<input type=radio name=sitesearch value="">World Wide Web<input type=radio name=sitesearch value="http://www.cableforum.co.uk" checked> Your website
</td>
</tr>
</TABLE>
</FORM>
</BODY>
</HTML>

Position it where you want on the page, you can play around with the number currently '25' to make the text box smaller.

You can play around with the formatting to your hearts content once its inserted in a table or div. It depends exactly what your size requirements are.
themelon is offline   Reply With Quote
Old 20-12-2004, 16:26   #9
printerman
Inactive
 
Join Date: Jun 2004
Posts: 488
printerman has a spectacular aura about themprinterman has a spectacular aura about themprinterman has a spectacular aura about themprinterman has a spectacular aura about them
Re: Website search function

Thats fantastic!! I've edited it so...


<HTML>
<BODY>
<FORM method=Get action="http://www.google.com/search">
<TABLE bgcolor="#FFFFFF">
<tr>
<td>
<INPUT TYPE=text name=q size=15 maxlength=255 value="">
<INPUT type=submit name=btnG VALUE="Search">
<input type=hidden name=domains value="<A href="http://www.mywebsite.com"><br">http://www.mywebsite.com"><br>
</td>
</tr>
</TABLE>
</FORM>
</BODY>
</HTML>
Am i right in thinknig this will search MY SITE ONLY.
Very simple for some but completely new to me!! Thankyou very!!! MUCH!
printerman is offline   Reply With Quote
Old 20-12-2004, 16:34   #10
daxx
Inactive
 
daxx's Avatar
 
Join Date: Jun 2003
Location: DE24 0XX
Services: All XL
Posts: 454
daxx is a splendid one to beholddaxx is a splendid one to beholddaxx is a splendid one to beholddaxx is a splendid one to beholddaxx is a splendid one to beholddaxx is a splendid one to beholddaxx is a splendid one to beholddaxx is a splendid one to beholddaxx is a splendid one to behold
Send a message via ICQ to daxx Send a message via AIM to daxx Send a message via MSN to daxx Send a message via Yahoo to daxx
Re: Website search function

hint: do a few searches yourself to get the google spider to go along and trawl the new site for info before you 'go live', alternatively post the link on here and no doubt a few of us will 'help you along'
daxx is offline   Reply With Quote
Old 20-12-2004, 16:45   #11
themelon
Inactive
 
Join Date: Dec 2003
Location: Stoke-On-Trent
Posts: 561
themelon is a splendid one to beholdthemelon is a splendid one to beholdthemelon is a splendid one to beholdthemelon is a splendid one to beholdthemelon is a splendid one to beholdthemelon is a splendid one to beholdthemelon is a splendid one to beholdthemelon is a splendid one to beholdthemelon is a splendid one to behold
Re: Website search function

Quote:
Originally Posted by printerman
Thats fantastic!! I've edited it so...


Am i right in thinknig this will search MY SITE ONLY.
Very simple for some but completely new to me!! Thankyou very!!! MUCH!
Just having a look, dont think the above will work. See if I can fix it
themelon is offline   Reply With Quote
Old 20-12-2004, 16:53   #12
Caspar
Inactive
 
Join Date: Jun 2003
Location: UK
Posts: 4,988
Caspar has reached the bronze age
Caspar has reached the bronze ageCaspar has reached the bronze ageCaspar has reached the bronze ageCaspar has reached the bronze ageCaspar has reached the bronze ageCaspar has reached the bronze ageCaspar has reached the bronze ageCaspar has reached the bronze ageCaspar has reached the bronze ageCaspar has reached the bronze ageCaspar has reached the bronze ageCaspar has reached the bronze ageCaspar has reached the bronze ageCaspar has reached the bronze ageCaspar has reached the bronze ageCaspar has reached the bronze ageCaspar has reached the bronze ageCaspar has reached the bronze age
Re: Website search function

Ive just PM'd you printerman
Caspar is offline   Reply With Quote
Old 20-12-2004, 16:58   #13
themelon
Inactive
 
Join Date: Dec 2003
Location: Stoke-On-Trent
Posts: 561
themelon is a splendid one to beholdthemelon is a splendid one to beholdthemelon is a splendid one to beholdthemelon is a splendid one to beholdthemelon is a splendid one to beholdthemelon is a splendid one to beholdthemelon is a splendid one to beholdthemelon is a splendid one to beholdthemelon is a splendid one to behold
Re: Website search function

This should do it

<FORM ACTION="http://www.google.com/search" method=get>
<div align="center">
Find in this site:
<br>
<input type="hidden" name="output" value="myresults">
<input type="hidden" name="sitesearch" value="www.cableforum.co.uk">
<input type=text name=q size=10>
<input type=submit value="Search" name="submit">
<br>
</font></div>
</FORM>
themelon is offline   Reply With Quote
Old 20-12-2004, 17:35   #14
MetaWraith
Inactive
 
MetaWraith's Avatar
 
Join Date: Oct 2003
Location: 2nd CPU to the right & past the cache
Posts: 1,949
MetaWraith has a bronzed appealMetaWraith has a bronzed appeal
MetaWraith has a bronzed appealMetaWraith has a bronzed appealMetaWraith has a bronzed appealMetaWraith has a bronzed appealMetaWraith has a bronzed appealMetaWraith has a bronzed appealMetaWraith has a bronzed appeal
Send a message via ICQ to MetaWraith Send a message via AIM to MetaWraith Send a message via MSN to MetaWraith Send a message via Yahoo to MetaWraith
Re: Website search function

Complete instructions for how to add Google to your own pages
http://www.google.com/searchcode.html
MetaWraith is offline   Reply With Quote
Old 20-12-2004, 19:36   #15
printerman
Inactive
 
Join Date: Jun 2004
Posts: 488
printerman has a spectacular aura about themprinterman has a spectacular aura about themprinterman has a spectacular aura about themprinterman has a spectacular aura about them
Re: Website search function

Thats great. I'll try it again tomorrow when i'm at work ..i'll let you know how i get on.....
printerman is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:50.


Server: lithium.zmnt.uk
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum