Solved

FrontPage 2003:  sending a liink to specific page with surrounding frames

Posted on 2007-03-25
7
239 Views
Last Modified: 2013-12-24
hi guys,
I found on this site a way to Linking to specific page with surrounding frames , but i cannot get it to work with my page.
what i want to do is send a user an email with a link to my page, but i don't just want that page to show, i want it to come up with my
normal framed pages around it.
the name of my frames page is    main
here is the code i put in the main page area: it is in the   body  area of the page:
*******************************
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Palmdale Real Estate and Lancaster Real Estate - Kevin Rea @ Keller
Williams Antelope Valley</title>
<meta name="description" content="Keller Williams, Keller Williams Realty, antelope valley keller williams, keller williams antelope valley, palmdale keller williams,  lancaster keller williams, palmdale real estate, lancaster real estate, antelope valley real estate, socal real estate, southern california real estate, kevin rea, realtor. homes for sale, southern california homes for sale, acton real estate,antelope valley real estate,california city real estate,desert real estate,edwards real estate,elizabeth lake real estate,green valley real estate,high desert real estate,keller williams lancaster,keller williams palmdale,lancaster real estate,leona valley real estate,littlerock real estate,mojave real estate,palmdale real estate,quartz hill real estate,rosamond real estate,santa clarita real estate" />
<meta name="keywords" content="Palmdale Real Estate, Lancaster Real Estate, antelope valley real estate, socal real estate, southern california real estate, kevin rea, realtor, homes for sale, southern california homes for sale, acton real estate,antelope valley real estate,california city real estate,desert real estate,edwards real estate,elizabeth lake real estate,green valley real estate,high desert real estate, Keller Williams, Keller Williams Realty, antelope valley keller williams, keller williams antelope valley, palmdale keller williams,  lancaster keller williams, keller williams lancaster,keller williams palmdale,lancaster real estate,leona valley real estate,littlerock real estate,mojave real estate,palmdale real estate,quartz hill real estate,rosamond real estate,santa clarita real estate, Specializing in Lancaster Real Estate, Palmdale Real Estate, Quartz Hill Real Estate, Antelope Acres Real Estate, Rosamond Real Estate, Littlerock Real Estate, Lake Los Angeles Real Estate, Leona Valley Real Estate, Lancaster Homes, Lancaster Properties, Lancaster Realtor, Lancaster Real Estate Agent, Lancaster, Palmdale, Quartz Hill, Antelope Acres, Rosamond, Littlerock, Lake Los Angeles, Leona Valley, Los Angeles County, real estate sales, buyer broker, buyers agent, Real Estate, multiple listing service, condo, condo conversion, townhouse, 1031 tax exchange, prequalification, mortgage loans, home locator, investment homes, investment properties, relocation specialist, residential, real, estate, residential real estate, houses, homes, Real Estate, estate homes, fine homes, multi-million dollar estate homes, multi-million dollar estates, foreclosure, reo, repo, bank repo, short sales, fixer, property, Realtor, Realtors, for sale, sale, buy, buyers, condominiums, townhomes, single family residence, view homes, duplex, duplexes, split levels, ranch style homes, single story homes, two story homes, RV access, pool homes, golf course view, ocean view, city lights view, nice neighborhood" />
<meta name="robots" content="index,follow" />
<meta name="revisit" content="15 days" />
<meta name="rating" content="General" />


</head>

<frameset rows="184,*">
      <frame name="banner" scrolling="no" noresize target="contents" src="banner.html">
      <frameset cols="213,*">
            <frame name="contents" target="main" src="contents.html" scrolling="no" noresize>
            <frame name="main" src="mainpage.html" target="_self" scrolling="auto" title="Palmdale and Lancaster California Real Estate">
      </frameset>
      <noframes>
      <body>

      <p>This page uses frames, but your browser doesn't support them.</p>

      </body>
      </noframes>
</frameset>


<script>
if (window.location.href.indexOf('?') != -1)
     var c=window.location.href.split('?');
     window.frames['main'].src=c[1];

</script>
</html>
*******************************
the page I am sending the user is:   whereilive.html
so, i am sending a link that is:  
http://www.avkellerwilliams.com?whereilive

but i cannot get it to work:

here is the code contained in the page:  whereilive.html
**************************************************
<body style="background-image: url('images/back.jpg')">

<frameset framespacing="0" border="0" frameborder="0" rows="222,*">
     <frame name="contents" scrolling="no" noresize target="banner" src="banner.html">
     <frameset cols="212,*">
          <frame name="side" target="main" src="contents.html" scrolling="auto" noresize>
<frameset rows="*" onLoad="if (location.search) {top.main.location=location.search.substring(1)+'.html'}else{top.main.location='main.html'}">

          <frame name="main" src="javascript:' '" scrolling="auto" marginwidth="5" target="_self">
            </frameset>
     </frameset>
     <noframes>


      <div align="center">
                  <table border="3" width="100%" id="table1">
                        <tr>
                              <td align="center">
                              <img border="0" src="images/whereilive/mapwideareawhereilivemap.jpg" width="982" height="904"></td>
                        </tr>
                        <tr>
                              <td align="center">
                              <img border="0" src="images/whereilive/widemapwhereilive.jpg" width="974" height="910"></td>
                        </tr>
                        <tr>
                              <td align="center">
                              <img border="0" src="images/whereilive/closeupmapwhereIlivemap.jpg" width="990" height="862"></td>
                        </tr>
                        <tr>
                              <td align="center">
                              <img border="0" src="images/whereilive/whereilive.jpg" width="978" height="900"></td>
                        </tr>
                        <tr>
                              <td align="center">&nbsp;<p><b>
                              <a target="_blank" href="index.html">
                              <font color="#FFFFFF" size="5">Go To Our Main Web Site</font></a></b></td>
                        </tr>
                  </table>
            </div>
       <p>This page uses frames, but your browser doesn't support them.</p>

     </body>
     </noframes>
</frameset>

</html>
*******************************************

any ideas how i can get this to work ?

thanks,
kevin rea

0
Comment
Question by:kevinrea
  • 3
  • 2
7 Comments
 
LVL 29

Expert Comment

by:coreybryant
Comment Utility
Hopefully you posted this in the JS section as well since it has more to do with JS than Frontpage.  

I am guessing that http://www.avkellerwilliams.com/?whereilive is the name of your page?  Does this link work properly or are you having a problem with the JavaScript?  I am guessing that you are trying to send a specific link but make it revert back to a frames(d) page?

-Corey
0
 

Author Comment

by:kevinrea
Comment Utility
yes, i am trying to send a specific link and have it enclosed in my frames page.

here is my regular website:
http://www.avkellerwilliams.com

i want to send my user a page link, and have it come up in my regular framed format.
the page i want to send is:

http://www.avkellerwilliams.com/whereilive.html


thanks,
kevin rea
0
 
LVL 29

Expert Comment

by:coreybryant
Comment Utility
http://javascript.internet.com/navigation/force-frames.html is a JavaScript to force frames.  I really don't recommend either (frames or using JavaScript) but if you need to, this would be one way

-Corey
0
 

Author Comment

by:kevinrea
Comment Utility
it does not work.

thanks though.

kevin

0
 
LVL 29

Accepted Solution

by:
coreybryant earned 250 total points
Comment Utility
The problem is / will be - you would need to push the user to http://www.avkellerwilliams.com to force it into the frames action.  when you try to view http://www.avkellerwilliams.com/whereilive.html, it would actually have http://www.avkellerwilliams.com in the URL.  This is one of the problems when using frames.  You cannot really directly link to a specific page

-Corey
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In this short web based tutorial, I wanted to show users how they can still use the powers of FrontPage in conjunction with Expression Web 3.  Even though Microsoft eliminated the use of Web components, we can still use them with FrontPage and edit …
Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

772 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

10 Experts available now in Live!

Get 1:1 Help Now