Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
need help for port jquery to mootoools
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Hamburger  
View profile  
 More options Oct 2 2012, 10:54 am
From: Hamburger <bilidi...@web.de>
Date: Tue, 2 Oct 2012 07:54:28 -0700 (PDT)
Local: Tues, Oct 2 2012 10:54 am
Subject: need help for port jquery to mootoools

Hello,
I'am trying to translate the following code.
I have some problems:
Why gives the function grabPixelFontSize different values in jq an moo?
Also the finalText is different. I don't understand why?

Here my moo-code:
http://jsfiddle.net/vpNKB/3/

the jquery-code:
http://jsfiddle.net/w2E9y/2/

thx for any suggestion in advance


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hamburger  
View profile  
 More options Oct 2 2012, 11:21 am
From: Hamburger <bilidi...@web.de>
Date: Tue, 2 Oct 2012 08:21:24 -0700 (PDT)
Local: Tues, Oct 2 2012 11:21 am
Subject: Re: need help for port jquery to mootoools

here is only the grabPixelFontSize code

jq == http://jsfiddle.net/t6gcG/1/
moo == http://jsfiddle.net/V3XRM/2/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
g.schlmm  
View profile  
 More options Oct 2 2012, 3:02 pm
From: "g.schlmm" <g.sch...@googlemail.com>
Date: Tue, 02 Oct 2012 21:01:57 +0200
Local: Tues, Oct 2 2012 3:01 pm
Subject: Re: [Moo] Re: need help for port jquery to mootoools
hi,
you example works, if you do
line-height: '1'
(mootool using pixels if u not explicity put  a value of type string)
and if u use y instead of of x from your size thingie
(you want the height, right?)

also why not just do:
myEl.inject(document.body);
instead of:
myEl.inject(_this);

next:
return myEL.getSize().y;
should work?

On 10/02/2012 05:21 PM, Hamburger wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hamburger  
View profile  
 More options Oct 3 2012, 6:38 am
From: Hamburger <bilidi...@web.de>
Date: Wed, 3 Oct 2012 03:38:05 -0700 (PDT)
Local: Wed, Oct 3 2012 6:38 am
Subject: Re: [Moo] Re: need help for port jquery to mootoools

Hello and thx for your hint.
I have it.
I think getSize().y would'nt work because the element is hidden ...
cheers hamburger


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Philip Thompson  
View profile  
 More options Oct 3 2012, 10:35 am
From: Philip Thompson <philthath...@gmail.com>
Date: Wed, 3 Oct 2012 09:34:56 -0500
Local: Wed, Oct 3 2012 10:34 am
Subject: Re: [Moo] Re: need help for port jquery to mootoools

Element.measure will help you there.
http://mootools.net/docs/more/Element/Element.Measure

~Philip


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »