Skip to Content
0
Former Member
Mar 24, 2009 at 12:59 PM

Dynamic Background Image on Portal Logon Page - Different Resolutions

37 Views

Hi there,

just a Question.

On my Portal Logon Page i have a background Image.

umLogonPage.jsp

 script language="JavaScript" src=" %=webpath%>js/basic.js"  /script 
 script language="JavaScript"

document.body.style.backgroundImage='url(<%=webpath%>layout/bg1.JPG)';

function clearEntries() {
    document.logonForm.longUid.value="";
    document.logonForm.password.value="";
}

function setFocusToFirstField() {

This looks good with Resolution : 1680 x 1050

But if someone comes with another Resolution the complete backgriund is displaced...

Is there a chance to make this more dynamically?