Re: Firefox not displaying popup correctly

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi Steven,

Thanks for the reply. Do you have any idea what could cause the problem in
Firefox and not in IE? The problem doesn't show up when changing the DOCTYPE
as I mentioned.

-Joe

"Steven Cheng [MSFT]" <stcheng@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:3gh8enVmIHA.4932@xxxxxxxxxxxxxxxxxxxxxxxxx
Hi Joe,

As for the popup window, it seems use script to create div or table and
display it. Ithink the first problem you mentioned maybe related how the
popup component retrieve certain information in the xhtml page (through
javascript DOM ).

As for ImageButton postback issue, is it also related to the
"CreateWindow"
function? I've tried the following simple script handler which will not
generate postback when I click the ImageButton.

=============
<asp:ImageButton ID="ImageButton1" runat="server"
..............
onclick="ImageButton1_Click" OnClientClick="alert('hello');return
false;" />

=================

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

This posting is provided "AS IS" with no warranties, and confers no
rights.
--------------------
From: "Joe" <jbassking@xxxxxxxxxxxxxxx>
Subject: Firefox not displaying popup correctly
Date: Mon, 7 Apr 2008 22:22:42 -0400


Hi All!

I'm using a script to show a popup.
http://www.openwebware.com/products/openpopups/

This displays fine in IE but it does not work right in Firefox. In Firefox
it displays the table but that's it. If I move the call to createWindow
outside of a form tag then I get a small window with a title bar but no
body.
Now if I change the DOCTYPE to HTML instead of XHTML then it display
correctly but the entire page isn't right. Text is too large and bold.

In addition I'm displaying this by clicking an ImageButton. I'm calling it
in the OnClientClick something like this:
onclick="createWindow(.....);return false;"
yet I still get a post back unless I use the HTML instead of the XHTML.

Is there something else that could be done to get this to work right? IE
doesn't like the HTML otherwise I would just use that.

Thanks,
Joe






.



Relevant Pages

  • Re: RGPL - a couple of updates
    ... when I display the rankings on my machine using firefox 3.0.4 the ... Excel spreadsheet I'm exporting as an html, so I don't know how else do ... It might be an unrecognized font type or size, ... simply use an add on to Firefox that allows me to open links in IE. ...
    (rec.games.pinball)
  • Re: Javascript / FireFox help needed
    ... Firefox ... with setting a TR's display attribute to 'block'. ... HTML comments inside script elements are a waste of time, ...
    (comp.lang.javascript)
  • Re: HTML Help Workshop - Whats this topics
    ... referring to the type of help that you can display by clicking the ... In the first case (opening a popup window from a help topic), ... the topic pane of the HTML Help viewer or in a small popup window. ...
    (microsoft.public.windowsxp.general)
  • Re: cannot view complete html source of webpage using browser
    ... that are inside the frames) ... (does not display the html text of the main ... After saving the page using browser firefox and use view source again ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Firefox not displaying popup correctly
    ... This displays fine in IE but it does not work right in Firefox. ... Now if I change the DOCTYPE to HTML instead of XHTML then it display ... yet I still get a post back unless I use the HTML instead of the XHTML. ...
    (microsoft.public.dotnet.framework.aspnet)