We help IT Professionals succeed at work.
Get Started

"Reparent" Content Into a Div?

bryker asked
Last Modified: 2007-12-19
I'm pretty new to JS, so this may be impossible, but I'll ask anyway.

When my user mouses over certain elements in my ASP.NET page, I'd like to pop up a div which contains dynamic content from another URL.

I don't want to pop up another browser window, because this div needs to be actually *on* my page (printable and all that).

For instance, is there any way to basically "open" another page but "reparent" its content to this div's boundaries?  Alternately, could this div contain an <img> which is itself referencing this other URL?

If the latter method is my only hope for a solution, I assume that that URL needs to reference image content only, right?  I mean, I couldn't have this div's img referencing tables, rows, cells, other images, etc., right?

Basically, is there any way to have a div containing the (dynamic) content sourced from another URL?


Watch Question
This problem has been solved!
Unlock 1 Answer and 7 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE