ziltech Posted March 17, 2010 Share Posted March 17, 2010 Hello, I was wondering if anyone could help me with the following. The URL for what I am referring to is here: http://www.baymailing.co.uk/jquery/ Now, the image can be dragged around it's parent div, it can be centred via the centre button and can also be scaled in size using the slider. My trouble is, when the page loads the image seems to resize itself to a smaller size even though the scrollbar is at it's maximum - if you click the scrollbar it corrects itself. My aim is for the image to be 100% size on page load. This is all client side so please feel free to look at the source and see if you can spot anything. Thanks Rob Quote Link to comment Share on other sites More sharing options...
ziltech Posted March 17, 2010 Author Share Posted March 17, 2010 Don't worry, fixed it myself now! Added this to the end of the document.ready(function) $('#draggable').css('font-size',100 +"px"); Thanks anyway. Quote Link to comment 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.