...

View Full Version : Open the index.html file with a pop-up window.



rameeadams
07-27-2011, 02:58 PM
Hi guys,

I have been working on this and cant figure it out.

I have an index.html as my main file and I wanted to have a pop-up window that will also open together with the index file. the pop-up window is a notepad like type, file name is clipboard.html.

Addon: i started adding code to have the pop-up to stay on the right side of the screen and always on top.

As of right now, all codes are very confusing and i decided to delete and start from scratch.

Can you guys fill in the blanks?

sunfighter
07-27-2011, 07:36 PM
The following code will open a div that should answer your needs. Put it where you want on your page and fill it with what ever you want. You might want to add a close button to make it invisible.


#display_message {
height: 245px;
width:300px;
overflow: visible;
background-color:#e1e1e1;
font-size:11px;
font-family:verdana;
color:#000;
padding: 5px 10px;
position: absolute;
left: 135px;
top: 130px;
display: block;
}

rameeadams
07-28-2011, 04:36 AM
The following code will open a div that should answer your needs. Put it where you want on your page and fill it with what ever you want. You might want to add a close button to make it invisible.


#display_message {
height: 245px;
width:300px;
overflow: visible;
background-color:#e1e1e1;
font-size:11px;
font-family:verdana;
color:#000;
padding: 5px 10px;
position: absolute;
left: 135px;
top: 130px;
display: block;
}

Hi, I am really sorry, i am lost where to place this code. I dont see any calling of the pop-up html in the code. the pop-up html is clipboard.html.

Should i place this code in the index.html? Thanks.

rameeadams
07-28-2011, 08:18 AM
I was able to decipher it. hahahaha. simple but i got confused.
----------


<html>

<head>
<title>SiriusXM Reloaded Call Guide</title>

<SCRIPT LANGUAGE="javascript">
<!--
window.resizeTo(1100,1200)

window.open("clipboard.htm","","width=185,height=900, left=1080")


-->
</SCRIPT>
</head>

<frameset rows="53,*">
<frame name="banner" scrolling="no" noresize target="contents" src="top.htm">
<frameset cols="1056,*">
<frame name="contents" target="main" src="call_flow.htm" scrolling="auto">
<frameset rows="*,66%">
<frame name="main" src="right.htm" target="_self">
<frame name="main1" src="clipboard.htm" scrolling="auto">
</frameset>
</frameset>
<noframes>
<body>

<p>This page uses frames, but your browser doesn't support them.</p>

</body>
</noframes>
</frameset>

</html>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum