Templates - html Save As css Save As etc

I’m having a real problem here.

I have a mapsearch.html page wherein a mapsearch.css paged is externally linked. This is working excellent with the original search when previewed in IE 8.

Then I save mapsearch.html using SAVE AS and then rename it cdcsearch.html which also brings with it mapsearch.css. Good so far.

Then I open cdcsearch.html and paste a new different map search URL link for a different area within the <iframe>.

The problem is the original search in the mapsearch.html page keeps showing up in all of the newly created Save AS .html pages. This is driving me nuts!

I’ve tried everything, however, the original search keeps showing in each newly created Save As searchpage.html.

Does <iframe> have anything to do with this?

Should I save updated links or not?

What else could I do to prevent this?

Thanks . . . Rick

You probably need to post a link for us to look at. Words like these without a visual example don’t often mean much. I have no concept of what you are describing.


The code in the rust color is the only code that is replaced on the entire page.

I have separate code for about 18 different real estate area map searches.

I wish to reuse the first mapsearch.html page by “saving As” a different name and then just pasting in the different map search code for each area. All of the mapsearch pages will use one css page; mapsearch.css.

As I was taught here, html for content and css for style.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Content-Language" content="en"/>
<meta name="keywords" content="orange county real estate, local broker, local real estate broker, local agent, local real estate agent, orange county real estate broker, orange county real estate agent." />
<meta name="keywords" content="orange county real estate, local coto de caza broker, local coto de caza broker, local coto de caza agent, local coto de caza real estate agent, orange county real estate broker, orange county real estate agent, corona del mar exclusive homes, upscale properties,." />
<title>Search Corona del Mar Real Estate</title> 
<link type="text/css" rel="stylesheet" href="css/mapsearch.css" media="screen,projection,tv"/>

<div id="outer">

<div class="pleft"><p>This search engine is linked directly to the CRMLS (California Regional Multiple Listing Service) system which is the largest MLS in the United States. You will receive the latest listing information <em>before it is "pushed" out</em> to all of the vendors nationwide.</p>  <p>EASY SEARCH: If you know the <em>zip code</em> enter that then click anywhere on the map. This will delineate the border of your search. Or enter the city name. Next select a <em>price range, bedrooms, and property type.</em> This will display house icons on the screen. At the bottom of the map you will see "Expand Map." There is Map View, List View and Gallery view." You can <em>save a search</em> or set up eMail alerts to be notified of new listings.</P></div>  

    <div id="nav">
      <ul id="navli">
            <li><a href="http://www.propertieswithstyle.com" title="HOME PAGE">PROPERTIES WITH STYLE HOME PAGE</a></li>
            <li><a href="http:// ">RETRUN TO CUSTOM SEARCH PAGE</a></li>
    </div><!--eND of Nav-->    

<div id="maincontent">

<iframe width="99.2%" height="1200px" style="border-style:outset"src=[COLOR="#FFA500"]http://www.searchpoint.net/Search/mapSearch.aspx?_account=idd&_new=1&org_id=CARETS&agent_public_id=SSCHRRIC_socal&sponsor_office_id=H631_SOCAL&master_uid=DDA3E921-85C2-488C-8B79-DA50DB9D19BA&criteria=<Search><OrgId>CARETS</OrgId><NELat>33.625340337704586</NELat><NELong>-117.82296180725099</NELong><SWLat>33.582305144936804</SWLat><SWLong>-117.90553092956546</SWLong><LocationType>zip%20code</LocationType><MidLat>33.6038227413207</MidLat><MidLong>-117.864246368408</MidLong><Zoom>14</Zoom><SearchType>1</SearchType><PolygonType>zip</PolygonType><LocationType>zip%20code</LocationType><Location>92625%20(Zip%20Code)</Location><MinPrice>400000</MinPrice><MinBeds>1</MinBeds><Status>A,B</Status><oper_in_misearch_features_2>OR</oper_in_misearch_features_2><oper_in_misearch_features_3>OR</oper_in_misearch_features_3><RESPropertyType>SFR,CON,TWN,CTH,CON,TWN</RESPropertyType><Features></Features></Search>[/COLOR]</iframe>

    <div class="imgpic"><img src="css/images/sfrlogo.png" width="80" height="70" alt="Short Sale Logo" /></div>

<div class="psmaller">
Only those who have passed the National Association of Realtors&reg; education requirements for their Short Sale and Foreclosure Resource course are allowed to display this logo. Properties With Style, Inc. is a member in good standing of the National Association of Realtors&reg; and is proud to have earned this achievment.

<div id="footer"><hr />Copyright, Properties With Style Inc., a Real Estate Corporation&copy;. The information being provided by CARETS&reg; is for the visitor's personal, non-commercial use and may not be used for any purpose other than to identify prospective properties visitor may be interested in purchasing. Any information relating to a property referenced on this web site comes from the Internet Data Exchange (IDX) program of the CARETS&reg; MLS. This web site may reference real estate listing(s) held by a brokerage firm other than the broker and/or agent who owns this web site. Any information relating to a property, regardless of source, including but not limited to square footages and lot sizes, is deemed reliable but not guaranteed and should be personally verified through personal inspection by and/or with the appropriate professionals. The data contained herein is copyrighted by CARETS&reg; and is protected by all applicable copyright laws. Any dissemination of this information is in violation of copyright laws and is strictly prohibited. CRMLS, Inc., data content displayed on this site is deemed reliable but is not guaranteed accurate by the MLS. Information of sellers and others have not been verified. Data maintained by the Associations or their MLS may not reflect all activity in the market. DRE License: 01408382<hr /></div><!--eND Footer-->


The page displays great in IE 8.

Thanks much . . . Rick

Okay, oddz showed the problem in another thread.

Also if you’re viewing source in your browser it may highlight spacing problems in red (firefox does anyway) so where you are missing the space between


(and also missing opening quotes on src) some browsers will show you that, in the future. Dunno if IE does it but my Firefox does.

Thank Stomme . . . you know I do at time while viewing a page in IE select View Source Page. I never knew what the different colors stood for.

There were many red color on the View Source Page.

I better pay more attention to what I’m looking at.

Thanks much to you and to all . . . Rick

Where is that other post by oddz? I can’t find it.

Thanks . . . Rick

There’s another thread around here somewhere where you had this same bit of code (the iframe) and oddz also corrected the URL for the iframe src…

Yes - I found that. Thanks Stromme.

However I’m trying to get PHP htmlentities() Function, and then understand how to set it up like oddz has it so I can run the rest of my 16 or 18 mapsearch URLs’ through.

Must I download a php application to run the function? Is the PHP htmlentities() Function already in the PHP application?

As you can see there is a lot I don’t know.

Thanks . . . Rick

I don’t do PHP at all, so this is best a new question for the PHP forums (go ahead and link to this or the other thread though so people know what you’re talking about)… but I thought the encodeURL and entities functions were built-in PHP functions, so if you have PHP you have those functions.