How to divide into pop's

Initially I hav created a web page wd embedded player in it. Hence i hav arranged all other content's on page from according to it. My .jsp is divided into several<div XXX>.

I now decided to inc player size n hence want two div's ina separate window.

Do i hav to make chnges to all .js files i have writen down.

kindly help.

[366 byte] By [Emagiaa] at [2007-11-27 8:06:46]
# 1
Not clear what the requirement is, can you rephrase please?
nogoodatcodinga at 2007-7-12 19:49:24 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
I want part of webpage to be displayed on click and that too on a popup.My webpage is clearly divided into several divisons.<div="msglayer"> etc....waiting 4 reply
Emagiaa at 2007-7-12 19:49:24 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

To create a pop-out window, you'll have to have a complete page to give as the source of that pop-out.

So that would mean, that you need to have your <div>'s as part of one whole JSP and not together in one single one because then you can't separately pop them out.

What you could do is separate your 4 <div>'s and put them in four different files and then to get them together in one, use the <jsp:include> tag which dynamically put the output from each of the 4 JSPs into the main JSP. This way, when you want to pop out any section, you can just use JavaScript to hide the <div> on the main page ( set .display= 'none'; ) and give the URL of the pop out as the particular <div> that you want displayed.

Does give you any ideas?

nogoodatcodinga at 2007-7-12 19:49:24 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4

window.showModalDialog('/path/jsp/page1.jsp','Page Title','width=600,height=500,scrollbars=1');

<div id="contentarea1" class="contentstyle1">

<jsp:include page="Content1.jsp"></jsp:include>

</div>

to hide DIV:

document.getElementById("contentarea1").style.display = "none";

to show DIV:

document.getElementById("contentarea1").style.display = "";

You can dynamically include content in the DIV area using AJAX tech.

skp71a at 2007-7-12 19:49:24 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...