Frames or workaround

S

szaino

I am using Frontpage 2000 and plan to upgrade to 2003 very soon.

My old website was setup with frames which still seems to create viewing
problems not to mention people that use google may get a hit on one of my
frames and when they go to the link it looks stupid.

Also I am setting up a new Real Estate web site which links to another
website to view MLS listings. The MLS link has a search feature which then
displays a list of homes that match the search criteria and then if you
select one of the listed homes you got to a 3rd page that displays the
details of that home with pictures etc.

How do I embed the MLS links in my real estate company web site ? ARe frames
the only way to do it ?

Are there any new features in Frontrpage that provide the functionality of
frames?

The obvious choice would be to use tables where you can select something in
one cell and have the results displayed in another cell. I don't see this
feature in Frontpage 2000.
 
M

Mark Fitzpatrick

In addition to frames are something known as inline frames. These are
essentially a frame that becomes embedded into any page. FP 2003 has the
ability to work with these inline frames (iframes). You will still have
similar issues though because in both cases you have a page that is
displaying another page whose information (url) are hidden.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
 
J

JCO

There is code that you can put in each frame that will force the entire
website to come up. This will help when folks Google your page and attempt
to bring up a single page. I will have to do some digging to find this
code... If you think this might help you?
 
S

szaino

That would be useful, if its not too much work for you to find.

I don't do a lot of web work but it seems that frames are the only way to
integrate other web site info within your own web site. Is this how other
more sophisticated web sites do it?

I am looking at a website the has current stock market data displayed on it
and when I view the source code for the page there is an applet in the code
to the other website.

<APPLET CODEBASE="http://stockdata.starwave.com/java"
CODE="starwave.street.marketStatus.MarketStatus.class" NAME="MarketStatus"
WIDTH="110" HEIGHT="154">... etc

Is this the same as a frame or is an applet another way of embedding info
from another web site on your own web page?

Sorry for my ignorance and I know this is all very simple once you know how
to do it.
 
J

JCO

I'm no expert either, but I got this from this newsgroup last year when I
did a soccer website that was done in Frames.

You will have to go to the code view to insert this code. The first two if
statements are in the index.html file. They are shown below:

<!-- jco; 2-if statements required for the framesets. These are called by
other pages -->
<SCRIPT LANGUAGE="JavaScript">
defaultsubpage="FrameTopPage.htm";
if (location.search) {subpage=location.search.substring(1)}
else {subpage=defaultsubpage}

if (subpage.indexOf('&&&')>=0) {
prefix=subpage.substring(0,subpage.indexOf('&&&'))+"://";
suffix=subpage.substring(subpage.indexOf('&&&')+3,subpage.length);
subpage=prefix+suffix;
}
// -->
</SCRIPT>

I can't remember if I've done some modifications to get these to work or
not. It depends how on your other pages. This code below will go on all
other pages:

<!-- jco; If page is selected individually, force Index to load
framesets -->
<SCRIPT LANGUAGE="JavaScript" src="../MyScripts/GetHomePageFld.js"></SCRIPT>

Where the js named GetHomePageFld.js is shown below:

//jco; function is used to force the load of the main FrameSets when
// a user has bookmarked and individual page as a favorite
function detect()
{
framesetpage="../index.html";
thispage=window.location.href;
if (thispage.indexOf('://')<0) {thispage="://"+thispage;};
prefix=thispage.substring(0,thispage.lastIndexOf('://'));
suffix=thispage.substring(thispage.lastIndexOf('://')+3,thispage.length);
//alert('the subpage is:['+prefix+']['+suffix+']');
if (parent.location.href==window.location.href)
{parent.location.href=framesetpage+"?"+prefix+"&&&"+suffix};
}

You can put the code on each page, however, I felt that since the code is
similar to each page, I just wrote it once, in a folder where I keep all my
other JavaScripts. That way you use one line to simply call the code
instead of putting all the lines of code on each page.

There is some slight modifications if the page that calls this code is 2-fol
ders deep versus 1-folder deep. This should be enough to get you started.
 
J

JCO

In addition to what I already sent you... you need to add:

<!-- jco; Call function that brings up the frameset pages -->
<BODY onLoad="detect()">
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top