I wanted to iterate through a DOM cloning a piece of it over and over (for a
series of articles for example), using clone I accomplished this in the
following way:
var articleClone = $('#articleTemplate').clone().get(0);
$(articleClone).removeAttr('id');
var articleCloneHolder =
That's great. How do you use these though? Replace the CodeHints.xml and
CodeColoring.xml?
Adam
bmsterling wrote:
Hey all,
Attached are the updated files for the dreamweaver codehinting and
codecoloring. Hope you find these useful.
Sorry, going through all the posts after the holidays and found the
instructions in the original thread.
Thanks a lot, will be a great help.
Adam
agent2026 wrote:
That's great. How do you use these though? Replace the CodeHints.xml and
CodeColoring.xml?
Adam
--
View this
This looks really cool!
I wonder if anyone has something like this which temporarily ghosts specific
elements for a period of time at all, instead of entire pages?
Cheers,
Dan Atkinson
AHeimlich wrote:
http://www.malsup.com/jquery/block/ might interest you.
Happy New Year!
--Aaron
function addScript( url ) {
var script = document.createElement( 'script' );
script.type = 'text/javascript';
script.charset = 'utf-8';
script.src = url;
document.getElementsByTagName('head')[0].appendChild( script );
};
You would use it by doing something
I did try Firebug but everything checked out. I also pulled all other scripts
off the page aside from that specific code and it still wasn't working. So I
then decided to rebuild that section of code, and as long as the return
false; was in there, it started working.
The only thing I can figure
I can't remember who (sorry), but someone created a simple disable UI
plug-in. It allows for a message like (please wait). You should be able
to search the archives for it. It wasn't but a week or so ago that the
thread was posted.
Cheers,
Chris
Dan Atkinson wrote:
This looks really cool!
Glad you got it working!
Cheers,
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Jan 2, 2007, at 9:01 AM, smoore wrote:
I did try Firebug but everything checked out. I also pulled all
other scripts
off the page aside from that specific code and it
hi guys,
I'm trying to find the mouse coordinate whenever I right click but it I just
can't get passed this point. Here is my code:
begin: function(){
var selectors = $([EMAIL PROTECTED]);
$.each(selectors, function(i) {
I use event not window.event and works fine.
--
View this message in context:
http://www.nabble.com/find-mouse-cooridate--tf2908997.html#a8127498
Sent from the JQuery mailing list archive at Nabble.com.
___
jQuery mailing list
discuss@jquery.com
I think pageX would be the appropriate method, not clientX. Are you looking
for the mouse position relative to the page or relative to the element in
question?
-- Yehuda
On 1/2/07, xmrcivicboix [EMAIL PROTECTED] wrote:
hi guys,
I'm trying to find the mouse coordinate whenever I right click
Yep. The first response to the thread linked to it:
http://www.malsup.com/jquery/block/
It occurs to me that it would be cool if you could constrain the UI blocking
to a specific element. Mike?
-- Yehuda
On 1/2/07, Christopher Jordan [EMAIL PROTECTED] wrote:
I can't remember who (sorry),
There's a browser issue here. IE supports window.event, while FF requires
event. jQuery works around this by accepting an e parameter to event
handlers, which will always return the event object.
begin: function(){
var selectors = $([EMAIL PROTECTED]);
Wow this forum rocks! such great help! Glad I made a switch from mootools!
Thanks again guys it worked!
wycats wrote:
I think pageX would be the appropriate method, not clientX. Are you
looking
for the mouse position relative to the page or relative to the element in
question?
--
Hi,
JQuery code has good API documentation in its source code files, and the
code repository contains a build script to extract that documentation
(and convert it to XML).
I'm fiddling with a version of that script that generates a PDF of the
documentation (using a free Java PDF library
Dotan Dimet schrieb:
Anyone willing to add this?
The problem is the format. How do you document the quite complex
expressions?
The API docs so far are all based around methods, each with a name,
paramters, return types, description and examples.
Any ideas how to effectively document the
you could theoretically document each expression like a property. We might
need to tweak our XSLs, but I think it could work.
On 1/2/07, Jörn Zaefferer [EMAIL PROTECTED] wrote:
Dotan Dimet schrieb:
Anyone willing to add this?
The problem is the format. How do you document the quite complex
Hi folks,
I've got a page with a table and various tds that look something like this:
td
id= SomeUniqueID
class = someClass
originalColor = someColor
state = Enabled
status= off
preferred = Yes
dateValue = someDateValue
/td
In
I know this is not jQuery related but does anyone know how to close those
browers?
this only works on IE's
”javascript:window.open(”,’_parent’,”);window.close();” Close this window
--
View this message in context:
Thanks Karl. That's XPath notation, right? I've got to pick some of that
up. I know next to nothing about it. There seems to be a problem with
the example I gave in my original post, so I'm going to give your
solution a shot. I'll let you know how it goes. Thanks!
Cheers,
Chris
Karl
The attribute selection is XPath style, which is part of jQuery's
'supported, but different' CSS selectors:
http://jquery.com/docs/Base/Expression/CSS/#Supportedbutdifferent
-- Felix Geisendörfer aka the_undefined
--
http://www.thinkingphp.org
http://www.fg-webdesign.de
Yeah I knew it was the attribute selection that was XPath. Thanks for
the link, too! :o)
BTW, Karl. Your solution worked great!
Cheers,
Chris
Felix Geisendörfer wrote:
The attribute selection is XPath style, which is part of jQuery's
'supported, but different' CSS selectors:
glad I could help. :)
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Jan 2, 2007, at 4:14 PM, Christopher Jordan wrote:
Yeah I knew it was the attribute selection that was XPath. Thanks
for the link, too! :o)
BTW, Karl. Your solution worked great!
Is there any way to stop an animation or fade? How to stop
$('#div').fadeTo(500,0) on click or something?
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Do you mean pause? If so you can pause an execution by using:
setTimeout(function() {
$(#div).fadeTo('slow',0.0);
}, 5000 );
_
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of spinnach
Sent: Tuesday, January 02, 2007 1:52 PM
To: jQuery Discussion.
Subject:
no, i mean stopping an animation that's already started..
Michael E. Carluen wrote:
Do you mean pause? If so you can pause an execution by using:
setTimeout(function() {
$(#div).fadeTo('slow',0.0);
}, 5000 );
On 28/12/06, Vincent Majer [EMAIL PROTECTED] wrote:
Hi,
I'm working on the plugin for jquery :
http://olbertz.de/jquery/googlemap.html
it's really great with firefox.. but it doesn't work in IE...
I've made some tests and it seems that the problem comes from this
foreach :
Hi guys, I wanted to know if it's possible to disable contextmenu from a
given element: span for instance. IE7 doesn't seem to like it very well?
begin: function(){
var selectors = $([EMAIL PROTECTED]);
$.each(selectors, function(i) {
There is no forEach in IE. Either do a regular loop or use $.each.
-- Yehuda
On 12/28/06, Vincent Majer [EMAIL PROTECTED] wrote:
Hi,
I'm working on the plugin for jquery :
http://olbertz.de/jquery/googlemap.html
it's really great with firefox.. but it doesn't work in IE...
I've made some
Just so you know, CSS supports [x=y] notation, but jQuery uses [EMAIL
PROTECTED] so we
can use plain [] for contains
-- Yehuda
On 1/2/07, Christopher Jordan [EMAIL PROTECTED] wrote:
Yeah I knew it was the attribute selection that was XPath. Thanks for the
link, too! :o)
BTW, Karl. Your
Not currently. What syntax would you think would be appropriate?
-- Yehuda
On 1/2/07, spinnach [EMAIL PROTECTED] wrote:
no, i mean stopping an animation that's already started..
Michael E. Carluen wrote:
Do you mean pause? If so you can pause an execution by using:
Something like $(element).animateStop() to stop all animations currently
running on that element or $(element).animateStop('height') to stop only
height animation, or something similar..
Yehuda Katz wrote:
Not currently. What syntax would you think would be appropriate?
-- Yehuda
On 1/2/07,
Please feel free to add some feedback to this bug report:
http://jquery.com/dev/bugs/bug/203/
--
Brandon Aaron
On 1/2/07, spinnach [EMAIL PROTECTED] wrote:
Something like $(element).animateStop() to stop all animations currently
running on that element or $(element).animateStop('height')
to
Hey folks,
I've just been struggling with this and thought there is probably an
easy answer to it that's unknown to me:
*So the Question is: *I got an anchor element that has an onClick event
attached to it (using jQuery) and I need to register a second event that
is going to be called
Not only because I can't find an appropriate subject line, but also
because I can't find the issue with the following code (it's not jQuery
related - I beg for mercy):
--
var myThoughts =
{
color: 'Blue'
, name: 'Felix'
, food: 'Lasagna'
}
var myMemory
Felix Geisendörfer schrieb:
Hey folks,
I've just been struggling with this and thought there is probably an
easy answer to it that's unknown to me:
*So the Question is: *I got an anchor element that has an onClick
event attached to it (using jQuery) and I need to register a second
event
Take a look at jquery.event (now found in event/event.js). I guess it
wouldn't be too hard to get the events from the elements and put your
handler in front of them (in the same list/array). If that works, you
could wrap it then as bindFirst() or something similar.
Yeah I was already
It occurs to me that it would be cool if you could constrain the UI blocking
to a specific element. Mike?
I'll look into it, but it may add a dependency on the dimensions plugin.
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
I have some data in an js associative array:
texts = new Array;
texts.webmail = Go directly to Web e-mail. The easy way to read and write
e-mail when you are away from home.;
texts.dsl =Complete information on the DSL service.;
texts.members = Member information and downloads.
My document has
no luck. IE7 says this object does not support this method or property.
wycats wrote:
Try $([EMAIL PROTECTED]).contextmenu(function() { return false; });
-- Yehuda
On 1/2/07, xmrcivicboix [EMAIL PROTECTED] wrote:
Hi guys, I wanted to know if it's possible to disable contextmenu from
no luck. IE7 says this object does not support this method or property.
I think he meant:
$([EMAIL PROTECTED]).bind(contextmenu, function() { return false; });
There's no contextmenu event method, which is what causes the error
that you saw.
--John
Eh. Good point. You should probably be using .bind anyway, even for stuff
like click, to keep your apps future-proof.
-- Yehuda
On 1/2/07, John Resig [EMAIL PROTECTED] wrote:
no luck. IE7 says this object does not support this method or property.
I think he meant:
$([EMAIL
I found a solution:
document.oncontextmenu = function(){return false;};
so when i right click it disable the contextmenu on the body:
then when i bind click event i do:
document.oncontextmenu = function(){return true;};
so when one is on the other is off. Works pretty well with IE's.
wycats
I copy-and-pasted your code into firebug and it worked perfectly. Not
sure what's causing your issue - what version of Firefox and Firebug
are you running?
--John
On 1/2/07, Felix Geisendörfer [EMAIL PROTECTED] wrote:
Not only because I can't find an appropriate subject line, but also because
John, I am using firebug 0.4.1 and I am getting the same response as felix.
Felix, I think you broke my brain now... Thanks... now I need a nap.
Sorry I could not be of help, I've never been good with arrays/objects.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Hrmm.. Works fine for me too. I get the expected results in FF2/FB1.0b8
On 1/2/07, John Resig [EMAIL PROTECTED] wrote:
I copy-and-pasted your code into firebug and it worked perfectly. Not
sure what's causing your issue - what version of Firefox and Firebug
are you running?
--John
On 1/2/07,
I'm using Firebug 1.0b and Firefox 2.0, no problem here. Weird.
--John
On 1/2/07, Benjamin Sterling [EMAIL PROTECTED] wrote:
John, I am using firebug 0.4.1 and I am getting the same response as felix.
Felix, I think you broke my brain now... Thanks... now I need a nap.
Sorry I could not be
im having trouble sorting out why my clones are attaching multiple events in
IE and not firefox. they are only supposed to attach their contextualized
event (thus the each loop) but in IE they all get attached and fire off one
after another.
the code:
$('rowNode', xml.responseXML).each(
Thank you, Alex, that works brilliantly..
And the explanation is understandable, to me:-)
Now I have another question: how to I get the original text back into the
div id=boxtext
Boxtext.
/div
after I unhover from the particular link?
Birgit
UNTESTED, but something like this should work...
just a word of warning, blockUI causes 100% cpu-load on
firefox2/linux (jumpy mouse cursor and all) and it takes
about 10 seconds for the please wait-overlay to appear
while the desktop is basically frozen.
can anyone reproduce that? (i just clicked on some of
the test-buttons, happens every
here is an updated example with me being less stupid about how to use the
dollar sign function
$('rowNode', xml.responseXML).each( function(i){
var clone = $(cloneTemplate).clone();
$('#target').append(clone);
Mike,
It almost certainly would require dimensions.js. That said, I wouldn't mind.
I suspect that dimensions.js will become a pretty universally used plugin in
the near future. It adds some nice cross-browser stuff that's really
frequently used, and it's pretty small.
At this point, I would say
just a word of warning, blockUI causes 100% cpu-load on
firefox2/linux (jumpy mouse cursor and all) and it takes
about 10 seconds for the please wait-overlay to appear
while the desktop is basically frozen.
can anyone reproduce that? (i just clicked on some of
the test-buttons, happens
can anyone reproduce that? (i just clicked on some of
the test-buttons, happens every time).
Moe,
How does your cpu do just navigating to the wait page:
http://www.malsup.com/jquery/block/wait.php
___
jQuery mailing list
discuss@jquery.com
On Tue, Jan 02, 2007 at 11:05:28PM -0500, Mike Alsup wrote:
can anyone reproduce that? (i just clicked on some of
the test-buttons, happens every time).
Moe,
How does your cpu do just navigating to the wait page:
http://www.malsup.com/jquery/block/wait.php
just normal, no spike.
On Tue, Jan 02, 2007 at 10:20:04PM -0500, Mike Alsup wrote:
just a word of warning, blockUI causes 100% cpu-load on
firefox2/linux (jumpy mouse cursor and all) and it takes
about 10 seconds for the please wait-overlay to appear
while the desktop is basically frozen.
can anyone reproduce
Happy New Year to all,
I am learning/ rather, trying to learn all this. If I keep reading these posts
eventually it will start to make sense.maybe?
osmosis?
lol, Anyways, as a lurker who is very interested and learning, all this is very
helpful.
Now back to my corner
Bruce Prochnau
57 matches
Mail list logo