Solved

Keeping an applet open while browsing different pages.

Posted on 2004-08-24
5
126 Views
Last Modified: 2010-04-09
How can I do this?  I want an applet to load once, and then have a user be able to surf to different locations on my web page.  I don't want to put this applet on each page.  Would I us Frames to do this?  Is there an easier way?  Thanks experts.

kes
0
Comment
Question by:kesea
5 Comments
 
LVL 36

Expert Comment

by:Zyloch
ID: 11888392
Hi

Yes, you would use either frames or iframes. Do you need help with that?

Regards,
Zyloch
0
 
LVL 5

Accepted Solution

by:
cristy56 earned 500 total points
ID: 11888413
Example code for u using frameset :

<FRAMESET COLS="50%, 50%">

<FRAMESET ROWS="50%,50%">
                       <FRAME SRC="cell.html" SCROLLING="yes">
                       <FRAME SRC="cell.html" NORESIZE>
</FRAMESET>

<FRAMESET ROWS="33%,33%33%">
                       <FRAMESRC="cell.html">
                       <FRAMESRC="cell.html">
                       <FRAMESRC="cell.html">
</FRAMESET>

</FRAMESET>


----------------------------
Cristy
0
 
LVL 5

Expert Comment

by:cristy56
ID: 11888418
And example for using iframe

<html>
<head>
<title>Floating frames example</title>
</head>
<body>
<h1>This is a floating frame example</h1>
<hr>
<iframe SRC="http://www.foo.com/frame1.html" NAME="float1" WIDTH="100" HEIGHT="100" ALIGN="right" NORESIZE>
You will not see this text if your browser supports IFRAME. If you CAN see this, you are in a bad way.
</iframe>
<hr>
</body>
</html>

But I guess  in your case, using frameset is more appropriate.

Regards,
Cristy
0
 
LVL 6

Expert Comment

by:masirof
ID: 11890307
Please note that Netscape doesnt support iframes.
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 11891988
>>> Please note that Netscape doesnt support iframes.

Excuse me!?????!

The ancient relics like Netscrap 4 and a lot of other early browsers did not support iframe.  Netscrap 6 has supported iframe since version 6.0 beta 1 in Apr 2000 ... first full release was Nov 2000; though it was very buggy until the 6.1 release of Aug 2001.

As for the questin itself.  Iframe is a better alternative than frame, because it gives you mor flexibility.  However there is also an option of putting it in a seperate window.  Whether or not that is appropriated depends on what the applet is doing and whethter it needs resources from the main page.

A seperate windo gives you more positioning options, but it you auto-launch it, it could be blocked by popup blockers.

Cd&
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now