Solved

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

Posted on 2007-03-25
7
245 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
ID: 18789458
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
ID: 18789501
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
ID: 18789636
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
ID: 18789652
it does not work.

thanks though.

kevin

0
 
LVL 29

Accepted Solution

by:
coreybryant earned 250 total points
ID: 18789754
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When deciding to adopt any help desk solutions many factors should be explored before taking decisions. This will change from business to another but in general there are some kind of rule of thumb. Here are some quick tips: Do we need only ticket…
This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
The purpose of this video is to demonstrate how to create a Printer Friendly PDF on a WordPress Page. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome Screenshot” Google Chrome Extension, and SmallPDF.com Log…
The purpose of this video is to demonstrate how to properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp…

821 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