Bookmark and Share

Author Topic: html or java or whatever for my website  (Read 19185 times)

0 Members and 1 Guest are viewing this topic.

Offline SteveP

  • PcWinTech Full Member
  • **
  • Join Date: Mar 2011
  • Posts: 86
  • Location: Tulsa OK.
  • Karma: 0
  • I deal in 60s and 70s model GM muscle car parts
    • Phillips Muscle Car Parts Inventory
html or java or whatever for my website
« on: August 01, 2011, 08:40:09 AM »
i have been recently building a webpage and what i am running into is i need a search function for it but.... my page is a  bunch or car parts numbers in an excel spread sheet format and i would like the search function to work as it does in excel where you type in what you are looking for and the page stays the same but it goes to whatever number you typed and highlights it. all the search functions i have found so far take you to some external page this is not good for what my customers need. does anyone know of any preexisting code in java or html or is there anyone thats smarter than me that can write some real quick? many thanks guys.

btw my page is http://phillipsmusclecarpartsinventory.weebly.com if you wanna check it out and make suggestions or whatever.

PcWinTech.com Forums

html or java or whatever for my website
« on: August 01, 2011, 08:40:09 AM »

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 16,846
  • Location: USA
  • Karma: 523
  • "Knowledge should be shared not hidden."
Re: html or java or whatever for my website
« Reply #1 on: August 01, 2011, 11:02:20 AM »
I am a windows programmer and the stuff I did on my site was thanks to searching for examples on Google. :wink:

There are tons of examples for search functions there :-)

Shane
(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline SteveP

  • PcWinTech Full Member
  • **
  • Join Date: Mar 2011
  • Posts: 86
  • Location: Tulsa OK.
  • Karma: 0
  • I deal in 60s and 70s model GM muscle car parts
    • Phillips Muscle Car Parts Inventory
Re: html or java or whatever for my website
« Reply #2 on: August 01, 2011, 11:16:33 AM »
i have been google ing this matter for severall days now and i cant seem to find one that does what i want it to. thats why i am asking you guys. its all good though i might find something eventually.

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 16,846
  • Location: USA
  • Karma: 523
  • "Knowledge should be shared not hidden."
Re: html or java or whatever for my website
« Reply #3 on: August 01, 2011, 12:15:53 PM »
Google has a search function that you can use on your site.

http://www.google.com/sitesearch/

Shane
(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline SteveP

  • PcWinTech Full Member
  • **
  • Join Date: Mar 2011
  • Posts: 86
  • Location: Tulsa OK.
  • Karma: 0
  • I deal in 60s and 70s model GM muscle car parts
    • Phillips Muscle Car Parts Inventory
Re: html or java or whatever for my website
« Reply #4 on: August 03, 2011, 09:39:06 AM »
i really cant seem to find a search program code that meets the parameters that i need. it needs to be where you type in a part number or model name and the program scrolls down to the section of the page where that number or name is referenced and then highlights it ...or if you use the search function on the wrong page it will jump to the right page and highlight what you are looking for. just the same as excel works when you use the find function on it. im pretty sure something like this is out there i am just unable to find it...all the ones i keep finding take you to some unknown page with your search results and you click on it and it takes you to the page its on but doesnt scroll to the number or highlight it...that doesnt do me any good ...any help would be great thnx Shane.

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 16,846
  • Location: USA
  • Karma: 523
  • "Knowledge should be shared not hidden."
Re: html or java or whatever for my website
« Reply #5 on: August 03, 2011, 09:55:40 AM »
You mean like something like I have on this page?
http://www.pcwintech.com/default-router-modem-passwords

Shane
(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline SteveP

  • PcWinTech Full Member
  • **
  • Join Date: Mar 2011
  • Posts: 86
  • Location: Tulsa OK.
  • Karma: 0
  • I deal in 60s and 70s model GM muscle car parts
    • Phillips Muscle Car Parts Inventory
Re: html or java or whatever for my website
« Reply #6 on: August 03, 2011, 09:59:42 AM »
the search you have on the top right still takes you to another page and lists what you asked for ...i want it to stay on the same page and just scroll down and highlight ...the search right above your list doesnt work

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 16,846
  • Location: USA
  • Karma: 523
  • "Knowledge should be shared not hidden."
Re: html or java or whatever for my website
« Reply #7 on: August 03, 2011, 10:31:46 AM »
I need to check, the search above the list did work, don't know why it isn't now lol, its a java script search to search on the current page.

Shane
(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline SteveP

  • PcWinTech Full Member
  • **
  • Join Date: Mar 2011
  • Posts: 86
  • Location: Tulsa OK.
  • Karma: 0
  • I deal in 60s and 70s model GM muscle car parts
    • Phillips Muscle Car Parts Inventory
Re: html or java or whatever for my website
« Reply #8 on: August 03, 2011, 11:02:16 AM »
maybe its user error ...ill check it out again but when i tried it earlier i copy pasted something from your list and put it in there and hit search and it did nothing...like i said ill try it again and then wait and see what you come up with on your end

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 16,846
  • Location: USA
  • Karma: 523
  • "Knowledge should be shared not hidden."
Re: html or java or whatever for my website
« Reply #9 on: August 03, 2011, 11:05:15 AM »
I just checked, it works in IE but not firefox lol

This is the pain with javascript :tongue:

Shane
(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline SteveP

  • PcWinTech Full Member
  • **
  • Join Date: Mar 2011
  • Posts: 86
  • Location: Tulsa OK.
  • Karma: 0
  • I deal in 60s and 70s model GM muscle car parts
    • Phillips Muscle Car Parts Inventory
Re: html or java or whatever for my website
« Reply #10 on: August 03, 2011, 11:08:22 AM »
i looked on ie and that is exactly what i want for my site

Offline SteveP

  • PcWinTech Full Member
  • **
  • Join Date: Mar 2011
  • Posts: 86
  • Location: Tulsa OK.
  • Karma: 0
  • I deal in 60s and 70s model GM muscle car parts
    • Phillips Muscle Car Parts Inventory
Re: html or java or whatever for my website
« Reply #11 on: August 03, 2011, 11:15:50 AM »
so im guessing its not working on mozilla because thats an apple program and ie is for windows systems ...is there someway you can make it work on mozilla as well or maybe have 2 separate search boxes one that works on ie and is labeled that way and one that works on mozilla and is labeled as such?

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 16,846
  • Location: USA
  • Karma: 523
  • "Knowledge should be shared not hidden."
Re: html or java or whatever for my website
« Reply #12 on: August 03, 2011, 11:38:56 AM »
Firefox isnt a mac program, it runs on them all :wink:

the java script I used must need to be changed to work with firefox is all. I found it on google and made some changes to it.

http://javascript.internet.com/miscellaneous/search-the-page.html

Shane
(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 16,846
  • Location: USA
  • Karma: 523
  • "Knowledge should be shared not hidden."
Re: html or java or whatever for my website
« Reply #13 on: August 03, 2011, 11:39:53 AM »
This is working in firefox, perhaps I should update my page to this as well lol

http://www.dynamicdrive.com/dynamicindex11/findpage.htm

Shane
(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline SteveP

  • PcWinTech Full Member
  • **
  • Join Date: Mar 2011
  • Posts: 86
  • Location: Tulsa OK.
  • Karma: 0
  • I deal in 60s and 70s model GM muscle car parts
    • Phillips Muscle Car Parts Inventory
Re: html or java or whatever for my website
« Reply #14 on: August 03, 2011, 12:31:00 PM »
looks and works great so far thanks alot shane ....as always you come through with flying colors. :cheesy:

PcWinTech.com Forums

Re: html or java or whatever for my website
« Reply #14 on: August 03, 2011, 12:31:00 PM »

 

email