From this basic idea, you can do some pretty cool stuff if you are so inclined to code it. For example, anyone who does SEO might want to track the leading web sites for certain search keywords. You could create a simple form where a user would enter a keyword in a search box, then would click one of three submit buttons.
First button links to: http://search.yahoo.com/search?p= + [keyword]
Second button links to: http://www.google.com/search?q= + [keyword]
Third button links to http://www.ask.com/web?q= + [keyword]
The buttons would pop a new window showing you immediately what the front page sites are for the keyword term on each page. In this way, by simply creating a URL that triggers a query, you could actually allow users to access a lot of their favorite sites from your site.
The trick is remembering that you have to use single quotes around the URLs when generating the HTML as using double quotes for this in Javascript would confuse the browser.
No comments:
Post a Comment