I’m slowly but surely getting this site up and running to where I want it to be. Please leave feedback if you are having any issues with it. I may be having an announcement soon about a new JavaScript Framework I’m working on that relies on other open sourced tools like jQuery. Also, quite a few other things in the works, like a usable hovering menu that I made. In any case, enjoy the site as I construct it!
Posts Tagged ‘jquery’
Slowly and surely
Saturday, July 11th, 2009jQuery Dialog Shadow Issues.
Sunday, March 1st, 2009While working on a dialog in the new jQuery UI 1.6rc6. I have come accross an issue.
If you were to open a dialog, and then dynamically change the content in the dialog, the shadow border will not resize. The problem is, the code does not ‘know’ the box is larger, and is not able to watch for the changes. Their have been some solutions that I have found to solve this, like turning off shadows, etc. But I think I have a better one, a 3-line solution so to speak
Go into your code, mine is in my jquery-ui-personalized-1.6rc6.js file… Also could be in ui.dialog.js etc.
Inside the code (mine is line 4218) after this function
$.widget("ui.dialog", {
_init: function() {
add this function
refresh: function() {
this._refreshShadow(1);
},
Then from within your code you can call something like this…
$("#dialogbox").dialog("refresh");
Check for updates, I may write a drop-in style patch so the coding isn’t necessary.
Enjoy!
Introducing my new projects site, all dorks!
Monday, February 2nd, 2009As I start to push more bloggin on my end (Yes, 8 hours of work a day and 3 hours of school at night, two dogs and a lovely wife are just not enough for me to handle), I am branching out to a site I have had for a while that I haven’t really done much on.
The goal of the site is to host all of the ideas that I have in my head and that will in the end help motivate me to get them done and worked on… if individuals decide to comment on them
I will attempt, at my best, to keep the projects code clean and easy to follow, along with good documentation.
A few may be very helpful to some (jCritic, jSave, jSuite) so as I get them done, I will defitely get them on there with working demos etc.
In the end, enjoy!