This script (put on your browser shortcuts bar) allows you to highlight any word on the page you are currently browsing, and on clicking, be taken to the wikipedia entry for that term:
The problem is, i would like it to open the entry in a new page or tab, but i cant work out how to.
javascript:q = "" + (window.getSelection ? window.getSelection() :
document.getSelection ? document.getSelection() :
document.selection.createRange().text);
if (!q) q = prompt("You didn't select any text. Enter a search phrase:", "");
if (q!=null) location="http://en.wikipedia.org/wiki/" + escape(q).replace(/ /g, "+"); void 0
Now i just want to edit one thing, when you search for something, results are shown under the search field, when you click on each result, goes to a link.
I want when clicking on a result, not going to link, just show that result string on the search field. where should i edit in script?
I am looking a multiple search from database with check boxes and I found this as I was looking to the forum
[URL].. which is great but I need to add the delay with ajax loader
The idea is while the user waiting for results the loader to highlight the area of result..lets say if he doesn't click any other of options between 3 seconds the results of what he had already checked to be displayed.
I'm looking to use JQuery to setup something like this:(Textbox input via search)(Multi-select select/option box here with results already populated)There are a large number of results already in the multi-select box and I'd like to narrow them down on the fly by text input into the "search" field. What would be the most efficient way to do this?
I was wondering what could be wrong? There is this ajax code that I'm trying to work on and its supposed to show the results in a div tag when submitting a search form, but theres no results.
I have a page built in Sharepoint. I need to create a little search box within that page so people can search for names on that same page. It's a page with a lot of text, hence why the search feature is needed.
I am trying to get the back button or just a go back to work with an Ajax div? here's a minimal ajax enabled bldd.nl/stackoverflow/pagination/indexMinAjax.php but i want it to be ajax enable with the back button and for this i am trying BBQ
I have a multi-page order form for my website. My form is using a javascript that will calculate the total price for my products. The customer has the option to add on additional products during this process. The problem that I am having is that I am unable to carry over the sum once the customer clicks the next button. Does anyone have a solution?
I am designing a tabless web page.The page contains 2 div sections.One is for menus and other is to display the contents of the page by clicking the menus.I don't want to use frames and iframes.Is it possible to do it using the div tag? The code I had used is show below.
It is possible to perform a find in page search that looks at a specific link, opens the page in a new window and finds the text within that document?? Basically I regularly use an html page in work that has a list of people and their telephone numbers. I want to be able to type in a searchbox on my main page and it open the target page and find the name I am looking for? Is this possible or can you only Find In Page on the same page or another frame?
I'm far from a JQ guru but I built a page using two plug ins (slides and pagination) If I run just the pagination plug in ( for the images thumbnails ) and the slides plug in ( WITHOUT) the function code both seem to work OK. But I need the slide function code for the slides plug in to rotate the images as well and when I do this I get a grey area displaying the image numbers in between the div containing the slide and the footer, rendering the thumbnails not to work as well as the footer pop up menu does not function either see links below
http:[url]....
slides - images display fine / thumbnails work ( no function for rotating slides ) viewport / footer - working http://dagwaremedia.com/ScotchSodaFiles/index.htm slides - images display fine / rotating images work ( with function for rotating slides ) thumbnails DO NOT WORK viewport - DOES NOT WORK.
why all of these plug ins do not work all together on this page?
Im having problem with this slideshow I wanna do. Im a beginner and dont really know how to do, when I want to check the small pictures, and then open a bigger version of them in another page.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head>
I have a search field on the website, and when I type a word to search, it search good, but after preforming the search, the search term from search text field disappears and become the default 'Search' word.
How can I make search term stay in search field after preforming a search ? For example, when I type into the search field 'JavaScript' I want that term to stay in search field and after the search is done.
I am using a very simple search-type page to enable users to input a model number and its page appears in a inline frame. Its not a true search as it is simply relying on a person entering the correct html page name to find it. But this works perfectly in my application.The problem I have is that I cannot get the type box to accept enter key as a submitt, only a click of the mouse will submitt the request. If enter is pressed the box loses the users input but no action is taken.I think this may be a javascript issue. I have posted the code below.
this form look up some holiday destination which appears on this page with url: [URL] Now, I dont want to display result on this page, but on page B, in iframe.I found a way how to redirect output as a link to properly show in iframe on page B.
Page A contains:
<a href="pageb.html?http://www.domain.com/find.html?destination=italy&price=500">show on page B</a><br> Page B contains: <script type="text/javascript">
[code]....
In this case page B will properly load requested link in iframe.Problem is it is just a static link... I want to display search result from the form.
I've been trying to edit this script but it continues to open my slideshow images into new tabs. I would like that the images on the slideshows when clicked they will open in the same tab. How can I do that? Here is the script I am using
I want to create a new window with a page loaded inside and use javascript in the calling page to examine the contents of the new page (after waiting a couple of seconds) and based on what the new page holds branch off in different directions. Its almost a bit like page scraping but client side on my PC through the browser.
How would I accomplish this, I know the basics of javascript (very basics) and thought something along the lines of this might work:
Code: <html> <script language="javascript"> function openwindow() {
[Code]....
PS: That code above was just me trying to access the page thats loaded up and ALERT it up on screen