On Jun 17, 2:52 pm, Scottus [EMAIL PROTECTED] wrote:
I am using
var title = document.getElementsByTagName('title').item(0).innerHTML;
to get the content of a pages title tag.
But if the page has no title tag I get
Error: document.getElementsByTagName(title).item(0) has no properties
Klaus,
Humm, I still can't get the size of an element while it's hidden and
absolute...
I tried with an element:
style=display: none; position: absolute
and
alert(id: + elt.id + height: + elt.offsetHeight + width: +
elt.offsetWidth);
alert(id: + elt.id + style.height: +
Because its not just the look that matters. If you have a long text
value in an input element, then the text value gets cut off. Can you
use CSS to fix that? Also, for the multi-select boxes, you only show
the values selected, not all of the options.
On Jun 16, 10:47 am, R. Rajesh Jeba Anbiah
I'm looking an example using jquery for grid pagination with ajax(database
hits) support.
http://makoomba.altervista.org/grid/ haves a great example but using xml
data. I'll want to use json instead.
Do you know?
Cheers
i found there is a method which can detect if your use is browsering
your site on iPhone,
function isiPhone() {
var agent = navigator.userAgent.toLowerCase();
return agent.match(/iPhone/i);
}
this method defined in http://images.apple.com/global/scripts/browserdetect.js
maybe jQuery
I have a (currently) six part tutorial on paging the ExtJS DataGrid
component, with JQuery, on my blog:
http://blog.cutterscrossing.com/index.cfm/My-First-ExtJS-DataGrid
Steve 'Cutter' Blades
Adobe Certified Expert
Advanced Macromedia ColdFusion MX 7 Developer
On 6/17/07, Robert Wagner [EMAIL PROTECTED] wrote:
it (the link you mentioned) behaves _strange_ in safari. (2.0.4) it
hangs a few seconds an then it shows the tabs (sometimes).
-robert
I'll try to look into this Robert, but I don't have access to a mac
atm, do you think the windows version
Hi there,
I am adding input elements using jQuery and these input elements shall react
on globally registered event handlers ( $(.myelement).click() ). But when
inserting them via jQuery, they do not react on these rules, so I think I
have to somehow re-register the events after adding them
Is there some more infos about what is planned there ?
John Resig wrote:
When:
Sunday, June 24, 2007 - 10:30 AM
Where:
Hotel Helder Opera
4, Rue du Helder
Paris, Île-de-France 75009
About:
This is a meet up for those that use and are interested in the jQuery
JavaScript Library. We'll be
thanks this worked well. I guess the key the if statement is testing for truth
of a statement that anything that makes it false counts as false even if its
non existence.
o = document.getElementsByTagName('title')[0])
nice code. thanks
On 6/17/07, RobG [EMAIL PROTECTED] wrote:
On Jun
Just posted a review for teamViget.com:
http://www.stylegala.com/archive/team_viget.htm
Any comments and insights from the dedicated jQ'ers out there would be
great ;)
Ty - wish my name was Jay Query G.
On Jun 11, 11:26 am, Sam Sherlock [EMAIL PROTECTED] wrote:
http://www.teamviget.com/
great
It's going to be pretty casual - I'll probably give a talk on jQuery
1.2, the direction of the project, etc. If anyone has any questions,
I'll be happy to try and answer them.
That's what I know about, on my end. The SPIP developers will probably
be organizing some stuff too. (They run the
Good chance to see if Safari is the same on thee Mac v. PC.
I also got an error in IE7 on Vista. Strange one. Line 5.
Can't move focus to the control because it is invisible, not enabled or of
a type that does not accept the focus.
Otherwise, cool plugin. :)
Glen
On 6/17/07, Sean Catchpole
As Sigmund Freud might have said, It's all in your head... but he wasn't
talking about html
very little in the html head is normal. meta's are read from the head (by
the server, not the client) and sent as headers!
So it's too late for you to do anything... but at least you know how long
until
Arne,
When jQuery 1.1.3 comes out you will be able to use Brandon Aaron's
Behavior Pluigin[1] to manage this behavior automatically. Until then
you can do it manually. They key is to only bind the elements that
have not been previously bound. If, for example, you're using ajax
functionality
I'm getting this error with fire bug...
missing : after property id
$(#show_results).load(index.php,{id,$(this).attr(id)});\n
On Jun 15, 1:59 pm, Jake McGraw [EMAIL PROTECTED] wrote:
try:
$(function(){
$(a).click(function(){
I'm getting this error with fire bug...
missing : after property id
$(#show_results).load(index.php,{id,$(this).attr(id)});\n
On Jun 15, 1:59 pm, Jake McGraw [EMAIL PROTECTED] wrote:
try:
$(function(){
$(a).click(function(){
Hi,
I'm having troubles to prevent Firefox' password manager to popup on
invalid forms. The problem is that it opens when the user clicks submit,
and afterwards the form is marked invalid, possibly even including an
invalid password.
I haven't managed to produce a reliable test yet, so I
maybe jQuery may add a new function, $.browser.isiPhone, for further,
since iPhone allows developers do more in its safari... :)
This should be as easy as adding a line with
iphone: /iphone/.test(b),
inside jQuery.browser = { }.. But, if it's added to the core: please,
please name
I got this code from scriptaculos and it toggles display of the
answer
pat then the question part is clicked.
Javascript
$(document).ready(function () {
$
('div.faqitem').find('div.answer').hide().end().find('div.question').click(function()
{
$(this).next().slideToggle(); });
I'm looking for a jQuery-native way to get the absolute position of an
element; something like Prototype's Position.cumulativeOffset(element)
or YUI's YAHOO.util.Dom.getXY(element). Is there anything like this or
do I have to borrow from the other libs?
Michael
--
Michael Schuerig
Hi Mike,
thanks for this, this solution sounds quite plausible and is a good way to
handle it at the moment, so thank you again!
Best regards
Arne
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mike Alsup
Sent: Sunday, June 17, 2007
Michael,
Take a look at the dimensions plugin:
http://jqueryjs.googlecode.com/svn/trunk/plugins/dimensions/jquery.dimensions.js
Mike
On 6/17/07, Michael Schuerig [EMAIL PROTECTED] wrote:
I'm looking for a jQuery-native way to get the absolute position of an
element; something like
hopefully we won't need to care that it's an iPhone! We'll know more on the
29th
On 6/17/07, Bob den Otter [EMAIL PROTECTED] wrote:
maybe jQuery may add a new function, $.browser.isiPhone, for further,
since iPhone allows developers do more in its safari... :)
This should be as easy as
R. Rajesh Jeba Anbiah wrote:
To be honest, having inspired by validation plugin, I thought of
hacking an adopter for it. But, later I found that it's too un-
intuitive to try to bend CakePHP rules for validation plugins; it will
be just easy to dump CakePHP rules in JSON and write a simple
if (!okay) return;
maybe? :P
On 6/17/07, wyo [EMAIL PROTECTED] wrote:
I'd like to terminat (beak) the iteration in the following code if a
value is emtpy. Is that somehow possible?
var okay = true;
$('.input_required').each (function (i){
if ($(this).val() == ) {
okay = false;
I have a CMS that I'm building for a client. There's going to be a
list of items in one portion of the CMS which will likely get
rearranged on a regular basis. Obviously I could simply have them
change their order one at a time via a simple text box. I'd like to
give them something unexpected
Hi,
I'll want to validate a range in US(Los Angeles) zip field using great
Jorn's Form Validation Plugin. For example:
- how to ensure users enter only zip inside the range 902??- and
905??-???
Cheers
Hi Michael,
You could do something like this (untested):
var $inner = $('#container').html();
$('#container').after($inner).remove();
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Jun 17, 2007, at 5:03 PM, Michael Heilemann wrote:
Hey all,
Return false to stop the iteration loop.
Mike
On 6/17/07, wyo [EMAIL PROTECTED] wrote:
I'd like to terminat (beak) the iteration in the following code if a
value is emtpy. Is that somehow possible?
var okay = true;
$('.input_required').each (function (i){
if ($(this).val() == ) {
i doubt they would be of any use, espically since it will be the only
platform with that kind of function.
On Jun 18, 5:47 am, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote:
I'm guessing a poke = a click, and a drag is a drag what will the double
finger gestures be ?
I'm working on a page that has a form that is dynamically generated
using jQuery. The form isn't built in one pass but progressively
based on user actions. Prior to submit the form may contain dozens of
select menus with varying option content.
The problem is that the select menu options
Having no actual idea and just venturing a guess, I'd say maybe
there's a compounding rounding error or something? Maybe try setting
the correct value after the animation has completed (via a callback)?
--Erik
On 6/17/07, Byron [EMAIL PROTECTED] wrote:
Hi all, this is my first post to this
It doesn't seem to happen consistently...
On 6/17/07, Erik Beeson [EMAIL PROTECTED] wrote:
Having no actual idea and just venturing a guess, I'd say maybe
there's a compounding rounding error or something? Maybe try setting
the correct value after the animation has completed (via a callback)?
I have tried to test on the twitter json and so I use the getScript to do
that.
It works in IE but not Firefox. The js console error shows:
[Exception... ' P ³å|ë method XMLHttpRequest.open' when calling method:
[nsIDOMEventListener::handleEvent] nsresult: 0x8057001e
jQuery's getScript implementation uses ajax and therefore you can not
make cross-domain requests. But Michael Geary has a nice JSON plugin:
http://mg.to/2006/01/25/json-for-jquery
Mike
On 6/17/07, Jacky [EMAIL PROTECTED] wrote:
I have tried to test on the twitter json and so I use the
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, 0px);
}
Hey, long time jquery fan,
I got time today to make One page Cheat Sheet (overview list of
function in jquery library )
You know what to do with it, print it, tape it, type it, enjoy it.
Download / view at PDF :
www.n-bp.com/jquery_cheat_sheet/v112/jQuery_cheat_sheet_v1-1-2.pdf
cheers,
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.jquery.com/jquery-1.1.3a.js
Let me know if that code helps to solve your problem.
--John
On 6/17/07, Byron [EMAIL PROTECTED] wrote:
Thanks,
I tried setting it in the
39 matches
Mail list logo