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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Offset Content of Popup Window

Status
Not open for further replies.

warnerb

Technical User
Mar 11, 2009
1
US
Can someone tell me how to make a popup window only include the content that I want? To be more specific, someone has given me permission to post a link to his live lake cam on my website. I want to put an image which will open a popup window with the live lake cam view. I only want to isolate the cam shot which is like 460 x 600 and not include his entire page which contains his linksys menu at the top.

Thanks in advance!
 
This can be done depending on how the feed is set up...

what is the link to the page that contains the live lake cam?



TIP: trying googling the answer before posting, you'll find that more times than not someone else somewhere has had the same request and posted an answer online.
----
I have recently been semi-converted to ensuring all my code (well most of it) works in both javascript and non-javascript enabled browsers
 
If the cam refreshes a single picture at a single URL, then simply open the window with the URL to that image.

If it's not so easy to get at the content, you may have to consider server-side scraping of his feed.

As vicvirk mentions, it will be easier to give you an accurate answer when we know the details of the feed - so a URL would definitely help.

Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

Dan's Page [blue]@[/blue] Code Couch:
Code Couch Tech Snippets & Info:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top