Re: [jQuery] cant append() form objects

2007-01-27 Thread Jeremy Dill
Well, I finally got everything working using your method, although i dumped the use of $ since php wanted to consider them as variables even when in quotes and when using xajax addscript returns. I am still puzzled why my old method didn't work, but I am glad to have learned a new way of doing

Re: [jQuery] cant append() form objects

2007-01-27 Thread Kristinn Sigmundsson
Just a quick input on the PHP variables, If you use double quotes this: echo $var; will output the contents of $var but using single quote echo '$var'; vill output $var (not the contents of a variable) On 1/27/07, Jeremy Dill [EMAIL PROTECTED] wrote: Well, I finally got everything working

Re: [jQuery] cant append() form objects

2007-01-27 Thread Felix Geisendörfer
Just a quick input on the PHP variables, Here comes another one: Using the $str = My string with an inline $variable. Oh no!-syntax is generally thought of as a bad practice by many PHP folks (including me). Therefor using something like: $str = 'My string without an inline'.$variable.'.

Re: [jQuery] [New Plugin] jqModal -- Minimalist Modaling with jQuery

2007-01-27 Thread David
Brice Burgess schreef: This plugin is something I've just started working with, and I am very interested in community comments. The default CSS has some cross-platform issues -- IE fixed positioning, maybe more. I have to run IE under wine so I'm not seeing any transparency... nor can be

[jQuery] Calling a default function in a IFrame

2007-01-27 Thread Kristinn Sigmundsson
Hi there, I'm trying to edit thickbox to call a default function whenever a iframe has loaded, the function will not always exist in the page loaded so I would not want a JS-error when this is the case. Code I'm using atm: . try { line 304:

Re: [jQuery] IE 6 error when using thickbox on a secure connection

2007-01-27 Thread ben
Yeah, that's the bug. There are no actual non-SSL connections to anything going on. Works just fine in Firefox. If you are linking to any resources in the page (image/css/js) with a http:// url you will get this message. Might also happen with ajax calls, but not sure. Blair On 1/27/07,

Re: [jQuery] jQDOM - My entry into the jQuery DOM creation foray

2007-01-27 Thread Mike Alsup
That would result in adding the following code to the body: div align=right class=my_div http://alterform.com Alterform /div I think DOM tools are great for working with nasty things like tables, but jQuery handles simple insertions quite well on its own. Your example could be written

Re: [jQuery] jQDOM - My entry into the jQuery DOM creation foray

2007-01-27 Thread Mike Alsup
Hi Nate, I just reread my last message and it seems very negative - I didn't mean for it to sound that way. Your plugin is cool and quite tiny! Nice work. Mike ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] remove in-page links with plain text

2007-01-27 Thread George Adamson
Removing self-links from a page is good plan though it will only work for js-enabled users. Standard readers will still see the full links so this is not a very accessible solution. Best to do it server-side if possible. Anyway, regarding your specific questions: 1) I need a way to not to add

Re: [jQuery] [New Plugin] jqModal -- Minimalist Modaling with jQuery

2007-01-27 Thread Mike Alsup
This plugin is something I've just started working with, and I am very interested in community comments. The default CSS has some cross-platform issues -- IE fixed positioning, maybe more. I have to run IE under wine so I'm not seeing any transparency... nor can be sure it works. Safari

Re: [jQuery] remove in-page links with plain text

2007-01-27 Thread Rose, Ryan
Try matching the url with this: $([EMAIL PROTECTED]'+url+']).each( It should find a match whether the url is absolute or relative. Ryan Rose http://www.digiwize.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of George Adamson Sent: Saturday,

Re: [jQuery] remove in-page links with plain text

2007-01-27 Thread Kristinn Sigmundsson
Well that would depend on whether the original document.location.href returned a absolute or relative url wouldn't it? You should make sure that the url is either absolute or relative, depending on how you have your links defined. something like url.replace(http://www.yourdomain.com/;, ) should

Re: [jQuery] comet

2007-01-27 Thread Matt Stith
not as far as I have heard, but i would be interested in anything that has, or maybe a Comet plugin? anyone willing? On 1/27/07, Glen [EMAIL PROTECTED] wrote: all, Are there any projects out there with the intent of providing comet functionality within jquery? -g

Re: [jQuery] [New Plugin] jqModal -- Minimalist Modaling with jQuery

2007-01-27 Thread Christopher Jordan
Brice, I like that there are no dependencies for your plugin. I also didn't read anything about this plug-in messing with the original margins on the page like thickbox does. I tried using thickbox recently, but had trouble because of its css changing the margin and padding on the body of my

Re: [jQuery] jQDOM - My entry into the jQuery DOM creation foray

2007-01-27 Thread Nate Cavanaugh
I didn't take it that way, so don't worry :) The problem I have with jQuery's native methods is that sometimes, you want to be able to operate on a specific object while you're creating it. So, for instance, with that link inside that div, sometimes as I create it, I'd like to attach an event to

Re: [jQuery] jQDOM - My entry into the jQuery DOM creation foray

2007-01-27 Thread Mike Alsup
So, for instance, with that link inside that div, sometimes as I create it, I'd like to attach an event to JUST that anchor tag, rather than having to create a custom ID, assign it, then do another jQuery call to bring it up and attach an event. Still doable, but less readable: $('a

Re: [jQuery] cant append() form objects

2007-01-27 Thread Jörn Zaefferer
Felix Geisendörfer schrieb: Just a quick input on the PHP variables, Here comes another one: Using the $str = My string with an inline $variable. Oh no!-syntax is generally thought of as a bad practice by many PHP folks (including me). Any idea why this is considered bad practice? -- Jörn

Re: [jQuery] jQDOM - My entry into the jQuery DOM creation foray

2007-01-27 Thread Klaus Hartl
Mike Alsup wrote: So, for instance, with that link inside that div, sometimes as I create it, I'd like to attach an event to JUST that anchor tag, rather than having to create a custom ID, assign it, then do another jQuery call to bring it up and attach an event. Still doable, but less

Re: [jQuery] cant append() form objects

2007-01-27 Thread Felix Geisendörfer
Any idea why this is considered bad practice? Yes. Their are several things I can think of right away: * People often mix double single quotes in one project: using inline variables can easily cause bugs if the programmer doesn't remember that they won't work inside his single

Re: [jQuery] cant append() form objects

2007-01-27 Thread Jörn Zaefferer
Felix Geisendörfer schrieb: * Function wrapping: When using inline variables, you can't wrap them with a function call. So this makes it more work to add those calls later on, which often causes lazy developers to skip data sanitation (big issue with XSS attacks) Thanks

Re: [jQuery] Mobile application

2007-01-27 Thread Gerry Danen
Thank you, Blair. On 1/26/07, Blair McKenzie [EMAIL PROTECTED] wrote: http://jquery.com/test/ On 1/27/07, Gerry Danen [EMAIL PROTECTED] wrote: I hope I was clear enough that I meant browser apps that go back to a php/mysql server for content delivery? The server part is no problem,

Re: [jQuery] comet

2007-01-27 Thread Glen
I would definitely be willing to provide a plugin, if someone out there has any experience with getting streaming data with IE. According to Alex Russel, IE requires usage of the ActiveXObject (htmlfile) call, which apparently is the IHTMLDocument2 object. With Firefox, streaming data is

Re: [jQuery] [New Plugin] jqModal -- Minimalist Modaling with jQuery

2007-01-27 Thread Brice Burgess
Mike Alsup wrote: - for proper positioning in ie6 you'll need to use the (ie only) setExpression method on the style object. This is a pain, but it works well. - for proper modality in ie6 you'll need to use an iframe. A div won't overlay some form elements on the underlying content,

Re: [jQuery] [New Plugin] jqModal -- Minimalist Modaling with jQuery

2007-01-27 Thread Brice Burgess
Brice Burgess wrote: I'd like to find out if I can examine current focus. Doing a little research brought me to window.event.srcElement However it seems to be IE proprietary? I did a little more research found http://www.permadi.com/tutorial/cssGetElementUnderMouse/index.html I

Re: [jQuery] [New Plugin] jqModal -- Minimalist Modaling with jQuery

2007-01-27 Thread Aaron Heimlich
Brice -- There's a demo of blockUI being used for modal dialogs that you may want to check out: http://www.malsup.com/jquery/block/dialog.html -- Aaron Heimlich Web Developer [EMAIL PROTECTED] http://aheimlich.freepgs.com On 1/27/07, Brice Burgess [EMAIL PROTECTED] wrote: Mike Alsup wrote:

Re: [jQuery] position clearing ala Shaun Inman

2007-01-27 Thread deadguy
Ok, I guess I need to rephrase my question now that part of the original has been answered: I don't know enough javascript to understand exactly what Shaun's code is doing, nor do I have enough jQuery experience to rewrite it in jQuery. Here's what I *want* to do: I want to have jQuery

[jQuery] Flickering when using slideToggle in Firefox

2007-01-27 Thread spl1nter
I'm working on a new design that's going to use jQuery for the menu. The link is below: http://www.gamehideout.co.uk/folio/ When using the menu I'm using slideDown and slideToggle and it works fine mostly. But sometimes (roughly 50% of the time) when using slideToggle to close a div and then

Re: [jQuery] position clearing ala Shaun Inman

2007-01-27 Thread Ⓙⓐⓚⓔ
You say footers? I've done footer! the code is mainly css with the contents for the footer generated by jquery. $(body).metaFootie(); where jQuery.fn.metaFootie = function() { var a = [] $([EMAIL PROTECTED]).each(function(){a[a.length] = acronym

Re: [jQuery] position clearing ala Shaun Inman

2007-01-27 Thread Alex Calara
Ah, here's the problem with that: it attaches a footer to the bottom of the window, rather than to the bottom of the content. What I'm looking for is repositioning an existing footer at the bottom of the longest column in my #content section. There's three columns, and each is positioned

Re: [jQuery] Flickering when using slideToggle in Firefox

2007-01-27 Thread Gerry Danen
Tom, I don't have an explanation, but I noticed that clicking a link the second time, makes the content go away in both FF2 and IE7. Perhaps there's a connection? Gerry On 1/27/07, spl1nter [EMAIL PROTECTED] wrote: I'm working on a new design that's going to use jQuery for the menu. The link

Re: [jQuery] Flickering when using slideToggle in Firefox

2007-01-27 Thread spl1nter
Hey, That's meant to happen. Cheers though :) Gerry Danen wrote: Tom, I don't have an explanation, but I noticed that clicking a link the second time, makes the content go away in both FF2 and IE7. Perhaps there's a connection? Gerry -- View this message in context:

Re: [jQuery] Flickering when using slideToggle in Firefox

2007-01-27 Thread Gerry Danen
Hmm... I'm a novice to jQuery also and have just implemented a sliding menu on my blog, See http://blog.danen.org . I noticed a difference in behaviour of href=# vs href= You may want to check that out. Gerry On 1/27/07, spl1nter [EMAIL PROTECTED] wrote: Hey, That's meant to happen. Cheers

Re: [jQuery] position clearing ala Shaun Inman

2007-01-27 Thread [-Stash-]
Jörn Zaefferer wrote: deadguy schrieb: I've been reading through Transcending CSS by Andy Clarke, and he mentions using Shaun Inman's clearance method (http://shauninman.com/post/heap/2006/05/22/clearance_position_inline_absolute) to position footers when using absolute positioning for

Re: [jQuery] Flickering when using slideToggle in Firefox

2007-01-27 Thread Ⓙⓐⓚⓔ
# vs !! definitely causes problems! Might I also suggest you code href=#coding and in your click hander you just use $(this.hash) to toggle and slide! Your code can be cut down 80%. And it can me made to work in javascript disabled browsers (if you put an a name=coding / in the div!)! On

Re: [jQuery] comet

2007-01-27 Thread Kenneth
[EMAIL PROTECTED] ie. I second that. Would the Heartbeat plugin be an alternative, or would the updates need to be too continous? http://www.jasons-toolbox.com/JHeartbeat/ On 1/27/07, Glen [EMAIL PROTECTED] wrote: I would definitely be willing to provide a plugin, if someone out there has

Re: [jQuery] [New Plugin] jqModal -- Minimalist Modaling with jQuery

2007-01-27 Thread Brice Burgess
I have updated the plugin with the following changes; + Added emulated fixed position for IE7 (via stylesheet) + Update pageHeight function to return full height regardless of height setting on body (typically 100%..., upsets .clientHeight) + Added a full height IFRAME to overlay

Re: [jQuery] [New Plugin] jqModal -- Minimalist Modaling with jQuery

2007-01-27 Thread Brice Burgess
Aaron Heimlich wrote: Brice -- There's a demo of blockUI being used for modal dialogs that you may want to check out: http://www.malsup.com/jquery/block/dialog.html Aaron, I was aware of this page. blockUI is excellent, small, and fast -- however, it is not flexible enough to be a

Re: [jQuery] IE 6 error when using thickbox on a secure connection

2007-01-27 Thread Theo Welch
I can't believe I'm writing these words, :) but from my experience, it is unlikely that this is due to an IE bug. I have seen the same thing before...where the warning about some items not being secure appears in IE but not Firefox. It may have been to some relaxed (or misconfigured)

Re: [jQuery] [New Plugin] jqModal -- Minimalist Modaling with jQuery

2007-01-27 Thread Aaron Heimlich
On 1/27/07, Brice Burgess [EMAIL PROTECTED] wrote: Perhaps I'm way off? :) Not at all! You just seemed to be implying that it wasn't possible to create a basic modal dialog with blockUI (which isn't true, as that demo shows). -- Aaron Heimlich Web Developer [EMAIL PROTECTED]