Welcome Guest [Log In] [Register]
Search Members Calendar | Rules ZB Code Index IF Code Index
ZBCode
  • Navigation
  • ZBCode
  • Coding Support
  • Code University
  • [ZB] Search this page code
Hey, welcome to ZBCode, the premier coding forum for ZB. Here you fill find some of the best Invisionfree and Zetaboards Codes on the network! Unfortunately, you're sorta hovering around in guest mode at the moment; why not join in on the fun? Register an account and you can start accessing the wealth of resources we have available here. Enjoy your stay at ZBCode, and remember to tell all your friends about us; the more members, the more codes available. ;)

Interested in joining? Click here.


If you are already a member of ZBCode, feel free to login right here:

Username:   Password:
Locked Topic
[ZB] Search this page code; found it but need help using it
Tweet Topic Started: Apr 10 2009, 01:43 PM (301 Views)
high_sky Apr 10 2009, 01:43 PM Post #1
Member Avatar
doughnuts!

Posts:
71
Group:
Member
Member
#2,360
Joined:
Feb 17, 2009
Coding language
HTML/CSS
Hello,

I have found a 'search this page' code that i intend on using for a page created by the website maker

http://www.hypergurl.com/searchpage.html

Could some one help me on how to use it , i put the code in step 1 in the javascripts section of the board template (doesnt work), and the code in step 2 in the webpage (works)

Any help is appreciated ^_^
Posted Image
ZBtopsite| ZBthemezone| ZBcode
Offline Profile Goto Top
 
Vitality Apr 10 2009, 03:20 PM Post #2
Member Avatar
Tabula Rasa

Posts:
784
Group:
Former Staff
Member
#320
Joined:
Jul 26, 2008
Try putting it in Above the Board. If that doesn't work, try all of them.
Offline Profile Goto Top
 
high_sky Apr 10 2009, 04:12 PM Post #3
Member Avatar
doughnuts!

Posts:
71
Group:
Member
Member
#2,360
Joined:
Feb 17, 2009
Coding language
HTML/CSS
yeah i tried all of them eventually but it didn't work :(
Posted Image
ZBtopsite| ZBthemezone| ZBcode
Offline Profile Goto Top
 
Vitality Apr 10 2009, 04:30 PM Post #4
Member Avatar
Tabula Rasa

Posts:
784
Group:
Former Staff
Member
#320
Joined:
Jul 26, 2008
A couple of things. It seems to me that this will work on the page that is on, so I think you have to place this in the actual website page; there has to be content on the page.
Secondly it seems that it does what most (if not all) browsers do as a default. If you hold control and then press F (command F for mac users), you'll have a box that appears where you can search the page for whatever you need. It too includes the highlighting method, next match and highlight all. It also doesn't reload the page as this one seems to do.
Do you still want this?
Offline Profile Goto Top
 
high_sky Apr 10 2009, 04:37 PM Post #5
Member Avatar
doughnuts!

Posts:
71
Group:
Member
Member
#2,360
Joined:
Feb 17, 2009
Coding language
HTML/CSS
so it just does Ctrl+F, will that a load of waste of space XD

lol forget this then if thats all it does

thanks anyway
Posted Image
ZBtopsite| ZBthemezone| ZBcode
Offline Profile Goto Top
 
Vitality Apr 10 2009, 04:59 PM Post #6
Member Avatar
Tabula Rasa

Posts:
784
Group:
Former Staff
Member
#320
Joined:
Jul 26, 2008
Quote:
 
When a word or phrase is searched, the search page script will highlight the first found match. Clicking on the find button again will highlight the next match and so on.

This is what it said. And no problem.
Offline Profile Goto Top
 
high_sky Apr 17 2009, 02:36 PM Post #7
Member Avatar
doughnuts!

Posts:
71
Group:
Member
Member
#2,360
Joined:
Feb 17, 2009
Coding language
HTML/CSS
never saw that :)
Posted Image
ZBtopsite| ZBthemezone| ZBcode
Offline Profile Goto Top
 
Reid Apr 17 2009, 06:22 PM Post #8
Member Avatar
What? The land of the free? Whoever told you that was your enemy.

Posts:
1,790
Group:
Distinguished Coder
Member
#148
Joined:
Jul 20, 2008
So, what was it you were wanting it to do? :P
The Resource Board
Offline Profile Goto Top
 
high_sky Apr 18 2009, 04:25 AM Post #9
Member Avatar
doughnuts!

Posts:
71
Group:
Member
Member
#2,360
Joined:
Feb 17, 2009
Coding language
HTML/CSS
Some kind of search function (not like that though )
Posted Image
ZBtopsite| ZBthemezone| ZBcode
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Code University · Next Topic »
Locked Topic

Track Topic · E-mail Topic Time: 7:48 PM Jul 10
Hosted for free by ZetaBoards · Privacy Policy