Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Using Iframe to get content from within a div

Posted on 2010-09-13
2
650 Views
Last Modified: 2012-05-10

I'm not sure if this is even possible, but I wanted to ask all of you.

I am using an open source CRM called CiviCRM for a PAC that I am working on.  I created the PAC website using Wordpress as I am more familiar with it than the other CMS systems.  The problem is that my CRM only integrates into Joomla or Drupal.  I set up a Joomla install behind the Wordpress directory (installed in root) to handle ONLY the contribution page and CRM administration, other than that it will not be used for anything.

On the Joomla build I created a simple contribution site using my CRM.  The problem I am running into comes when I try to IFrame that page into Wordpress.  As would be obvious, the IFrame carries over the entire page, including the Joomla template.

Here are my questions:

1)  Is there a way to IFrame content only found within the div id that wraps around all of the crm data.  "div id=crm-container"

2)  If this is not possible.  Does anyone know of a Joomla template that removes all menus, footers etc...and only leaves the content window?

Thanks for the help!
0
Comment
Question by:gwarcher
2 Comments
 
LVL 21

Accepted Solution

by:
chapmanjw earned 500 total points
ID: 33665561
Using FireBug (in FireFox) or the IE Developer Toolbar (in Internet Explorer) I would identify all of the elements on the Joomla page you want to hide (by their DIV IDs and such).  Then in the CSS on the Joomla template, hide the elements like so:

#elementname
{
display: none !important;
}
0
 

Author Comment

by:gwarcher
ID: 33666652
Worked great  Thanks!
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Find out what you should include to make the best professional email signature for your organization.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question