tags:

views:

80

answers:

0

Hey guys. I have an issue with cfwindow. I have a search page and each result gets it's own cfwindow. Well when I open any of these cfwindows it takes the background image I have and puts it on top of the content (even if modal is set to true or false) and then after you close the window it will stay that way. No way to get back to the pages content without using the back button, and that just brings you back to the page where you did the search first.

Here is the output for each search result aswell as where it creates the cfwindow. Any help or advice would be awesome as I am at a loss.

    <cfoutput query="mysearch">
     <cfobject name="development" component="TATN.development" type="component">
        <cfset pageName = development.getListingName("#mysearch.key#")>
    <!--- build our cfWindow --->
 <cfwindow x="40" y="40" closable="true" draggable="false" initShow="false" modal="true" name="#pageName#" refreshOnShow = "true" resizable="true" height="800" width="825" source="/hotels/#pageName#.cfm"
        title="#mysearch.custom3#" />
   <div id="hotels_results" onmouseover="style.backgroundColor='##FFBCBC';" onMouseOut="style.backgroundColor='##FFEDED';">
        <div class="thumbimg">        
         <a href="javascript:ColdFusion.Window.show('#pageName#')"><img src="/photos/slideshowPhotos/#mysearch.key#/one.jpg" border="0" width="180" height="115" alt="Click to View More Information."> </a>
        </div>
        <div class="hotels_text">
         If I were asked under what sky the human mind has most fully developed some of its choicest gifts, has most deeply pondered on the greatest problems of life, Welcome text goes here.<br>
            <div class="hotels_book_now"> 
             <a href="##" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Book Now','','images/h_book_now1.jpg',1)">
                <img src="images/h_book_now.jpg" alt="Book Now" name="Book Now" width="113" height="38" border="0" align="top"></a>
            </div>
         <h3>Starting at $1000 a night</h3>
            <br>
            <br>
            <br>
            <div class="hotels_ratings">
                <input name="star1" type="radio" class="star">
                <input name="star1" type="radio" class="star">
                <input name="star1" type="radio" class="star">
                <input name="star1" type="radio" class="star">
                <input name="star1" type="radio" class="star">
            </div> 
        </div>
    </div>



 </cfoutput>