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

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

kevinreaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

coreybryantCommented:
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
kevinreaAuthor Commented:
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
coreybryantCommented:
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
kevinreaAuthor Commented:
it does not work.

thanks though.

kevin

0
coreybryantCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development Software

From novice to tech pro — start learning today.