Thanks for your kind words, tk. I thought there would be a little more response from my post, as it's a pretty cool idea. One page, different styles. Very seamless. It's done through the use of an IFRAME that runs off lakemonticelloproperties.com. That way, I can load it into any of her sites. In the iframe.asp page, I have code that runs at the top, which uses the HTTP-REFERER variable to a) determine which site the customer is on b) load the style sheet associated with that site c) assign the domain name an ID number Like so: (In the actual pages, I have more lines that also include the URLS without the "www" just in case. <% myparent = Request.ServerVariables("HTTP_REFERER") if instr(myparent, "http://www.lakemonticelloproperties.com/listings.htm") > 0 then domNum=1 response.write "" else if instr(myparent, "http://www.patsystrongteam.com/listings.htm") > 0 then domNum=2 response.write "" else if instr(myparent, "http://www.fluvannacountyproperties.com/current_listings.htm") > 0 then domNum=3 response.write "" end if end if end if %> Then, some CityScript which gets the listings, displays them, and passes the domain ID through the URL:

Current Listings

Click on the picture to view the full listing.

{$foreach x in (folder "currentlistings")SortDescendBy .extra1$}

{$x.teaser$}
{$ if nonblank x.extra1 $}${$ endIf $}{$x.extra1$}
{$next$} The " target="_top" statement basically replaces the content in the iframe with the detail page of the listing. What I found is that since the initial IFRAME's height has to be long enough to display all the thumbnails, if somebody clicks on a thumbnail toward the bottom of the page, it shows, but they may not see it unless they scroll way up. I didn't want that. So, I stick each site's top navigational area and graphics back in, via code in the listing.asp template, like this: <% myStyle = Request.QueryString("domNum") if myStyle = 2 then response.write "" %> <% end if if myStyle = 1 then response.write "" %> <% end if if myStyle = 3 then response.write "" end if %> Then, in the body,

{$.headline$}

{$.body$} I just display the text of the listing. Then, I have to get them back to the listing page they came from, like this: <%if mystyle= 1 then response.write "

back to listings page

" end if if mystyle= 2 then response.write "

back to listings page

" end if if mystyle= 3 then response.write "

back to listings page

" end if %>

 

That's basically it! It did take some thinkin', but it does work. Best-- --debra Debra Weiss drw Design www.drwdesign.com