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:Click on the picture to view the full listing.
{$foreach x in (folder "currentlistings")SortDescendBy .extra1$} {$next$}