Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Setting height to 100% not working in firefox (Read 4494 times)
jcollins@scires
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 53
Joined: Feb 17th, 2009
Setting height to 100% not working in firefox
Apr 20th, 2009 at 5:48pm
Print Post  
Hello, when I set the width and height to 100% of a diagram, the width will work properly to 100% yet the height does not go to 100%. It will work in IE and will also work in firefox if in imagemap mode. It does not work in firefox in the javaapplet mode however. Below is my code:
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager runat="server" ID="scriptmanager"></asp:ScriptManager>
    <div style="width:600px; height:600px; background-color:Green">
      <ndiag:DiagramView runat="server" ID="diagView" AutoScroll="true" Height="100%" Width="100%"  ClientSideMode="JavaApplet"
        >
          <Diagram AllowSelfLoops="false" AutoResize="RightAndDown"
          RouteLinks="true"  />
      </ndiag:DiagramView>
    </div>
   
    </form>
</body>


Thanks,
jay
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Setting height to 100% not working in firefox
Reply #1 - Apr 22nd, 2009 at 2:52pm
Print Post  
Hi Jay,

This version should set the height as expected:
https://mindfusion.eu/_beta/netdiag_301pre.zip

Also, the move mouse cursor should now show in Firefox too.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
jcollins@scires
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 53
Joined: Feb 17th, 2009
Re: Setting height to 100% not working in firefox
Reply #2 - Apr 22nd, 2009 at 6:37pm
Print Post  
Great! Thanks for fixing both of those issues in one beta release. On a side note, I am not sure why this is happening but every time I download one of your new releases, I seem to have problems showing the link when drawing in imagemapmode. Its like it cannot find the image. After some time passes though, it strangely will appear again as it should. I have tried resetting IIS, rebooting, deleting temp internet files, and deleting the temporary asp.net files. None of this seems to take affect and the image still will not show. Its like something is being cached somewhere and overtime it gets cleared. Any ideas? Thanks, Stoyan.
jay
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Setting height to 100% not working in firefox
Reply #3 - Apr 23rd, 2009 at 8:47am
Print Post  
It might have something to do with the caching and timestamp value described here:
http://www.nikhilk.net/WebResourceAttribute.aspx

Seems the problem is in loading the images again when they have a new resource timestamp. We'll try to fix it for the 3.0.1 release.

Stoyan
  
Back to top
 
IP Logged
 
bkernan
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 37
Joined: May 28th, 2009
Re: Setting height to 100% not working in firefox
Reply #4 - Jul 8th, 2009 at 12:35pm
Print Post  
Hey Jay, I had this issue as well and I could not get it to work for both browsers. I scaled the web to find a solution and saw that the java applet was not supported for full height - which is tricky with html/css anyway.

I used javascript onresize to get the size of the browser and resize the applet. Works like a charm
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint