Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Searching and Auto-printing Project

Status
Not open for further replies.

DJInfinity

Programmer
Dec 9, 2006
1
US
Hey guys, I'm trying to figure out how i can do this...

There is a specific website that i always use, that is google.com.

I want to create an html file that when u open it, the internet explorer browser opens up with two built in frames, a top and a bottom one. The top one, I want it to be set to show the main page of google.com, and the bottom, just a single button. I want this button to be precoded for 2 words, such as Autos and Finance....im trying to make it so when the page is open (in the top frame) and u click the button at the bottom, it automatcially prints the target page of both this Autos and Finance links....any ideas?


essentially, im looking for a way that with a click of a button, it searches for the precoded 2 strings (autos and finance) and if it finds those two words, it had to check i guess if they are links first, so if it is, it prints the target page to the default printer..


thanks
 
hmmm,

interesting. u will need to use AJAX for this.

when the button is clicked, you will have to request the page using AJAX (or read through the contents of the top frame, but sometimes dude to security issues the browser might not allow). get the AJAX reply in a variable.

search it for finance links, use AJAX and request those pages. bingo you have your content...

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top