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
thi
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 wor
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.'. Ye
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
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: setTimeout("frames['TB_ifr
zelexir wrote:
>
> 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{
> lin
zelexir wrote:
>
>
>
> zelexir wrote:
>>
>> 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:
>>
>> .
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
> That would result in adding the following code to the body:
>
>
> http://alterform.com Alterform
>
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 more succinctly like this:
$('
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/
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
> 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 u
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, J
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/";, "") shoul
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
>
>
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 p
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
> 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:
$('jQuery'
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?
--
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
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 qu
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)
>
T
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
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 e
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,
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.ht
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:
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 repositio
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 and then slideT
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] = "" + this
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 ab
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 li
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:
htt
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 happe
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 posit
"#" 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 in the div!)!
On 1/27/07, Gerry D
"[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 h
I have updated the plugin with the following changes;
+ Added emulated fixed position for IE<7 (via stylesheet)
+ Update pageHeight function to return full height regardless
of height setting on (typically 100%..., upsets .clientHeight)
+ Added a full height IFRAME to overlay creatio
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
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) Fi
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]
http://aheimli
41 matches
Mail list logo