User Profile

Collapse

Profile Sidebar

Collapse
ad08
ad08
Last Activity: Jul 11 '09, 08:54 PM
Joined: May 17 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • This is a javascript question. I have javascript functions defined in all jsps.

    Thanks.
    See more | Go to post

    Leave a comment:


  • ad08
    replied to Making a DIV height equal to page height
    Thanks to all of you guys. I have resolved this issue using 'scrollHeight' property. Pleas see the code below.

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 
    <HTML> 
     <HEAD> 
      
      <script> 
      window.onload = pageLoad; 
      function pageLoad() 
                { 
    			pageHeight = document.getElementById('page').scrollHeight;
    ...
    See more | Go to post
    Last edited by Dormilich; Jul 8 '09, 04:33 AM. Reason: Please use [code] tags when posting code

    Leave a comment:


  • Accessing grand parent function when parent window is closed.

    Is this possible?

    I am trying to access function from grand parent window (the main window) in my child popup window but the parent window is closed in this case.

    a.jsp --> grand parent window (main browser window)
    b.jsp--> parent window (pop up window)
    c.jsp--> child window (pop up window)

    I need to call a function from a.jsp in c.jsp when b.jsp is closed.

    Than...
    See more | Go to post

  • ad08
    replied to Making a DIV height equal to page height
    I tried your code but it gives me the same issue. DIV height does not stretch to the page height when content is longer than viewport.
    In the following example, I don't get the red background till the end of the page.

    Thanks.



    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">  
    <html lang= "en"> 
    <head>  
    <meta http-equiv= "Content-Type"
    ...
    See more | Go to post
    Last edited by Dormilich; May 18 '09, 05:43 AM. Reason: Please use [code] tags when posting code

    Leave a comment:


  • ad08
    started a topic Making a DIV height equal to page height

    Making a DIV height equal to page height

    I want to create a div over the body which should take 100% height of the page.
    I am defining html and body height is 100%. Also the div height is 100%.
    still it's not working for me. Can some one please tell me what is wrong?
    below is the code snippet.

    Thanks.

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
     <HEAD>
    ...
    See more | Go to post
    Last edited by Dormilich; May 18 '09, 05:42 AM. Reason: Please use [code] tags when posting code
No activity results to display
Show More
Working...