Quantcast

HTML Frameset help.....

BigMike

BrokenbikeMike
Jul 29, 2003
8,931
0
Montgomery county MD
OK, I'm trying to build a website here, and integrate another website into it. For some reason, it always just redirects me to the page I'm trying to integrate.

I'm building the page through Dreamweaver, and its my first time using it. The code for the framesets looks like this:

<frameset rows="101,*" cols="*" frameborder="NO" border="0" framespacing="0">
<frame src="Title%20Frame.htm" name="MainFrame" scrolling="NO" noresize id="MainFrame" >
<frameset cols="80,*" frameborder="NO" border="0" framespacing="0">
<frame src="Nav%20Frame.htm" name="leftFrame" scrolling="NO" noresize>
<frame src="http://www.hambergerproductions.photoreflect.com" name="StoreFront" scrolling="yes" noresize id="StoreFront">
</frameset>
any suggestions of why it might be redirecting the page?
 

D_D

Monkey
Dec 16, 2001
392
0
UK
Code:
<html>
<head>
<title>Redirect Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<!-- Set new location and remove this page from the browser's history -->
<script language="JavaScript">
parent.location.replace("http://www.photoreflect.com/pr3/store.aspx?p=39494");
</script>

</head>
<body bgcolor="#FFFFFF">
</body>
</html>

<!--WEB10-->

<!---->
That's what I get when I go to http://www.hambergerproductions.photoreflect.com with javascript turn off. The javascript causes it to breakout of your frame.

It's generally not a good idea to use frames for this and other reasons.
 

BigMike

BrokenbikeMike
Jul 29, 2003
8,931
0
Montgomery county MD
Interesting..... Photoreflect told me that I can do it......

Frameable Storefronts
Details on how to use the frameable storefronts on your existing website

If you have an existing website and want to keep your custom look AND use your PhotoReflect.com storefront in a seemless manner the frameable storefront styles may be a good fit. These storefronts work best when your site has a horizontal navigation bar (see illustration below) at the top of your site but, they can also work with side navagation.
frameset
To use the frameable styles you will need to create a frameset for your site. A framset is simply a HTML page that includes other html pages in a structured layout. You can specify the size and positioning of the included html pages to produce a coherent page design that appears as one html page. A simple frameset for your website would look something like the following:
<frameset rows="100px,*" frameborder="0" border="0" framespacing="0">
<frame src="nav.htm" name="navbar" />
<frame src="http://yourdomain.photoreflect.com" name="storefront" />
</frameset>
In the above example <frameset rows="100px,*"> would create a frameset with 2 rows the first one being 100 pixels high. You would change that number to be the number of pixels required for your navigation bar page. The * specifies to use the remaining space available for the storefront frame. You will need to save the frameset definition to a HTML file (i.e. default.htm) on your webserver.
The frameborder, border and framespacing when set to 0 will create a seemless frameset for you pages (i.e. no divider border frame will be visible). These are the setting applicable for most websites but, you can change them to suit your taste.
The <frame ...> tags are used to define the pages to be used in the frameset. The first page named "navbar" will be the page that YOU create as part of your site navigation. The second page "storefront" will be the full url to your existing PhotoReflect storefront (example domain.photoreflect.com where domain is your actual domain)
The end result of using a frameset in combination with the PhotoReflect frameable storefronts will be a site tightly integrated with your web presence with the full power and advantages of your PhotoReflect storefront.
If this is a feature you want for your website but, do not have the expertise to create the needed files please contact a web professional in your area for assistance.
 

D_D

Monkey
Dec 16, 2001
392
0
UK
You could use the redirected url as the frame source.

Code:
<frameset rows="101,*" cols="*" frameborder="NO" border="0" framespacing="0">
<frame src="Title%20Frame.htm" name="MainFrame" scrolling="NO" noresize id="MainFrame" >
<frameset cols="80,*" frameborder="NO" border="0" framespacing="0">
<frame src="Nav%20Frame.htm" name="leftFrame" scrolling="NO" noresize>
<frame src="http://www.photoreflect.com/pr3/store.aspx?p=39494
" name="StoreFront" scrolling="yes" noresize id="StoreFront">
</frameset>
Downside to that is if they change the url your site will stop working.

Alternativly you could create another html page that contains a single frame with hambergerproductions.photoreflect.com url.

photoframe.htm
Code:
<html>
<frameset>
<frame src="http://hambergerproductions.photoreflect.com">
</frameset>
</html>
Then use that page as the frame source in your main page.

Code:
<frameset rows="101,*" cols="*" frameborder="NO" border="0" framespacing="0">
<frame src="Title%20Frame.htm" name="MainFrame" scrolling="NO" noresize id="MainFrame" >
<frameset cols="80,*" frameborder="NO" border="0" framespacing="0">
<frame src="Nav%20Frame.htm" name="leftFrame" scrolling="NO" noresize>
<frame src="photoframe.htm" name="StoreFront" scrolling="yes" noresize id="StoreFront">
</frameset>
Then when hambergerproductions.photoreflect.com loads it will break out of the framset in photoframe.htm but remain inside your main frameset.

If they ever fix their site to redirect properly you will end up with an extra frame but that shouldn't cause any trouble.
 

BigMike

BrokenbikeMike
Jul 29, 2003
8,931
0
Montgomery county MD
Hmm... Interesting, thanks!

after you pointed out the redirect, I thought "duh" and just used that for the frame source, seems to be working for now. I have a LOT of work to do on my site, but for now, at least its there. www.hambergerproductions.com

I have to go back and redo the title as an image, I forgot that if the font is not installed on the computer that is viewing the site, it won't show up!