Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-27-2011, 01:58 PM   PM User | #1
rameeadams
New to the CF scene

 
Join Date: Jul 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
rameeadams is an unknown quantity at this point
Open the index.html file with a pop-up window.

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?
rameeadams is offline   Reply With Quote
Old 07-27-2011, 06:36 PM   PM User | #2
sunfighter
Senior Coder

 
Join Date: Jan 2011
Location: Missouri
Posts: 2,399
Thanks: 18
Thanked 352 Times in 351 Posts
sunfighter is on a distinguished road
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.

Code:
#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;
}
sunfighter is online now   Reply With Quote
Old 07-28-2011, 03:36 AM   PM User | #3
rameeadams
New to the CF scene

 
Join Date: Jul 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
rameeadams is an unknown quantity at this point
Quote:
Originally Posted by sunfighter View Post
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.

Code:
#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 is offline   Reply With Quote
Old 07-28-2011, 07:18 AM   PM User | #4
rameeadams
New to the CF scene

 
Join Date: Jul 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
rameeadams is an unknown quantity at this point
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>
rameeadams is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:25 PM.


Advertisement
Log in to turn off these ads.