This is driving me up the wall !
-
I display an image with:
and this brings up a small 'help' window, designated by the relative URL.Code:<img src="../Images/help.png" onClick="javascript:window.open('../Page/HELP/loginHelp.html','', 'width=300 height=300 resizable=no toolbar=no')"/>
I use these all over my sites with absolutely no problems at all.
Except that it won't work on one particular page when the code sits inside
one particular <div> !
For example:
works as expected.Code:<div class="mainPanel"> <div class="titlePanel"> <p>Please LOGIN using your User name and Password:</p> </div> <!-- end titlePanel --> <div class="fullForm"> <form name="loginForm"> <label>User Name: </label> <input id="firstResponder" name="userName" type="text" size="32" maxlength="16" /> <label>Password: </label> <input id="passWord" name="passWord" type="password" size="32" maxlength="16" /> <div class="centeredButton"> <input type="submit" name="submitForm" value="* LOGIN *"/> </div> <!-- end centeredButton --> </form> <!-- end loginForm --> </div> <!-- end fullForm --> </div> <!-- end mainPanel --> <img src="../Images/help.png" onClick="javascript:window.open('../Page/HELP/loginHelp.html','','width=300 height=300 resizable=no toolbar=no')"/>
Whereas:
doesn't work.Code:<div class="mainPanel"> <div class="titlePanel"> <p>Please LOGIN using your User name and Password:</p> </div> <!-- end titlePanel --> <div class="fullForm"> <form name="loginForm"> <label>User Name: </label> <input id="firstResponder" name="userName" type="text" size="32" maxlength="16" /> <label>Password: </label> <input id="passWord" name="passWord" type="password" size="32" maxlength="16" /> <div class="centeredButton"> <input type="submit" name="submitForm" value="* LOGIN *"/> </div> <!-- end centeredButton --> </form> <!-- end loginForm --> </div> <!-- end fullForm --> <img src="../Images/help.png" onClick="javascript:window.open('../Page/HELP/loginHelp.html','','width=300 height=300 resizable=no toolbar=no')"/> </div> <!-- end mainPanel -->
Very strange.
Chris


Reply With Quote
Bookmarks