This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Iframe alternative Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Iframe alternative " Watch "Iframe alternative " New topic
Author

Iframe alternative

kavita vala
Ranch Hand

Joined: Jul 22, 2010
Posts: 42
I was use iframe for may tab panel but its cant handle th javascript between
parent and child.

Can anyone give me the alternative of iframe which gives functionality same as iframe

please help me.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

If you just need tabs why not just use divs?
kavita vala
Ranch Hand

Joined: Jul 22, 2010
Posts: 42
but i want to display data dynamically coming from database
so its tough to arrange in divs

if any other alternative is there please suggest me
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

How you're retrieving the data doesn't have anything to do with iframes.

I still don't know why you don't just use divs. Take a look at something like the jQuery tabbed panel demo; no iframes there.
kavita vala
Ranch Hand

Joined: Jul 22, 2010
Posts: 42
thank you very much for replay and suggestion .
i use div tag and its works too good.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Glad to hear you've worked it out :)
 
wood burning stoves
 
subject: Iframe alternative
 
Similar Threads
target in response.sendRedirect();
is there any alternative for iframe?
Refreshing only part of the screen in jsp
displaying an external html in jsp
javascript to capture event for restore down or maximize