Thanks for your help guys.
jQuery originally works on element nodes, but text nodes are rightful
members of DOM too. :)
Glad I could help.
--
Piotr Petrus http://riddle.pl
Hey, thanks for the tip! I would still need someone to do some
graphics work, but this looks like a really good starting place.
You know, I was really excited about reinventing the wheel ;)
On Sep 9, 12:06 am, "Michael Geary" <[EMAIL PROTECTED]> wrote:
> Randy, what about using an existing HTML
On Sep 8, 10:09 pm, "Piotr Petrus" <[EMAIL PROTECTED]> wrote:
> Wow, now that's big. I'd try just this:
>
> $('ul > li').each(function() {
> if (this.firstChild && this.firstChild.nodeType == 3) {
> $(this.firstChild).wrap('')
> }})
So you can wrap() this.firstC
Randy, what about using an existing HTML slide show system such as S5?
http://meyerweb.com/eric/tools/s5/
http://en.wikipedia.org/wiki/S5_file_format
I think that's where I would start if I were doing something like this.
-Mike
> From: [EMAIL PROTECTED]
>
> I am a student at The Southern Bap
I am a student at The Southern Baptist Theological Seminary
(www.sbts.edu) and I am looking for some volunteer help on putting
together a gospel presentation using JQuery and a web browser. I
currently have a PowerPoint presentation that I have worked on
together with one of my professors, but ou
I've been playing around with selectors and XPath expressions, so I
wrote $('element::text()). After error I tried this one:
$('element text()')
After that my Firefox stalled (without even "unresponsive script"
warning) and I couldn't do anything except killing it.
The problem is that unknown f
wow thanks... that fixed that, the second span miss...
thanks for the tip ;)
On Sep 9, 4:18 am, "Michael Geary" <[EMAIL PROTECTED]> wrote:
> There are a few problems in your markup:
>
> 1) action"" is missing the =
>
> 2) FORM is a block level element; you can't nest it inside a SPAN
>
> 3) Missi
There are a few problems in your markup:
1) action"" is missing the =
2) FORM is a block level element; you can't nest it inside a SPAN
3) Missing end tag for the second SPAN
I suggest pasting the markup into the body of an HTML 4.01 document and running
it through the W3C validator:
http://
Wow, now that's big. I'd try just this:
$('ul > li').each(function() {
if (this.firstChild && this.firstChild.nodeType == 3) {
$(this.firstChild).wrap('')
}
})
--
Piotr Petrus http://riddle.pl
it doesn't matter... i tried it without that... it's just the last
version of my tries to fix this issues )
so with or withous / it doesn't render
when ctr+a i only get the last span text,
On Sep 9, 3:50 am, Eridius <[EMAIL PROTECTED]> wrote:
> I am not sure if it is cause the problem but why do
I am not sure if it is cause the problem but why do you have \/ when you
should only have /, i just point that out because IE does not render things
well if it is invalid html markup.
Equand wrote:
>
>
> i have a code like
> $('').html('Введите
> Логин и
> Пароль type="
i have a code like
$('').html('Введите Логин и
Пароль <\/form><\/span>Отправить<\/a>').appendTo('body');
s = windowsize(2);
k = (+$('.magic').css("width").replace(/px$/,''));
s = (s[0] - k) / 2;
Hi everyone.
I just wanted to ensure that folks were aware of jQuery team member Paul
Bakaus' awesome Greasemonkey script which helps to detect jQuery-powered
sites by showing a little jQuery logo in the lower right-hand corner of
the viewport when a jQuery-powered page is encountered.
Here
Hi Ty,
No worries my man. Telling us about a jQuery-powered site is actually
encouraged as it helps us build the list of sites powered by jQuery.
For example, today I found this:
https://sellercentral.amazon.com/gp/homepage.html
It looks like a pretty plain login huh? Well, if you actually
$element.html is a shorthand for element.innerHTML and you're looking
for element.outerHTML which is unfortunately doesn't supported by
Gecko. Try googling it, it will perfectly suit your needs (actual
element's HTML + inner elements' HTML).
--
Piotr Petrus http://riddle.pl
That's a really nice site.
On 9/8/07, Ty <[EMAIL PROTECTED]> wrote:
>
>
> Very interesting shopping cart concept brimming with Jquery features
> judging by the section calls. Elegant ecommerce too bad they
> don't have any with patterns, just plain colors.
> Check it out:
> http://www.justfutonco
Very interesting shopping cart concept brimming with Jquery features
judging by the section calls. Elegant ecommerce too bad they
don't have any with patterns, just plain colors.
Check it out:
http://www.justfutoncovers.com/
Not meaning to spam the forum, it's not even my site.
Thanks, I realized what you were going for after studying it, I think
you should put that explanation on the website! I understand the
troubles of px --> em conversion and also why em's are important,
however you have a unique solution to those troubles that wasn't
obvious to me. Glad to hear it
On Sep 8, 6:38 am, Pops <[EMAIL PROTECTED]> wrote:
> For my List tree plugin, it needs to handle situations where the
> structure contains LI tags with text and not text wrapped with a HTML
> tag (normally a A tag)
>
> ...
>
> So short of removeNode()/createNode, if there a jQuery way to do this
lets say i have this code:
test1
test2
test3
and then i do $('#text div.inner_text:eq(' + index + ')').html() but that
will only select the text(ie test1, test2, test3) is there a way to also
select the tag from th selector(so i would get test1, etc...)?
--
View this
Hi,
> We're going to be having the first all-day jQuery mini-conference
> October 27th, here in Boston, MA.
Hm. I'd like to come. I'll see if I can find the time and a cheap plane. Does
the US still treat travellers from outside like criminals (taking
fingerprints, etc.)?
Christof
Charles, when you make CSS for webpage and you use em values instead
of pixels, it's quite difficult to remember real (pixel) values,
because of em's nature.
body - you set font-size as 1em and it's 16px
within that body you have div#header and you set font-size to 0.5em
and that's 8px
within #he
On 07/09/2007, at 18:35, Michael Geary wrote:
Use a closure.
Or bring your own `bindAsEventListener` into play.
Something like
Function.prototype.bindAsEventListener = function(o) {
var _m = this;
var args = [].slice.call(arguments, 0);
var obj = args.shift();
Thanks Michael, good to know, I guess I should be reading more of
y'all's code. I got into the habit of putting my () on different
lines due to long nested functions.
Piotr:
Is your goal with this to enable users to create their own mock DOM
tree, name each node to match an element in the tree,
The window.onload waits until everything on the page is done
loading--including all images.
-Dan
>-Original Message-
>From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
>Behalf Of Giovanni Battista Lenoci
>Sent: Saturday, September 08, 2007 8:54 AM
>To: jQuery (English)
>Subje
>
> Just use oldschool window load:
>
> $(window).load(function() {
> // everything loaded
> });
Thank you, it was very simple
When mouse over an object, say a DIV for simplicity, I can use JQuery
to get its absolute position in DOM tree,
e.g.
div#header < body < html
Any idea?
Check this out
http://www.sunsean.com/idTabs/ - see the freedom example.
- S
On 08/09/07, Michel Brouckaert <[EMAIL PROTECTED]> wrote:
>
>
>
> 2007/9/8, fambizzari <[EMAIL PROTECTED]>:
> >
> >
> > Does anyone know of a vertical version of Klaus Hartl's tabs, similar
> > in theory to, the micoros
Giovanni Battista Lenoci wrote:
Hi, I've searched in the list but didn't find the way to solve.
I'm using jquery to change the position of different elements, but
these positions depends on the image size of multiple images on the
page.
If I use document.ready jquery start to work before all s
Hello everyone
I'd like to apologize for the way I presented my problem – as Charles
wrote, it'd be nicer to see just the node addition. It spawns a lot of
communication problems I think, because the keyup events working on
whole tree and session handlers are actually fast as hell, and the
only th
Giovanni Battista Lenoci schrieb:
Is there a better way to do this?
Just use oldschool window load:
$(window).load(function() {
// everything loaded
});
-- Jörn
On page i have script which gets link id and loads content in div.
function:
function loadContent(id) {
$("#dzivokli").load("dzivoklis-"+id+"/");
}
a tag:
javascript:loadContent(2217); Link
and it loads content with id dzivoklis-2217 into div #dzivokli.
How i can add loading indicator
Hi, I've searched in the list but didn't find the way to solve.
I'm using jquery to change the position of different elements, but
these positions depends on the image size of multiple images on the
page.
If I use document.ready jquery start to work before all sensible
images are loaded.
I foun
For my List tree plugin, it needs to handle situations where the
structure contains LI tags with text and not text wrapped with a HTML
tag (normally a A tag)
For example:
title
...
...
My CSS and tree code handles it nicely when the text wrapped with a
2007/9/8, fambizzari <[EMAIL PROTECTED]>:
>
>
> Does anyone know of a vertical version of Klaus Hartl's tabs, similar
> in theory to, the micorosft home page (http://www.microsoft.com/en/us/
> default.aspx)
>
>
hello,
I actually think that it is not that hard to do if you use you're head
around it
Does anyone know of a vertical version of Klaus Hartl's tabs, similar
in theory to, the micorosft home page (http://www.microsoft.com/en/us/
default.aspx)
37 matches
Mail list logo