Solved

Can I embed html files?

Posted on 1998-12-30
2
142 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

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

Suggested Solutions

Title # Comments Views Activity
how to create a tile layout 1 38
Radio button Onclick submit form with validation 5 44
Angular 2 - Issue in page Layout 2 48
Form Submit falis 6 26
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

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

12 Experts available now in Live!

Get 1:1 Help Now