| View previous topic :: View next topic |
| Author |
Message |
thofferber
Joined: 22 Jan 2009
Posts: 10
|
| Posted: Thu Jan 22, 2009 10:45 am Provide an Iframe code to put a quote service into a page |
|
|
I am in the insurace business and I subscribe to a service that will show the quotes, but takes them to another site. Can someone write the script and explain where I put it to where the windows show up within my site. You can go to: http://www.freequotesasap.com/Health_Insurance.html and see where it starts, but the next page that pops up for individual health goes to a quotit website. I want to have that site show within my own website?
So in a nut shell when some one goes to my website and clicks on individual health, I want https://www.quotit.net/eproIFP/webPages/infoEntry/infoEntry.asp?license_no=6K3NH7 to show within my own website.
Thank you. |
|
|
|
Corey Bryant
Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA
|
| Posted: Thu Jan 22, 2009 12:08 pm |
|
|
Too many problems here - the quotit.net website is not coded properly. I get errors about "This page contains both nonsecure and secure items". The webmaster of the quotit website has to fix these issues. If you choose yes to show both, then you are re-directed to http:// and the information is not encrypted. If you choose yes, the code that is being called in an unsecure manner will not be shown / downloaded.
The webmaster of the quotit website needs to fix the paths - maybe consider using relative or virtual paths to the images. Right now, an absolute path is being used on a lot of the images - for example the big blue image that says "Free Quotes ASAP"
Code: <img src="http://img407.imageshack.us/img407/355/mybanner4973bd309be55ug7.png" alt='' border=0 />
Calling the image with the absolute path causes problems with the SSL. Looking through the source code, there are a number of coding issues as well.
Even to consider "framing" this, you would want to have an SSL on your website so most of the information can be called in a secure fashion. Otherwise, users will get the same error message, prompting them to re-consider giving the website any personal information.
But to somewhat answer your question
Code: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>Untitled 3</title>
</head>
<frameset cols="150,*">
<frame name="contents" target="main" src="nav.html">
<frame name="main" src="https://www.quotit.net/eproIFP/webPages/infoEntry/infoEntry.asp?license_no=6K3NH7">
<noframes>
<body>
<p>This page uses frames, but your browser doesn't support them.</p>
</body>
</noframes>
</frameset>
</html>
Is offering one way to add this page to your website using frames.
And if i have not convinced you that using frames is not good, you also might check out Building a Site with Frames.
_________________
Corey
My Merchant Account Blog | Merchant Accounts | Bookkeeper Program |
|
|
thofferber
Joined: 22 Jan 2009
Posts: 10
|
| Posted: Thu Jan 22, 2009 1:16 pm |
|
|
I corrected the banner that you said was causing errors. I deleted that, now what else would I need to do or where do I put this code you sent?
Corey Bryant wrote: Too many problems here - the quotit.net website is not coded properly. I get errors about "This page contains both nonsecure and secure items". The webmaster of the quotit website has to fix these issues. If you choose yes to show both, then you are re-directed to http:// and the information is not encrypted. If you choose yes, the code that is being called in an unsecure manner will not be shown / downloaded.
The webmaster of the quotit website needs to fix the paths - maybe consider using relative or virtual paths to the images. Right now, an absolute path is being used on a lot of the images - for example the big blue image that says "Free Quotes ASAP"
Code: <img src="http://img407.imageshack.us/img407/355/mybanner4973bd309be55ug7.png" alt='' border=0 />
Calling the image with the absolute path causes problems with the SSL. Looking through the source code, there are a number of coding issues as well.
Even to consider "framing" this, you would want to have an SSL on your website so most of the information can be called in a secure fashion. Otherwise, users will get the same error message, prompting them to re-consider giving the website any personal information.
But to somewhat answer your question
Code: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>Untitled 3</title>
</head>
<frameset cols="150,*">
<frame name="contents" target="main" src="nav.html">
<frame name="main" src="https://www.quotit.net/eproIFP/webPages/infoEntry/infoEntry.asp?license_no=6K3NH7">
<noframes>
<body>
<p>This page uses frames, but your browser doesn't support them.</p>
</body>
</noframes>
</frameset>
</html>
Is offering one way to add this page to your website using frames.
And if i have not convinced you that using frames is not good, you also might check out Building a Site with Frames.
|
|
|
Corey Bryant
Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA
|
| Posted: Thu Jan 22, 2009 1:30 pm |
|
|
I don't quite understand but it seems you are also the webmaster for quotit.
The code I gave you goes into a webpage. That will create a left that you can have your own content and then the right would be the form.
Reading though that you want an iframe actually - the code is a bit different, it would be something like
Code: <iframe id="I1" name="I1" src="https://www.quotit.net/eproIFP/webPages/infoEntry/infoEntry.asp?license_no=6K3NH7">
And you add this on your website where you want the quote to appear. This is the iframe code - this is the code that you need to put into your code where you want this application to appear.
You can name the iframe to any name you might need
_________________
Corey
Toll Free Phone Numbers | Processing Credit Cards | Microsoft Expression Web Blog |
|
|
thofferber
Joined: 22 Jan 2009
Posts: 10
|
| Posted: Thu Jan 22, 2009 5:30 pm |
|
|
That worked, but how do I widen it to where it shows All of it.
Corey Bryant wrote: I don't quite understand but it seems you are also the webmaster for quotit.
The code I gave you goes into a webpage. That will create a left that you can have your own content and then the right would be the form.
Reading though that you want an iframe actually - the code is a bit different, it would be something like
Code: <iframe id="I1" name="I1" src="https://www.quotit.net/eproIFP/webPages/infoEntry/infoEntry.asp?license_no=6K3NH7">
And you add this on your website where you want the quote to appear. This is the iframe code - this is the code that you need to put into your code where you want this application to appear.
You can name the iframe to any name you might need |
|
|
Corey Bryant
Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA
|
| Posted: Fri Jan 23, 2009 6:40 am |
|
|
Add the height and width attributes as needed
_________________
Corey
Toll Free Fax Solutions | Mile High Merchant Accounts | Expression Web Blog |
|
|
thofferber
Joined: 22 Jan 2009
Posts: 10
|
| Posted: Fri Jan 23, 2009 7:39 am |
|
|
Can you elaborate on that. I'm not a webmaster at all. I greatly appreciate your help you are providing to me on this.
quote="Corey Bryant"]Add the height and width attributes as needed
_________________
Corey
Toll Free Fax Solutions | Mile High Merchant Accounts | Expression Web Blog[/quote] |
|
|
Corey Bryant
Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA
|
| Posted: Fri Jan 23, 2009 9:01 am |
|
|
Where you have
Code: <iframe id="I1" name="I1" src="https://www.quotit.net/eproIFP/webPages/infoEntry/infoEntry.asp?license_no=6K3NH7">
Adding the width / height attributes:
Code: <iframe id="I1" name="I1" width="400" height="400" src="https://www.quotit.net/eproIFP/webPages/infoEntry/infoEntry.asp?license_no=6K3NH7">
The numbers in the height / width (400) can be changed according to what you think is needed.
Keep in mind that trying to build the site based on screen resolution can be very trick (Website to fill Screen.
_________________
Corey
Hosting Solutions | Mile High Merchant Accounts | Expression Web Blog |
|
|
thofferber
Joined: 22 Jan 2009
Posts: 10
|
| Posted: Fri Jan 23, 2009 1:24 pm |
|
|
Getting closer Corey. Please check out http://www.freequotesasap.com/Fast_Quotes.html and see how we can get it into one screen without sliding over, IF possible.
Thanks
Corey Bryant wrote: Where you have
Code: <iframe id="I1" name="I1" src="https://www.quotit.net/eproIFP/webPages/infoEntry/infoEntry.asp?license_no=6K3NH7">
Adding the width / height attributes:
Code: <iframe id="I1" name="I1" width="400" height="400" src="https://www.quotit.net/eproIFP/webPages/infoEntry/infoEntry.asp?license_no=6K3NH7">
The numbers in the height / width (400) can be changed according to what you think is needed.
Keep in mind that trying to build the site based on screen resolution can be very trick (Website to fill Screen. |
|
|
Corey Bryant
Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA
|
| Posted: Fri Jan 23, 2009 1:58 pm |
|
|
thofferber wrote: see how we can get it into one screen without sliding over, IF possible.
In the framed content, you have
Code: <table width="650" cellspacing="0" cellpadding="0" height="502" style="border-collapse: collapse" bordercolor="#111111">
So the iframe width needs to probably be around 675 pixels in width or so.
Keep in mind that developing a website that might look OK on your system, might appear differently in another resolution, especially 800X600.
_________________
Corey
Toll Free Fax Solutions | Mile High Merchant Accounts | Expression Web Blog |
|
|
thofferber
Joined: 22 Jan 2009
Posts: 10
|
| Posted: Sun Jan 25, 2009 12:07 am |
|
|
Thanks So much Corey... I think It's finished. Check it all out at www.freequotesasap.com Let me know if you would change anything extra to make it look more professional..
Also too. How do I get it to open up a power point/or a pps file in the same browser window. check out the life insurance or final expense page and you will see what I'm talking about.
Tom
Corey Bryant wrote: thofferber wrote: see how we can get it into one screen without sliding over, IF possible.
In the framed content, you have
Code: <table width="650" cellspacing="0" cellpadding="0" height="502" style="border-collapse: collapse" bordercolor="#111111">
So the iframe width needs to probably be around 675 pixels in width or so.
Keep in mind that developing a website that might look OK on your system, might appear differently in another resolution, especially 800X600.
_________________
Corey
Toll Free Fax Solutions | Mile High Merchant Accounts | Expression Web Blog |
|
|
| |
|
|
|