Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Found a solution but have CSS questionFound a solution but have CSS question
Previous
 
Next
New Post
5/3/2009 4:10 PM
 

I wanted to grab just one part of a National Weather Service page to use in the weather section of my portal.  Since you can no longer set areas in a regular iframe (iframe will only display entire target page) I found some CSS code that will allow you to grab just the portion of the page you want. I placed that in a text/html module and it works great.

But.....  it uses inline CSS and when I place another text/html module on the page using the same code but with different settings to grab a different portion of the target url both text-html modules end up displaying the same portion of the target page even though each module has different pixel settings in their code. I'm guessing this has something to do with the CSS. Does anyone know of a solution for this?

Although I know it would be better to use an API or some other more professional solution I am just trying to throw together a prototype site right at the moment to show to some people. Here is the code I am placing in the text/html module:

<style> #outerdiv { width:335px; height:678px; overflow:hidden; position:relative; } #inneriframe { position:absolute; top:-361px; left:-2px; width:1280px; height:1200px; } </style> <div id='outerdiv'> <iframe src="http://radar.weather.gov/radar.php?rid=iln&product=N0R&overlay=11101111&loop=no" id='inneriframe' scrolling=no></iframe> </div>

Any help would be greatly appreciated.

Greg

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Found a solution but have CSS questionFound a solution but have CSS question


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out