The deeper I look into this, the odder it gets. There is no doubt that the 
cfwindow has some visual differences in the way it renders the box and while I 
don't like that type of change, I can live with it.

But what I'm now seeing is that the generated HTML and JS are sufficiently 
different that my test browsers render the page differently depending on which 
it is: CF8 served locally on my desktop, or CF9 served by my ISP. And the 
differences can also occur in the main page, not just in the cfwindow. I have 
stripped a huge amount of code out of my page and brought it down to this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml";>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Sample CFWindow page</title>
</head>
<body>
    <p>Click <a class="href" href="##" 
        onClick="ColdFusion.Window.show('AddEx'); 
ColdFusion.navigate('SomePage.cfm','AddEx');">here</a> to add</p>
<cfwindow closable="true" draggable="true" modal="true" name="AddEx" 
resizable="false" 
        title="Add" width="670" height="420" x="250" y="150"></cfwindow>
</body>
</html>

When that page is served by my local CF8, there is some white space around the 
words, but when it is served by CF9 on the ISP, it is tight to the upper left 
hand corner. Same for the text on the page "SomePage.cfm".

I realize that I should have style sheets and all that stuff--I stripped them 
out as I have been trying to zero in on the problem. The key issue here is that 
the generated code is sufficiently different that the presentation is different.

When I run the main app on CF9 this isn't apparent because the style sheet must 
make both presentations appear identical. But in the somewhat constrained 
environment of a cfwindow that doesn't occur. I reference my stylesheet from 
the code inside the window, but it acts as though some of the elements in that 
sheet are not being used.

As usual, any ideas would be welcomed.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330714
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to