[jQuery] Re: JSON String problem

2007-08-16 Thread Terry B

and here are the lines i have been searching for (i think, havent
tried it but should be)

if (issimplevalue(arg) and isnumeric(arg)){
return ToString(arg);
}
if (issimplevalue(arg)){
return '"' & JSStringFormat(ToString(arg)) & 
'"';
}

just comment out the 1st three lines should do the trick






[jQuery] Re: JSON String problem

2007-08-16 Thread Terry B

well im using the serializer that came with mxajax...  which is the
one right off json.org i believe...


ahh...  i missed it..  *slaps forhead*  duh, the serializer...

ok, i see where I need to be looking...  i was looking at the json.js
serializer and not the mxajax serializer...

thanks everyone...  if i figure it out ill repost soon...



On Aug 16, 11:11 am, "Erik Beeson" <[EMAIL PROTECTED]> wrote:
> > Deserializing JSON in JavaScript is as simple as running the code:
>
> > eval(jsonString);
>
> While that's correct, you probably want to stick said deserialized
> object somewhere:
>
> eval('var json = ' + jsonString);
> console.log(json);
>
> Or some such.
>
> --Erik



[jQuery] Re: JSON String problem

2007-08-16 Thread Terry B

yes I know about strings and numeric conversions.  I want to know is
there a way to force json to force values to strings.  I have played
with the parser but it is a PITA and played with adding " " at the
query level but that is too cumbersome.  I can't believe JSon does not
have any options or settings that force all values to strings.  Anyone
played with this at all?

~Terry




[jQuery] JSON String problem

2007-08-16 Thread Terry B

has anyone had any problem with JSON whereas a string is "063" and it
gets translated to a number, in this case "51"???

The response from a call has the appropiate value [063] but I have
noticed that since it is not in string notation ["063"] when used it
gets converted.

I would rather not have to re-write my sql to force " " in it but want
JSON to recognize this as a string value and numeric.

~Terry



[jQuery] ContextMenu plugin - right click menu

2007-08-10 Thread Terry B

ContextMenu plugin - right click menu

Well since I did not see any contact info on the page, I will just
post here.  I like this plugin but at least one bug and at least one
suggestion.

Referring to the plugin found here:
http://www.trendskitchens.co.nz/jquery/contextmenu/

1) If you use jquery with no conflict like I do, you get an error
which is caused by the following code at the end of the js include
file:

$(function() {
$('div.contextMenu').hide();
});

I use $t for my query calls and it does not understand $ as a query
caller.  I simply moved this portion within the main function of the
include file and all seems well.

2) Suggest including a left/right click option.  That way one could
setup all menus with one plugin - right click or left click - and dont
have to worry about doubling efforts for styles and coding.


~Terry



[jQuery] Re: $Ajax memory problem

2007-08-06 Thread Terry B

It would be nice to determine where this array is as I have noticed
the same and would like to get it fixed in 1.1.2 as 1.1.3 really  is
not backwards compatible with all the plugins I use.

~Terry

On Aug 6, 7:22 am, Stephan Beal <[EMAIL PROTECTED]> wrote:
> On Aug 6, 1:20 pm, Stephan Beal <[EMAIL PROTECTED]> wrote:
>
> > If i'm not mistaken, someone posted about this problem yesterday or
> > the day before and posted a fix to the jQuery bug database. i'm sorry,
> > but i don't have the links available.
>
> Here's the bug link:
>
> http://dev.jquery.com/ticket/1463
>
> Not sure if that's the same problem you're seeing, but it sounds
> similar.



[jQuery] Re: Help with dblclick

2007-08-03 Thread Terry B

i made it even more simply...  sry, took forever for the post to
actually post...

 $t("#event_" + i).dblclick(function () {eventDoubleClick(this)}); }

just send the object


On Aug 3, 4:03 pm, "Michael Geary" <[EMAIL PROTECTED]> wrote:
> > From: Terry B
>
> > I have a bunch of events and I loop through them.  I would
> > like to create a double-click effect so that I call function
> > "eventDoubleClick" but I want that event to pass its index value, as
> > such:
>
> > for (i=0, i > {
> > $t("#event_" + i).dblclick(function () {eventDoubleClick(i)}); }
>
> > Basically all the above does is then setup so that all the
> > event dblclicks are calling eventDoubleClick(i) which uses
> > the last i value; instead of setting them up as
> > eventDoubleClick(1), eventDoubleClick(2),  eventDoubleClick(n)
>
> As is so often the case, what you want is a closure. Get that "i" variable
> to be a local variable in a function called inside the loop. Here is one way
> you could code it:
>
>for(i=0, i   (function( i ) {
>  $t( "#event_" + i ).dblclick( function () { eventDoubleClick(i);});
>
>   })( i );
>}
>
> If that seems too obscure, this does the same thing in a more spelled-out
> way:
>
>function addclick( i ) {
>   $t( "#event_" + i ).dblclick( function () { eventDoubleClick(i); });
>}
>
>for(i=0, i   addclick( i );
>}
>
> Either way, each time you call the function inside the loop, it creates a
> new closure that has its own copy of the "i" variable.
>
> -Mike



[jQuery] Help with dblclick

2007-08-03 Thread Terry B

I have a bunch of events and I loop through them.  I would like to
create a double-click effect so that I call function
"eventDoubleClick" but I want that event to pass its index value, as
such:

for (i=0, ihttp://www.userfriendly.org  :P  )


Thanks

~Terry



[jQuery] Re: What does === equate to?

2007-08-02 Thread Terry B

known about this for awhile but since we are on the topic...  there
has to be some over head of using == and !=  does anyone know for
sure the impact of the overhead...  and does it matter of the type


On Aug 2, 6:21 am, "Ian Struble" <[EMAIL PROTECTED]> wrote:
> !== and === are identity operators.  It is a good idea to use them
> instead of the equality operators (!= and ==) unless you know why you
> would want to use equality (and the possible type coercion) over
> identity.  Probably the biggest gotcha with equality is with falsy
> values (false, 0, undefined, ""/empty string, null and NaN).   The
> truthy / falsy issue is probably what bit you Rob.
>
> It may be worth reading a bit of Douglas Crockford's ideas about
> javascript if you are trying to figure out identity and equality
> operators:
>
>http://javascript.crockford.com/code.html
>
> And here is something about truthy and falsy:
>
>  http://developer.mozilla.org/en/docs/A_re-introduction_to_JavaScript#...
>
> Ian
>
> On 8/2/07, Rob Desbois <[EMAIL PROTECTED]> wrote:
>
> > I had a discussion on the use of the === and !== operators recently on this
> > list, my opinion was, and still is, that unless you explicitly WANT to allow
> > type conversion, you should be using these. Only use == and != if you really
> > want type conversion.
>
> > It's bitten me once, although I can't for the life of me remember how, but
> > it involved lots of in-depth debugging and head-scratching to find the
> > problem. I'm more wary now and think that these operators are the way to go.
>
> > --rob
>
> > On 8/2/07, Sam Collett <[EMAIL PROTECTED]> wrote:
>
> > > I don't think many actually use !== (and when you would want to use
> > > it) and many sites that show usage of operators don't cover !== (but
> > > do have ===).
>
> > > 3 != '3' false
> > > 3 !== '3'true
> > > 3 == '3' true
> > > 3 === '3'false
>
> > > On Aug 1, 9:33 pm, "Michael Geary" <[EMAIL PROTECTED]> wrote:
> > > > > I...cannot figure how what the heck === is.
>
> > > > I see that Jake answered your question, but just for next time...
>
> > > > You may have tried a Google search for "javascript ===" and been
> > > > disappointed to find it returned no useful results (because Google seems
> > to
> > > > ignore the === in the search).
>
> > > > The key thing to know is that ===, like most special symbols in
> > JavaScript
> > > > such as + and -, is an operator. Now you can do a more productive Google
> > > > search:
>
> > > >http://www.google.com/search?q=javascript+operators
>
> > > > This will help when you run into !== and wonder what the heck *that* one
> > is.
> > > > :-)
>
> > > > -Mike
>
> > --
> > Rob Desbois
> > Eml: [EMAIL PROTECTED]
> > Tel: 01452 760631
> > Mob: 07946 705987
> >  "There's a whale there's a whale there's a whale fish" he cried, and the
> > whale was in full view.
> > ...Then ooh welcome. Ahhh. Ooh mug welcome.



[jQuery] Re: Do you think jQuery's documentation is enought?

2007-08-02 Thread Terry B

I like http://www.visualjquery.com  for my jquery documentation...

yes there is lots of room for "improvements" but it's a working and
living project which is constantly changing and I think the project
managers are doing a great job to date...  and demos?  look at the
plugin pages for demos...  imho the core documentation should only be
techinical with little to no examples...  like the link above, they
give a two liner example with before and after expectations  that
is more then a programmer deserves and is just icing on the cake...

asking for demos of the core is like asking the creators for included
libraries in any language (like c, c++, etc) to provide demos of the
library functions when the coder only needs to know the name, input
parameters and the expected output...

~Terry



[jQuery] Re: Anyway to kill a bunch of queued up mouse events

2007-07-30 Thread Terry B

the logic should be something like:

var timeInSecs = 0.8;
var mouseEventCaller;

onHoverFunctionInit () {
clearTimeout(mouseEventCaller);
var timeout = Math.ceil(timeInSecs*1000);
mouseEventCaller = setTimeout("onHoverFunctionExec()", timeout);
}

onHoverFunctionExec() {
alert("You have hovered for" + timeInSecs + " seconds.");
}


When you run over your objects with the mouse they call
onHoverFunctionInit.  It 1) Clears any previous timer and then 2) sets
a timer to call the function you really want executed in X secs (.8th
of sec in example).

~Terry


On Jul 30, 9:07 am, "Dan G. Switzer, II" <[EMAIL PROTECTED]>
wrote:
> Mitchell,
>
> >Does anyone know if there is a way a way to kill any queued up mouse events
> >after the user does a mouse out?
>
> There currently isn't a native way to clear an event queue in jQuery.
>
> However, check out the hoverIntent() plug-in. The plug-in is designed to
> minimize the problem you're seeing by only firing the "hover" effect when
> the mouse is rested over the element for a given period of time.
>
> This means if you rapidly move in and out over the element, the
> hoverIntent() is never fired.
>
> I've found this plug-in works excellent.
>
> -Dan



[jQuery] Re: problem with $.ajax()

2007-07-25 Thread Terry B

I want to say that it is now 2 (maybe 3) ip addresses.  for sure, it
is the localhost (127.0.0.1) address and one other ip address can use
it.

~Terry

On Jul 18, 11:26 am, "Dan G. Switzer, II" <[EMAIL PROTECTED]>
wrote:

>
> The "Developers Edition" is a single IP license. Only 1 IP address can
> access the server and it's designed to allow developers to install and run
> CF on their computer for development purposes. The Developers Edition also
> runs like the Enterprise Edition, but only the first IP address that hits
> the server after start up is allowed access. You must restart the CFMX
> service in order to allow another IP access to the page.
>



[jQuery] Re: retrieving the width of an element??

2007-07-24 Thread Terry B

parseInt($t("#divID").css("width") ) should work

On Jul 24, 11:25 am, "Brandon Aaron" <[EMAIL PROTECTED]> wrote:
> Is this happening in all the browsers or just a specific browser?
>
> --
> Brandon Aaron
>
> On 7/24/07, GianCarlo Mingati <[EMAIL PROTECTED]> wrote:
>
>
>
> > .width() is not enough ;-)
> > I have a div with overflow: hidden and it's width is, suppose, 100px;
> > Inside i have a very long P
> > 
> > my v-e-r-y long text, repeated...my v-e-
> > r-y long text, repeated...100 times
> > 
>
> > the NOWRAP keep my text in ONE line. Riht?
> > If i ask:
> > $("div p").width()
> > jQuery returns 100!
>
> > 100 is the value of the visible area, i guess. What for the part i
> > don't see?
> > maybe the dimensions plugin may help? Tried but without success.
>
> > Is there any way to get the exact value, in PX of a NESTED element
> > even tho it's not FULLY visible?
>
> > Yes, still the newsticker
> > Thanks in advance.
> > GC



[jQuery] Re: draggable clone name

2007-07-20 Thread Terry B

I wish i could use Firefox in the environment  i am in...  but cant.

yes the 1st argument is the Cloned Element, but I wanted the Clone
name which I found is "dragHelper" and where I want to manipulate the
info as it is being dragged around.

also instead of using the 1st argument, you can use "this" to access
the cloned element.

Thanks

~Terry

On Jul 20, 1:55 pm, "Dan G. Switzer, II" <[EMAIL PROTECTED]>
wrote:
> Terry,
>
> >i am using onDrag to update some info within the dragged div which
> >works but what i really want is to update the info in the clones.  how
> >are the clones named, anyone know off-hand?
>
> The onStart event receives 2 arguments. The first is the element being
> dragged, the second is an array containing: [clonedEl, x, y]
>
> So, you should be able to use the onStart to alter the cloned element.
>
> One thing I'd recommend is using Firebug and always doing a:
>
> console.log(arguments);
>
> To any jQuery plug-in event handler. Well you might have to dig through the
> source code to find out what's being passed, it's often pretty easy to guess
> at what the arguments are.
>
> -Dan



[jQuery] Re: draggable clone name

2007-07-20 Thread Terry B

fyi, the name is "dragHelper"

On Jul 20, 11:11 am, Terry B <[EMAIL PROTECTED]> wrote:
> i am using onDrag to update some info within the dragged div which
> works but what i really want is to update the info in the clones.  how
> are the clones named, anyone know off-hand?
>
> ~Terry



[jQuery] Re: Solving the Back button problem

2007-07-20 Thread Terry B

or expire the page if you do not want them to ever use the back
button

On Jul 19, 10:23 pm, "Karl Rudd" <[EMAIL PROTECTED]> wrote:
> Perhaps try setting a cookie the first time the page is loaded. Then
> check each time the page is loaded for the cookie.
>
> Karl Rudd
>
> On 7/19/07, S. Robert James <[EMAIL PROTECTED]> wrote:
>
>
>
> > I just want a simple function to answer 'first time' or 'back button
> > reload'.  I don't want to replace the entire nav of the app.
>
> > On Jul 18, 11:01 pm, Kenneth <[EMAIL PROTECTED]> wrote:
> > > On 7/18/07, S. Robert James <[EMAIL PROTECTED]> wrote:
>
> > > > Solving the Back button problem
>
> > > > Is there a way to use JavaScript to detect whether a page is being
> > > > loaded for the first time (from the server), or because someone hit
> > > > the Back button?  Often you want to display a status message only one,
> > > > but not show it when they hit the Back button.
>
> > > The history/remote plugin could possibly handle that.
>
> > >http://www.stilbuero.de/jquery/history/
>
> > > Someone with more experience with the plugin could probably tell you.



[jQuery] name is...

2007-07-20 Thread Terry B

found i, fyi, the name is "dragHelper"



[jQuery] draggable clone name

2007-07-20 Thread Terry B

i am using onDrag to update some info within the dragged div which
works but what i really want is to update the info in the clones.  how
are the clones named, anyone know off-hand?

~Terry



[jQuery] Re: dev tip: combining JS script files

2007-07-16 Thread Terry B

This is a good page on optimzing javascript for speed...

http://betterexplained.com/articles/speed-up-your-javascript-load-time/




[jQuery] Re: append reformting the content i send it

2007-07-11 Thread Terry B

Ya I finally figured that part out.  Not liking it but I found a
smooth way of doing what I want.

Thanks for all the replies...

On Jul 11, 6:17 am, Stephan Beal <[EMAIL PROTECTED]> wrote:
> On Jul 10, 1:38 pm, Terry B <[EMAIL PROTECTED]> wrote:
>
> > wtf?  I have specific html i want added to a div so I use append to
> > add it.  fine it works but it is formatting the code and making it
> > unusable.  how do i prevent append from doing this?
>
> Aside from what others have already said here, i think you're
> misunderstanding how append() works:
>
> it internally creates a DOM tree from the HTML you pass it, then it
> uses that tree for future operations. It does that by using
> element.innerHTML, and then reads that tree (which the BROWSER
> creates), and then works with that tree. If it didn't do that, it
> would have to manually parse your HTML code, which is extremely
> difficult to do properly (since it cannot know what you pass it).
> Adding a "proper" HTML parser to jQuery would  inflate its size by
> several times, and it would have to attempt to be "bug-compatible"
> with common browsers (e.g., whether or not to require certain closing
> tags and whether or not to require quotes around attribute values).
>
> In the jq code you can browse the function called 'clean' to see how
> it creates your inner tree.



[jQuery] Re: append reformting the content i send it

2007-07-10 Thread Terry B

lets say i try and add

Some Info

it ends up being something like

Some Info




On Jul 10, 11:07 am, "Rob Desbois" <[EMAIL PROTECTED]> wrote:
> What is the content you are trying to add...?
>
> On 7/10/07, Terry B <[EMAIL PROTECTED]> wrote:
>
>
>
> > wtf?  I have specific html i want added to a div so I use append to
> > add it.  fine it works but it is formatting the code and making it
> > unusable.  how do i prevent append from doing this?
>
> --
> Rob Desbois
> Eml: [EMAIL PROTECTED]
> Tel: 01452 760631
> Mob: 07946 705987
> "There's a whale there's a whale there's a whale fish" he cried, and the
> whale was in full view.
> ...Then ooh welcome. Ahhh. Ooh mug welcome.



[jQuery] append reformting the content i send it

2007-07-10 Thread Terry B

wtf?  I have specific html i want added to a div so I use append to
add it.  fine it works but it is formatting the code and making it
unusable.  how do i prevent append from doing this?



[jQuery] Re: Navigation conversion

2007-07-08 Thread Terry B

I dont have an absolute solution as I havent played with this quite
yet but Interface plugin should help you here.  Recommend using JQuery
1.1.2 for it though.

Go here: http://interface.eyecon.ro/demos  and look at "Fisheye menu"
for example

this probably could be done without Interface by applying hover on/off
functions to set the widths.  But I think Interface will give you so
much more capability in the long run.

On Jul 8, 7:09 am, Allan Mullan <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm trying to convert a simple navigation to jQuery (from Mootools) but
> I'm not having the best of luck with it yet, the original is 
> here:http://www.chromasynthetic.com/blog/wp-content/uploads/2006/09/mootoo...
>
> So far I have this:http://www.skorpion.geek.nz/projects/nav2/index.html
>
> But as you can tell, it's not animating it as smoothly - Can anyone help
> with the animation for this?
>
> Thanks heaps in advance
> Allan



[jQuery] Re: jquery-1.1.3.1 with interface slider trouble

2007-07-08 Thread Terry B

You mean UI library or is that the same?

On Jul 7, 10:51 pm, "Benjamin Sterling"
<[EMAIL PROTECTED]> wrote:

> FYI, there will be a new FX library coming on line sometime in the near
> future, just not sure when.



[jQuery] Re: jquery-1.1.3.1 with interface slider trouble

2007-07-07 Thread Terry B

interface isnt supported under 1.1.3

On Jul 7, 10:22 pm, philguillard <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> When i try jquery-1.1.3.1.pack.js with interface slider last pack on
> IE6, i get a usual "Object doesn't support this property or method" on
> the "$('.sliderPrice').Slider(" line,
> even if i set no options. Works fine on ffx.
>
> $('.sliderPrice').Slider(
> {
> accept : '.indicator'}
>
> );  
>
> Anybody has any idea what i should try?
>
> Regards,
>
> Phil



[jQuery] Re: Main jQuery Site Problems

2007-07-06 Thread Terry B

also been under a huge load do to new release this week

On Jul 6, 8:47 am, "John Resig" <[EMAIL PROTECTED]> wrote:
> Fixed.
>
> On 7/6/07, Dave Probert <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > FAO: John, et al.
>
> > Main jQuery Site seems to have a problem on many pages - message at
> > the top claiming that "jQuery JavaScript Library has a problem" and
> > continues to load the main content over this (sometimes!)
>
> > Some of the tutorials, etc don't actually load.
>
> > Just a heads up :)
>
> > Cheers
> > Dave- Hide quoted text -
>
> - Show quoted text -



[jQuery] Re: how can I prohibit from users pasting content into text boxes?

2007-07-04 Thread Terry B

disable the text box

On Jul 4, 5:25 pm, PaulM <[EMAIL PROTECTED]> wrote:
> how can I prohibit from users pasting content into text boxes?



[jQuery] Re: Jquery presentation today

2007-07-02 Thread Terry B

yea, i wont switch over to 1.1.3 until interface is completely tested
with 1.1.3.  until then, its still "under test" for my projects...

btw, just to share briefly before i can figure actual numbers but
something that will be going into a brief for one of my clients...  we
(I) converted a flash app that took 1.5 yrs with two developers to
develop and still had issues and in a whole month using CF, Jquery and
Ajax i have a almost complete version that does more.  On the speed
side, load time for the flash app was about 30s just to initialize, up
to several minutes to render the display.  With Jquery, under 5s
initialization and about 30s max to render with max number of
objects.

On Jun 11, 5:43 pm, "Chris W. Parker" <[EMAIL PROTECTED]> wrote:
> On Monday, June 11, 2007 11:38 AM Shelane Enos <> said:
>
> > I'm giving a presentation today on jquery to our new development
> > group.  (my boss is now in charge of this group, previously under
> > someone else here)  is there any update on when 1.1.3 might be
> > released?  How close are we?  Just was hoping I could say something
> > about it.  :-)
>
> Say this, "jQuery 1.1.3 is currently being tested and will be available
> sometime in the future."
>
> How's that? :P



[jQuery] Re: 1.1.3 and Interface

2007-07-02 Thread Terry B

I hope so too...  I do have one issue so far with draggables not
working like 1.1.2

On Jul 2, 2:08 pm, "Jeffrey Kretz" <[EMAIL PROTECTED]> wrote:
> I am thrilled to see the 1.1.3 release.
>
> One question, my main project makes heavy use of Interface.  Is this project
> still being developed?  Can we expect any updates to it?  Or changes that
> take advantage of the 1.1.3 event/animation improvements?
>
> JK



[jQuery] Bug:

2007-07-02 Thread Terry B

Should I submit bug report or did I miss some change I need to
implement on below issue?

In 1.1.2 using

$t("#event_" + EventArray[i].ID).Draggable({
axis:   'horizontally',
ghosting:   true,
opacity:0.5,
fx: 300,
grid:   [daySize,0]
});

I get my bars to drag and when you lift off the mouse button the slide
right into place where the ghost bar is

But in 1.1.3 I get the ghost bar moving like I want but the actually
bar does not slide into place...

anyone have a quick fix or do i need to submit bug?



[jQuery] Re: Difference between element and # access

2007-06-27 Thread Terry B

sry man, i wasnt meaning to get on ya...  i wanted to just to point it
out cause some ppl really dont know and i would luv to see the
developers actually enforce it and not make it easy to be lazy  :D

so, again sorry...


On Jun 27, 4:12 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> Yes, of course, Terry. I didn't mean to suggest that having multiple  
> IDs is a good idea.



[jQuery] Re: Difference between element and # access

2007-06-27 Thread Terry B

The whole point of having an ID is to have a unique id.  You should
not be assigning the same ID name to multiple objects.  Use classes if
you want to handle multiple objects.

http://www.w3.org/TR/1999/REC-html401-19991224/struct/global.html#adef-id

id = name [CS]
This attribute assigns a name to an element. This name must be unique
in a document.

class = cdata-list [CS]
This attribute assigns a class name or set of class names to an
element. Any number of elements may be assigned the same class name or
names. Multiple class names must be separated by white space
characters.


On Jun 27, 2:25 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> On Jun 27, 2007, at 2:02 PM, Ganeshji Marwaha wrote:
>
> > the second one [ $t("#TimelineContainer") ] will select any element  
> > with an id of "TimelineContainer"
>
> Quick clarification. This will only select the first one it finds in  
> the DOM. To find any element with an id of "TimelineContainer," we'd  
> have to use the much slower $('[EMAIL PROTECTED]')
>
> --Karl
> _
> Karl Swedbergwww.englishrules.comwww.learningjquery.com



[jQuery] Re: Difference between element and # access

2007-06-27 Thread Terry B

yea already been testing the methods and going from div.[name] to
#[name] took my script from 70s to 16s.   i also tested using the
document.getElementById('[name]') and there was no difference between
that and using #.

no more div.[name] for me

On Jun 27, 1:57 pm, "Diego A." <[EMAIL PROTECTED]> wrote:
> I'm not sure, but I'm guessing there will be some sort of performance
> difference. I'm guessing '#id' is faster than 'div#id' if '#id' just
> uses getElementById, whereas 'div#id' might finds all divs then filter
> by id.
>
> On Jun 27, 5:46 pm, Terry B <[EMAIL PROTECTED]> wrote:
>
>
>
> > what is the difference between
> > $t("div.TimelineContainer")
> > and
> > $t("#TimelineContainer")
>
> > within JQuery?  is the first using byid and the other by tagname?- Hide 
> > quoted text -
>
> - Show quoted text -



[jQuery] Re: Load into tbody, errors IE6

2007-06-27 Thread Terry B

i dont have any problems with mine in IE6


var ID = function(query) { return query.ID };
var FIELD = function(query) { return query.FIELD };

function NewQueryResult(result)
{

DWRUtil.removeAllRows("testBody");
DWRUtil.addRows("testBody", resultarray, [ ID , FIELD ])

}

~Terry


On Jun 27, 12:27 pm, JoshN <[EMAIL PROTECTED]> wrote:
> OK, after some Googling I found out that in IE6, innerHTML within a
> table is read-only.  Since the jQuery load method uses innerHTML, you
> can't load a  into a table.  Crap.
>
> On Jun 26, 6:01 pm, "Josh Nathanson" <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hey all,
>
> > I have a script that does an ajax load into a tbody jQuery object, like so:
>
> > $tbl = $("#" + asp + "_tbody"); // dynamically finds tbody
> > $tbl.load("prodsched/dom_dpdcolorrow.html",
> >  {},
> >  addrow
> >  ); // load html content (tr's) into tbody
>
> > The html file consists of a table row  with some junk in it.
>
> > It works great on Firefox but gives the error "unknown runtime error" in
> > IE6.  Is this an issue with IE6 not being able to innerHTML a tbody or
> > something?  If so is there a workaround?  Thanks for any help.
>
> > -- Josh- Hide quoted text -
>
> - Show quoted text -



[jQuery] Difference between element and # access

2007-06-27 Thread Terry B


what is the difference between
$t("div.TimelineContainer")
and
$t("#TimelineContainer")

within JQuery?  is the first using byid and the other by tagname?



[jQuery] Re: Interface - Resizable by x pixels

2007-06-27 Thread Terry B

bump




[jQuery] Interface - Resizable by x pixels

2007-06-26 Thread Terry B

Ok, i didnt see it in the docs, but I want to set the movement to be
in blocks of x pixels.  similiar to dragables grid movement.   can
this be done with the current plugin or will I just have to settle to
use the onstop function and snap it to the correct pixel?

ie from my code here:
w: "#event_" + gEventQ[i].ID +"_dragStart",
e: "#event_" + gEventQ[i].ID +"_dragEnd"

something like:
w: "#event_" + gEventQ[i].ID +"_dragStart" 10px,
e: "#event_" + gEventQ[i].ID +"_dragEnd" 10px

or other options like moveRightBy, moveLeftBy, etc.

~Terry



[jQuery] Re: Noob here, please help

2007-06-11 Thread Terry B

But (to my knowledge) I am using the same stylesheets as the
example...  yes?  no?

I thought I pretty much stripped it down to the bare minimum and the
style settings.

On Jun 11, 4:44 pm, "Benjamin Sterling"
<[EMAIL PROTECTED]> wrote:
> Terry,
> It is a styling issue, the LI have a float on them and the DIV does not.
> (this is only happening in IE)
>
> Ben
>
> On 6/11/07, Terry B <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
>
> > Ok, so here is the page:
> >http://www.tcbader.com/conf/
>
> > Why us my content to the right and not below the tabs like the example
> > page here:
> >http://www.tcbader.com/conf/%5Fjs/jquery%2Dtabs/
>
> > What am I missing?
>
> > Hope this makes it to the list...
>
> --
> Benjamin Sterlinghttp://www.KenzoMedia.comhttp://www.KenzoHosting.com- Hide 
> quoted text -
>
> - Show quoted text -



[jQuery] Noob here, please help

2007-06-11 Thread Terry B

Ok, so here is the page:
http://www.tcbader.com/conf/

Why us my content to the right and not below the tabs like the example
page here:
http://www.tcbader.com/conf/%5Fjs/jquery%2Dtabs/

What am I missing?



Hope this makes it to the list...