At the moment, i have a program that searches for books in a database, and then returns links to the matching title found having the keyword. How would i set it up such that i can have every keyword for in the result highlighted? For instance when book title are found, links are returned. The linked basically open up a window using some javascript. Kinda like a popup window. Now does anyone know how i would highlight (or color) every keyword found within that pop up window? it could be highlited, colored or bolded. anyone? im guess i would have to read every word in the document. should i put everything as a string? then match it? help.
215029
This sounds like a job for the preg_replace() function. Use $1 to replace the original and wrap it in a SPAN tag to use a CSS style that you've defined as your highlight. For example,\n\n<span class="hs_1"> ... </span>\n\nI would keep the name of the style short as it will likely be repeated multiple times in your results document.
357618
If you used a quick submit program or website, that could be the problem. Its better to go to each individual search engine and do it yourself than to use a quick submit website or program. That way you can be sure that it goes through for each search engine (Some search engines do not allow automated programs to submit URLs).\n\nYou might want to also add more of your keywords to the content of your webpage, in sentences. \n\nTry this site http://www.searchbliss.com/seo-tools/search-engine-optimization.htm This is where I learned how to use my meta tags, keywords and content to get my website the best possible results.
640841
There are setting in your internet explorer that will allow for you to open each link in seperate windows or only in one window.  Try right clicking on a link and selecting open in new window.  If can't figure it out try the link below and go through troubleshooting.
517249
This really depends on the keywords you are targeting. For example if you choose a keyword such as a company name, the chances are you are already in the top 10. Once you have decided on what words to target, you will need to use them liberally in your meta tags, heading tags, filenames, and your actual RELATED content. The next thing you should examine is getting links from sites that have similar content that help legitimize your site to the webcrawlers. Getting your site listed in the DMOZ directory is also quite helpfull. You should also keep your expectations realistic, you are not likely to beat out amazon for common book related search terms for example.
501694
Use meta tags:\n\nThis meta tag is usually placed beneath the title and meta description tags in the <HEAD></HEAD> section of your pages' HTML code, like this:\n\n<HEAD>\n<TITLE>your DESCRIPTIVE KEYWORDS title goes here</TITLE>\n<META NAME="DESCRIPTION" CONTENT="Your keyword rich marketing sales-pitch meta description goes here">\n<META NAME="KEYWORDS" CONTENT="your keywords,go here,separated by a comma,but not a space">\n</HEAD>
50068
perhaps u r trying the keywords that not exactly match the content u wish to find out,, and maybe the content u r trying to find is ina  low ranking so its located in the 8 or 9th or 7th page of yahoo or google.com`s search list,, so u have to check out ur keywords and then check out whole the pages of search results (beter u check the keywords, try using exact keywords)\n  you may also try with some other search engines , like these search engines:\nhttp://search.msn.com\nhttp://altavista.com
361866
Hi, you can try with keyboard shortcut (ctr+F) and give the word you want to find. try dude
626256
You should open your favorite web-page into a new window.\nCopying following codes into a new page with (html) extension.\n\n\n<HTML>\n<HEAD>\n<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">\n<TITLE></TITLE>\n\n\n<SCRIPT LANGUAGE="JavaScript">\nfunction Window_comment(){\n\nnew_comment = window.open('http://answers.yahoo.com','new_comment','toolbar=0,status=0,menubar=0,resizable=0,scrollbars=0,location=0,Height=500,width=500,top=100,left=100');\n\n}\n</script>\n\n</HEAD>\n\n<BODY onload="Window_comment()">\n\n</BODY>\n</HTML>\n\n\nYou can change the "Zero" with "One" if you want appear these facilities that are hide now.\n\n>>> This page don't show "new_comment" line completely, so move your mouse cursor on that line to see the whole codes.\n\nBe success
215173
Highlight all of the text you would like to print (do this by click and drag method). Right click on the highlighted text and select print. When the print properties come up, choose selection, then print.\n\nWhy?\nSome browsers confuse HTML resources and don't print the actual text, just the header and footer and sometimes menus, especially when java or flash is involved. Hope this helps!
362531
You can do that with a scrap of javascript. To make a link open in a new, sized window:\n<a href="javascript:newWindow ('mypage.html',660,500);">\nThe numbers are height and width respectively. I inserted a space in that line to make it show up on YA.
668195
When you put your mouse over the text of a paragraph inside the website... click and drag the Left mouse button (if you're right handed) ***Right mouse butting IF YOUR LEFT handed***\n\nwhen you click and hold the mouse button you can drag your mouse across the screen... highlighting the text... in which then you can let go of the button when you've gotten all the text you want, highlighted... now you can right click, once again for right handed people, and go down to copy, and/or you can hit your Ctrl button on the keyboard... and also hit 'C' on the keyboard as well and that'll copy it.\n\nGo to word document or notepad and right click and click on Paste. OR you can hit your ctrl button and hit 'V' for pasting as well.\n\nNow this works for the address of an HTML too... just double click the address and it should all be highlighted... if not hitting the Ctrl button and hitting 'A' after clicking in the address box will hit select all. Ctrl-A also works on websites, if you want the entire page... click anywhere on the page and hit Ctrl-A and it'll select everything.\n\nAnymore questions email me at Shaded_life_unknown_Undiscovered@yahoo.com
341685
Well first of all you need a standard html form. So lets create one real quick...\n\n\n<form method="POST" action=" processlink.php ">\n<input type="TEXT" name="linktext" size="30">\n<input type="submit" name="submit" value="Submit">\n</form>\n\nNow that we got a form, you need the processlink.php script to take what they entered and return a link containing the words...\n\n<?php\n\n$linktext = $_POST['linktext'];\n\nif (($linktext != null) && (strlen(trim($linktext)) > 0)) {\n  $link = "http://www.goarticles.com/cgi-bin/rss-search.cgi?search_title=" . $linktext . "&l=20&s=1&c=none&D1=advanced"\n\necho urlencode($link);\n}\n\n?>\n\nSorry if Yahoo cuts the link part short. The idea is that you concatenate (join together) the parts of the url and your link text into one link, then encode it.\n\nNow of course this is really basic, so you might want to check with better validation etc, but the general idea is there. The script will then echo out the URL link and all should be right with the world. \n\nI have provided links to the PHP documentation that shows you some of the key functions used in the example for better descriptions.\n\nEnjoy!
305619
How's this? \n\nfunction addText(text) {\n  t = document.forms[0].mytextarea;\n  t.value = text + t.value;\n}\n\nFor the highlighting stuff, have a look at the documentation for things like createTextRange .
546475
Yes it does matter from two perspective:\n\n1. Tilte text appears on the window title bar. There's limited horizontal space so you would want the text to be as meaningful as possible upfront without overloading the title bar.\n\n2. Searchbots from search engines read the tilte text very carefully. How your page ranks in search engines is partially affected (amonst many other things) by the way you craft the title according to the search keywords you want to attract users via search engines.\n\nHere are some best practices on the title meta tag:\n\n- Place your title tages below the <HEAD> tag.\n- Place 40 to 60 characters (about 12 words) between the <TITLE> and </TITLE> tags including spaces. Too many words is not a good idea because it dilutes the keyword density of the important keywords in the title that should help drive search traffic to your page.\n- Put the keywords/key phrase you want to focus on for this page at the very begining of the title.\n\nIf you want, you can repeat the primary keywords once (but no more then that). Limit the number of two-letter words and very common words (the, a, and) because search engines ignore them.
382817
I could do that code with just html and 1 programming language!\n\nthe html part is a classic form with at least one <input>\n\nif the language is javascript (it's harder) you request a flat file of the items to be search and you loop through it for the right hits. then you append them to the page.\n\nif it's any other (a cgi style language) you do all the searching on the server, and return a custom html page with the hits on it.\n\nall solutions will require a little programming... but it's not "Rocket Surgery"\n\n\nand you don't need sql for a little search box... only if you have thousands of pages!\n\nand steer clear of Microsoft solutions (ASP), PHP and the rest run everywhere!
238025
the problem could be that the section of text you are trying to select is probably not actual text but an image of text.  You could try covering that section of text with a shape that has the same color as the background and type in over that what you need it to say.
342398
I use bibtex all the time, and, usually, when I want the bibtex entry, I simply google the title of the article for which I want a reference ( Google scholar : click on "Scholar" on google's home page) and I get a page describing the article. Then I perform a search on this page to find the bibtex entry "keyword: bibtex". There's usually a link, especially if you work in computer science.\n\nOtherwise, type it yourself, the bibtex format is very straightforward.