Question:
Simple Modal has default height and width values of 200 and 300 pixels
respectively. Is there a way to the modal conform to whatever content
is present. In other words I want the modal to have height and width
equal to the HxW of image modal is applied to ... automatically.
Thoughts?
In case anyone else stumbles upon this, I will give my solution to the
problem (hours later, of course).
So the issue is that Facebox is using the clone() method to move the
DOM elements around in $.facebox.fillFaceboxFromHref. Now a fix that
worked on some of my pages was to simply using the ot
I currently wrote a quick workaround for what i want done, but i would
like to see how other people would go about doing this. It is simply
an ajax login form, but there is a caveat. There can be two http
responses from the server: 200 OK and 302 Redirect. The 200 codes are
just notifications that
cool. thanks.
On Sep 4, 3:03 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> yep. you got it. :)
>
> --Karl
>
>
> Karl Swedbergwww.englishrules.comwww.learningjquery.com
>
> On Sep 4, 2008, at 8:46 AM, byron wrote:
>
>
>
> > That worked
That worked well. Thank you.
So in pseudocode this essentially says..
when document is ready:
bind the event 'click' to '#thelink'
invoke the href when a 'click' occurs
trigger a 'click'
correct? This is more for my own understanding.
I created an email link, that I want invoked ("clicked") on page load.
I thought I could simply do:
$().ready(function() {
$("#thelink").click()
})
Do I need to do something else?
Thanks.
You are using jQuery.noConflict() which unbinds the jquery object from
the $ namespace so jQuery('a') still works on your site just $('a')
does not
from a cursory glace i cant see any reason for using the noConflict
function, remove that and your code will work.
On May 9, 12:11 pm, "[EMAIL PROTEC
Hi Eric,
it appears mike changed the topic "Discussion subject changed to
"Collecting id attributes for checked input?" by Mike Schinkel"
i think you can use the offsetParent property to check if a node is a
attached to the document.
$('')[0].offsetParent === null;
--Byron
you could use $.data() to get a unique id, something like:
$.extend($.fn, {
id : function () {
return this.each(function () {
$(this).attr("id", "jQuery_" + $.data(this));
});
}
});
example usage :
$('').id().appendTo('body');
result :
hope this helps :)
So many bug fixes!
keep up the great work guys,
would be nice to get these (http://dev.jquery.com/ticket/2079) fixed
up though :D
Merry xmas to all jQuery team/community!
Byron
I won $50! xD
Just to clarify apply is a native javascript function implemented in
1.3
the second parameter isnt actually needed (its for defining arguments)
anyway i decided to jquerify it and ended with this:
(function ($) {
$.extend($.fn, {
apply :function (fn, args) {
return this.each(function
it might be usefull.
-Byron
yep, use typeof:
(function($){ // block scope
$.fn.log = function(msg){
if ( typeof window.console !== 'undefined'
&& typeof console.firebug !== 'undefined'){
msg = msg || '';
if(msg !== '') msg += ': ';
console.log("%s%o", msg, this);
Yay! child selectors in ie!
thank you :-)
I guess this is probably just a bit late (and will be even later due
google not posting my replies until after 24-48 hours )
but if your interested i wrote a plugin for creating dom elements from
json templates have a look at it here :
http://jquery.com/plugins/project/appendDom
--Byron
you probably want somthing like,
jQuery.ajax_request = {
ajax_options : function () {
test: 'test'
},
test : function() {
alert(this.test);
}
}
im guessing...
Hi John,
Thanks for the interest,
I followed your advice and with the help of some the friendly people
on #jquery filed a ticket which you can find here:
http://dev.jquery.com/ticket/1393
Thanks
Byron
On Jul 13, 1:52 am, "John Resig" <[EMAIL PROTECTED]> wrote:
> Y
perate namespace for jquery?
TIA
Byron
> > What OS?
Ubuntu
> > What IDE or editor?
gedit
> > What backend language, if any (php, asp, cf, ruby, java, etc)?
> > What framework, if any (cake, symfony, rails, struts, etc)?
SilverStripe on PHP
Byron
Hi john,
That worked great, when can we expect a compressed release? XD
Byron
hi John, worked like a treat,
is there a compressed version available?
On Jun 18, 5:29 pm, "John Resig" <[EMAIL PROTECTED]> wrote:
> Byron -
>
> You should give jQuery 1.1.3a a try. This was one of the nasty bugs
> that we were able to resolve in it:http://code
Thanks,
I tried setting it in the call bak like so..
...
$("#imageBoxInside").animate({left: sLeft}, 'slow',
function() {
wait = 0;
var left = parseInt($("#imageBoxInside").css("left"));
if (left < 0 && left > -(imageSize * transitionSize)) {
$("#imageBoxInside").css("left",
Hi all, this is my first post to this list and my first attempt at
porting a script to jquery,
Ok so anyway...
I've made this smooth image-list slider :
http://dev.byron-adams.com/jquery/slider.html
it was originally using prototype & scriptaculous (130kb+)
so it works pretty well, except for
24 matches
Mail list logo