johnsmith153 Posted June 20, 2012 Share Posted June 20, 2012 http://page-test.co.uk/loading.html The script is supposed to display a loading image attached to the mouse cursor. There are two problems: (1) when you submit the form by entering text in the box and pressing enter (not clicking the button) the image is not attached to the mouse but is positioned in the top-left corner (I think it just displays next in line with the HTML). (2) If you press the button but don't move the mouse the same problem occurs as mentioned in 1. It seems as though it doesn't attach to the mouse until the mouse is moved. Maybe it could attach to the form input that the enter button was pressed in, or the button that was clicked if the mouse needs to be moved? I've not bothered posting on the website of the script creator as some posts haven't been answered since February. Quote Link to comment https://forums.phpfreaks.com/topic/264522-please-help-me-fix-this-simple-if-you-know-how-error/ Share on other sites More sharing options...
overlucked Posted June 21, 2012 Share Posted June 21, 2012 Try to change your <body> tag to <body onLoad="$.prettyLoader.hide();"> Quote Link to comment https://forums.phpfreaks.com/topic/264522-please-help-me-fix-this-simple-if-you-know-how-error/#findComment-1355820 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.