Solved

Can I embed html files?

Posted on 1998-12-30
2
144 Views
Last Modified: 2012-05-04
<input name=x type=radio onclick="document.sound.run();top.frames[1].frames[1].location.href='intro-staff-wrong.html'"><font size=3 color=blue>1 - 3</font></td>

I have the above source code, and it will connect to 'intro-staff-wrong.html' when clicked. But, the download time is quite slow sometimes. Therefore, I want to go to that page faster, and is there any method to do this?

0
Comment
Question by:hcyu
2 Comments
 
LVL 4

Expert Comment

by:martinag
ID: 1841107
You can load it into a hidden frame which will make it exist in the cache.
So, in any of your framesets, add this one (one pixel wide or something like that):
<FRAME SRC="intro-staff-wrong.html">

Another thing is do play the sound *after* the redirection:
top.frames[1].frames[1].location.href='intro-staff-wrong.html';document.sound.run()

Martin
0
 

Accepted Solution

by:
jkeebler earned 20 total points
ID: 1841108
Assuming your using multiple frames ("frame[0]" and "frame[1]") you can run the sound.run() function from "intro-staff-wrong.html" after it loads.  Make the radio button:

     <input name=x type=radio    onclick="top.frames[1].frames[1].location.href='intro-staff-wrong.html'">

.and make the BODY tag of 'intro-staff-wrong.html' include:

      onLoad="parent.frames[0].sound.run()"

Try it and email me if you have a problem.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Problem with a CSS in a page 2 30
How can i create a customized Login page based on Wordpress ? 8 36
bootstrap footer centering and columns alignement 3 54
Javasctipt 2 24
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

808 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