Sunday, 15 May 2011

javascript - Cfwindow destroys page -


I have an issue with cfwindow. I have a search page and each result has its own CFW Well when I When I open any syfindo, I take the background image and place it on the top of the material (even if the modal is set to right or wrong) and then after closing the window it Will be left without using the back button There is no way to go back to the content of the material, and it brings you back to the page, where you previously searched.

Here the output is given for each search result, where it creates Cfwindow.

  & lt; Cfoutput query = "mysearch" & gt; & Lt; Cfobject name = "development" component = "TATN.development" type = "component" & gt; & Lt; Cfset page name = development.getListingName ("# mysearch.key #") & gt; & Lt ;; --- our cfWindow --- & gt; & Lt; Cfwindow x = "40" y = "40" closeable = "true" draggable = "false" init Show = "wrong" modal = "true" name = "# pageName #" refreshOnShow = "true" resizable = "true" height = "800" width = "825" source = "/ hotel / # pagename = .cfm" title = "# mysearch.custom3 #" /> & Lt; Div id = "hotels_results" onmouseover = "style.backgroundColor = '## FFBCBC';" Onmouseout = "style.backgroundColor = '## FFEDED';" & Gt; & Lt; Div class = "thumbnail" & gt; & Lt; A href = "javascript: ColdFusion.Window.show ('# pagename =')" & gt; & Lt; Img src = "/ photo / slideshowphoto / # mysearch.key # / one.jpg" border = "0" width = "180" height = "115" alt = "click to see more info" & gt; & Lt; / A & gt; & Lt; / Div & gt; & Lt; Div class = "hotels_text" & gt; If I was asked what the human mind has developed some of its finest gifts completely under the sky, then the biggest problems in life have been considered in the most profound way, welcome text goes here. & Lt; Br> & Lt; Div class = "hotels_book_now" & gt; & Lt; A href = "##" onMouseOut = "MM_swapImgRestore ()" OnMouseover = "MM_swapImage ('Book Now', '', 'images / h_book_now1.jpg', 1)" & gt; & Lt; Im = = "picture now" name = "book now" width = "113" height = "38" border = "0" align = "top" & gt; & Lt; / A & gt; & Lt; / Div & gt; & Lt; H3 & gt; Starting at $ 1000 a night & lt; / H3 & gt; & Lt; Br> & Lt; Br> & Lt; Br> & Lt; Div class = "hotels_ratings" & gt; & Lt; Input name = "star1" type = "radio" class = "star" & gt; & Lt; Input name = "star1" type = "radio" class = "star" & gt; & Lt; Input name = "star1" type = "radio" class = "star" & gt; & Lt; Input name = "star1" type = "radio" class = "star" & gt; & Lt; Input name = "star1" type = "radio" class = "star" & gt; & Lt; / Div & gt; & Lt; / Div & gt; & Lt; / Div & gt; & Lt; / Cfoutput & gt;  


No comments:

Post a Comment