Try wrapping strHTML in one single wrapper DIV before you insert it into the
DOM. I'll bet it will go a lot faster:
$('div.displayer').html( '' + strHTML + '' );
How's the timing on the for loop? Any browsers where it takes any
significant time? You may speed it up in some browsers by using
I have made some progress, but now I get this zoom in effect every
time I try to pan.
jQuery.fx.step.pan = function(fx)
{
if(fx.state == 0)
{
fx.end = fx.options.curAnim.pan
fx.start =
fx.elem.attributes.getNamedItem('viewBox').nodeValue.split(' ')
Hey, guys. I'd just like to let you know that I solved the problem and
it's working perfectly now! The previous version had two bugs. The
values in fx.start were strings and not numbers, so they are now
converted with parseFloat. The other problem was that I forgot to add
in the starting values wh
On Thu, 10 Jul 2008 15:37:58 -0700 (PDT), balupton wrote:
> Did you get this working? If not could you repost it here:
> http://plugins.jquery.com/project/issues/jquerylightbox_bal
> along with a sample url so I can look at it and see what is going
> wrong.
Just a note, your demo page:
http://w
Each .append() expects a complete (and best if valid) element. So where
you've got .append("") near the beginning of your chain, and
.append("") near the end, you need .append("") just near the beginning.
Each append on the chain will append a complete element, so if you need to
append multiple ne
I am the amazing jQuery SVG plugin with the animation extension for a
browser-based game.
When the character walks around, the camera follows him. Right now I
just pan the in huge chunks with this code:
svg.configure({viewBox: x+' '+y+' '+width+' '+height})
So I need to make a custom animat
Has anybody done something like the vertical navigation bar to be seen
on
http://www.sitepoint.com/article/css-animation-technique ?
You elegantly widen the middle column by pushing back the left side
column.
Great effect. Any suggestions? Thanks!
since the image is loaded dynamicly,you should use the jquery.listen plugin.
It will allow you to 'listen' for the element and attach a click event to
the newly created image.
$('#mydiv').listen( 'click', 'img.myimgclass', function(){
//My code to run
});
On Thu, Jul 10, 2008 at
Did you get this working? If not could you repost it here:
http://plugins.jquery.com/project/issues/jquerylightbox_bal
along with a sample url so I can look at it and see what is going
wrong.
On Jun 12, 4:47 am, Matt <[EMAIL PROTECTED]> wrote:
> Hi guys,
> I'm trying to add lightbox to my page, a
Any idea why the following chain does not work in IE6, but works in
Firefox:
$new.append("").children().attr("class",
"folder").append("").children().load("?leaf_type=" +
leaf_type, function () {
$(this).parent().find("#addtreeform").ajaxForm(add_options);
}).append("").append("").append("");
Hi Joe,
I do appreciate your concern. However, when JS is not available in
IE6, there is no way that a menu like this can be made to work as it
does for modern browsers - at least not while using clean, semantic
and valid mark-up. Therefore, if your accessibility needs require you
to cater for th
This works for me:
var validator = $("#myform").validate();
$(".cancel").click(function() {
validator.resetForm();
validator.submitted = {};
});
I just commited a patch that resets submitted when calling resetForm,
so this will work, too, once you update:
var validator = $("#myf
Safari 2 has some serious problems with it's Javascript interpreter. Any
page that has a heavy amount of Javascript will fail. I know the jQuery team
has to run the jQuery unit tests on Safari 2 in chunks, otherwise Safari 2
blows up. There's several posts about this in the archives.
-Dan
>-
Thanks a lot! You've been really helpful! I think the biggest plus
about the jquery code is that it works with firefox and IE, which is
nice.
Anyways, thanks so much for the help, you're awesome.
On Jul 10, 4:20 pm, "Michael Geary" <[EMAIL PROTECTED]> wrote:
> First, let's indent the code so i
Most (all?) of the sample code in the examples at
http://docs.jquery.com/Plugins/Validation
also have references to the jquery.delegate.js library.
On Jul 2, 3:50 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]>
wrote:
> Ah, thanks for the pointer. I'll update that.
>
> Jörn
>
> On Wed, Jul 2, 2008 at 1
You may also like to hear that there is the CSS position fixed property,
which does what you want, even though there are some problems with it and
IE6-. Check out position fixed at
http://www.quirksmode.org/css/position.html
Also, you may be able to use fixed positioning in IE6, see
http://home.ta
This can be done with CSS alone, in everything but IE 6. postion:fixed
is your friend. There are a few workarounds for IE 6, though, using
JavaScript, or IE's proprietary "behaviours" (which use JavaScript,
but are linked through stylesheets) or expressions, which are
basically JavaScript in CSS.
I'm not sure if I'm understanding clearly, but are you trying to
access object parameters in your callback? If so, you would access
them like:
$.post('spit.php', complexJSON , function(txt){
console.log(txt.title);
console.log(txt.playlist.url);
}
And out would come:
abcd
url
(with no l
Running into an issue with IE and the Cycle Plugin where the items
that I have cycling are showing up over the dropdown menus I am using.
Example:
http://visitgrandrapids.org/visit.php
hover over "GR Links" and see how the menu shows under the news
sentence, and under the "hot happenings" items.
Hi folks,
I'm new to Javascript and jQuery. I've just tried the Ui.tabs and it work
fine, however I would like to add a new tab by clicking on individual items
in a list but can't figure out how to do it.
I have tabs in a
$('.listitem').click(function() { // bind click event to link
Hi everybody,
I was wondering how I can modify Thickbox plugin so that the images do
not show up over the gallery (thumb - images) but under the gallery. I
call it an underlay.
Thank you very much,
Gabriel
You are absolutely right when you say about relevant experience. My
aim is actually to go into research oriented setting at some point. I
have been readin about opinions of people over status of a formal
degree in CS or CE. My impression so far had been that they really are
not counted much compar
posting all code would be crazy but here is relevant snippets.
First the loop I use to iterate ofer an array and write some stuff
into a bunch of DIV elements.
I then want that tho show up someplace on my page. iframe and
document.write displays 500 items basically instantly.
the html() to div ele
Joel,
Love the plugin, but it unfortunately isn't terrible accessible,
particularly the non-Javascript enabled IE6 user. At work, we have to
make our sites accessible to even this unfortunate user and have found
it to be very difficult and nearly impossible to replicate the true
Sucker/Superfish
Hi Vik,
This is somewhat of a tough question to answer. I think the most important
factor in this is rather than "programming experience" it should be
"relevant experience". Having been professionally in the IT field for over
10 years, I've focused my skill set to the web development realm and mor
agileteks ha scritto:
Hi forum,
Does anyone has jQuery code example of how to keep a message floating
on top of a screen and it is staying on that position even though when
we scroll the screen?
I am pretty new to jQuery. If anyone could explain to me how to do
that, i very appreciate it. Than
Hi forum,
Does anyone has jQuery code example of how to keep a message floating
on top of a screen and it is staying on that position even though when
we scroll the screen?
I am pretty new to jQuery. If anyone could explain to me how to do
that, i very appreciate it. Thank you,
the follow notice the changes in bold
**
jQuery(document).ready(function(){jQuery.getFeed({
url: 'http://blog.novaconnection.com/syndication.axd',
success: function(feed) {
alert(feed.title);
First, let's indent the code so it's easier to follow:
$(document).ready(function(){
if(document.body.offsetWidth > 1024 ) {
$("#wrapper").css(function() {
$(this).animate({width: "1024px"}, 1000);
});
}
});
Now, where you went wron
Your original post doesn't mention what your code looks like. Were you
calling .append() on each row individually?
Instead, build up a single string and call .html() once to load the string
into a container element. That should be just about as fast as
document.write, if you build the string effi
I searched the group for this and came across my own old post (http://
groups.google.com/group/jquery-en/msg/18d7fa95c5f01d2d)
I've noticed that when displaying a large number of elements into a
page, it takes a bit of time to render.
but in order to use document.write, I would have to write to
You have two options:
liveQuery http://brandonaaron.net/docs/livequery/ to automatically
bind functions
or
Manually do it using something like:
var myFunction = function(e) {
$('#objects').append('').find(".add_letter_code_object").click(myFunction);
};
$(function(){
$(".add_letter_code_
I want an id on a page I'm developing to get bigger if a certain
condition is met, however, I can't get the code to work... can anybody
fix this up for me?
$(document).ready(function(){
if(document.body.offsetWidth > 1024 ){
$("#wrapper").css(function()
{
$(this).animate
({width: "1024px"}, 1000)
Has anyone successfully got jQuery to pull in xml in IE6?
On Jul 7, 5:17 pm, switch13 <[EMAIL PROTECTED]> wrote:
> I have this example working great in FF but I can't get it to work in
> IE6. I've tried the XML with cdata tags and without. Can anyone see my
> issue?
>
>
> HTML:
> ***
This is my code:
$(document).ready(function() {
$('.add_letter_code_object').click(function(event) {
$('#objects').append('')
});
});
What im trying to do is when you click the + button it appends a new
object which also has a + button to add more, the problem I'm
Let's say I want to replace all instances on a page of "golf" with
"football" (just plain text). How would I do this with jQuery?
Hi Johnee,
Here's one approach (untested):
var $e = $('.equipment');
$.each(['1', '2', '5', 'x'], function(i, k) {
$e.find('a.i-right' + k)
.filter(function(i) {
return ( i > 0 && i < 9 );
})
.hide()
.end();
});
Cheers,
-Jonathan
On Wed, Jul
Unfortunately, I too have had a number of problems related to Safari 2, in
building a CMS system. I was able to get the public part of the site to
work, but the CMS administration (HTML Editor, etc) had many many problems,
despite everything working well in FF, Opera, IE6 and IE7.
Eventually, my
Hi
I am trying to find some one to be my mentor and teach me programming
as I work. I am a novice and dont have a formal education in
programming but I do have some skills. I am actively reading these
days but that leaves a void in learning. I am in new orleans right
now. I am not sure how much t
I've been working on a site that is really heavy with jquery stuff,
but have found it almost impossible to get even pretty basic stuff
working in safari 2 on a Mac.
The development site is at: http://dev2.drfoster.co.uk/
the scripts I've written are at:
http://dev2.drfoster.co.uk/script/hg-func
hi guys!
What I have is:
-Thickbox login page (login.php) fires correctly when I click on
"Login" in my page
- after clicking "login", the thickbox is gone
But still, I'm not logged in. There's something with submitting the
info.
If i simply fill out directly my login.php, it logs me in.
Any id
I've several pages working fine using ajax (load) from an old JQuery
Version (May 12 2006).
Now I try to upgrade to use version 1.2.6
but the ajax functions doesn't work.
please anybody knows some about ajax(Load) changes?
Thanks in advance.
Hi, I am having trouble using $.post with complex JSON structures.
Specifically, when I post an object that contains an object or array
as a value, the nested object posts as the string "[object+object]" .
Sample code:
sampleJSON = {};
sampleJSON = { "a" : "b", "c" : {"d": "e", "f":"g"}, "h": "i"
Hi, I am having trouble using $.post with complex JSON structures.
Specifically, when I post an object that contains an object or array
as a value, the nested object posts as the string "[object+object]" .
Sample code:
sampleJSON = {};
sampleJSON = { "a" : "b", "c" : {"d": "e", "f":"g"}, "h": "i"
Whoops, I forgot to add [0] after the elements ;). But yours works, I
would assume.
On Jul 10, 11:36 am, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> I don't think that is going to work as is, since scrollTop and
> scrollHeight are DOM properties.
>
> You could try it this way instead:
>
> $('ele
P.S. Re: the question I just raised (quoted below)
The problem I just mentioned occurs only in a non-maximized IE,
and only after one has scrolled to the bottom. And, as I said, the
problem
is IE only.
This should be a good puzzle for javascript people.
On Jul 10, 9:50 am, lorlarz <[EMAIL PR
Ok... thanks
Where's SVN trunk url?
On 10 jul, 10:22, Scott González <[EMAIL PROTECTED]> wrote:
> This has been fixed in SVN already. You can get the current SVN
> version or wait for the 1.4 release.
>
> On Jul 9, 11:21 pm, Alexsandro_xpt <[EMAIL PROTECTED]> wrote:
>
> > Hello All
>
> > In
Okay, so the drop shadows are not applied in IE6 or 7 - will continue
to ponder workarounds there. Other than that, just a general clean-up
and further optimisations of the code.
Check out them drop shadows... are they not perdy? If you think "not"
then you can disable them completely via the opt
I don't think that is going to work as is, since scrollTop and
scrollHeight are DOM properties.
You could try it this way instead:
$('element').scroll(function() {
if (this.scrollTop + $(this).height() == this.scrollHeight) {
// console.log('finished');
}
});
--Karl
__
> I have been using blockUI with ajaxForm for quite a while and I
> normally use the block() function from within the beforeSubmit
> callback and it works really well.
>
> I now want to extend this a little by producing a quick blockUI
> confirm message which if yes is clicked will return true and
Try something like:
function test(){
var ghh = document.createElement("iframe");
ghh.style.display = "none";
var frms = document.frames || window.frames;
var len0 = frms.length;
Forgot to add the couple sites, I did find as gallery sites:
http://www.scale-style.be
Mancub.net LavaLamp Examples: http://mancub.net/tutorials/lavalamp-examples
On Jul 10, 10:56 am, "Ty (tzmedia)" <[EMAIL PROTECTED]> wrote:
> Hi All,
> Hey I've always liked the lavalamp menus, currently there
Hi All,
Hey I've always liked the lavalamp menus, currently there are two
plugin versions:
http://plugins.jquery.com/project/LavaLamp
Demos:
http://www.gmarwaha.com/blog/?p=7
An expansion labeled as v.2 of LavaLamp
http://plugins.jquery.com/project/lavalamp2
Demo's are here:
http://nixboxdesig
You are spamming in a non-retail group. Please stop.
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of www.bestplanetsneakers.com
Sent: Thursday, July 10, 2008 7:57 AM
To: jQuery (English)
Subject: [jQuery] what is your opinion
What is your opin
Hi,
I have been using blockUI with ajaxForm for quite a while and I
normally use the block() function from within the beforeSubmit
callback and it works really well.
I now want to extend this a little by producing a quick blockUI
confirm message which if yes is clicked will return true and submi
I have a question.
Why is the movement of the draggables (for example, in the sample
page:
http://mynichecomputing.com/GuideInfoandPlanner/ELLMath.html )
more limited in IE than in Firefox?
In IE on the PC, movement over the targets cannot even occur until
the page
is maximized and the draggabl
$("element").scroll(function() {
if($("element").scrollTop == $("element").scrollHeight;) {
//do something
}
});
Untested, but should work.
On Jul 10, 9:18 am, fambi <[EMAIL PROTECTED]> wrote:
> Thanking you guys in advance for any help/advice...
>
> How can I know that I've reach
DRoss wrote:
Also, when clicking outside of the thickbox window currently and by
default the thickbox window closes. I need to disable that so the only
way to close the window is using the "Return to Shopping" button.
Add "modal=true" to the URL, I believe.
-- Scott
Hello,
I have a div with a table inside. The div is set to a width and an
overflow of auto. Scroll works great.
The problem is, I have set an event on the div to check when it is
scrolling. I take the scrollTop() function and assign it to the
scrollTop() of another div with a css property of overf
Hi guys looking to make a dynamic form where the fields change
dependant on radio box option selected above.
I hope someone out there can help me i'm a beginner and so far have
found this much to get by. Just need to add code to switch div
containers dependant on which radio box is selected. Code
Hi guys looking to make a dynamic form where the fields change
dependant on radio box option selected above.
I hope someone out there can help me i'm a beginner and so far have
found this much to get by. Just need to add code to switch div
containers dependant on which radio box is selected. Code
Anyone?
On Jul 9, 4:57 pm, DRoss <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Two part question:
>
> We are using thickbox for an 'Add to shopping basket' modal window.
> There are two buttons in the thickbox window; one for adding the
> product to the basket and the second button ('Return to shoppi
Hi guys looking to make a dynamic form where the fields change
dependant on radio box option selected above.
I hope someone out there can help me i'm a beginner and so far have
found this much to get by. Just need to add code to switch div
containers dependant on which radio box is selected. Code
Hi guys looking to make a dynamic form where the fields change
dependant on radio box option selected above.
I hope someone out there can help me i'm a beginner and so far have
found this much to get by. Just need to add code to switch div
containers dependant on which radio box is selected. Code
Hi guys looking to make a dynamic form where the fields change
dependant on radio box option selected above.
I hope someone out there can help me i'm a beginner and so far have
found this much to get by. Just need to add code to switch div
containers dependant on which radio box is selected. Code
Is there a way that when using the remote method, a "false" value is
being returned until the actual remote result is available.
Attach a click handler with this bit of code to whatever element
should close the thickbox.
window.top.tb_remove();
On Jul 9, 3:57 pm, DRoss <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Two part question:
>
> We are using thickbox for an 'Add to shopping basket' modal window.
> There are two buttons
This has been fixed in SVN already. You can get the current SVN
version or wait for the 1.4 release.
On Jul 9, 11:21 pm, Alexsandro_xpt <[EMAIL PROTECTED]> wrote:
> Hello All
>
> In source plugin Validate plugin
> (http://bassistance.de/jquery-plugins/jquery-plugin-validation/
> ) was contacte
Hi Sam Sherlock
I really appreciate your time. have pasted the following into the
head of a test page, immediately below the title:
<\script>
jQuery(document).ready(function(){jQuery.getFeed({
url: 'http://blog.novaconnection.com/syndication.axd',
success: function(feed) {
Thanking you guys in advance for any help/advice...
How can I know that I've reached the bottom of a scrollable area in a
div with an overflow?
Thanks
Yes, you have that exactly right. I think, especially regarding
"previous," that your description is what the user would expect to see
happen.
Very specifically, here's the use case: The user comes to a page
which shows a random cycle of "teasers." Each teaser links to a
biography of a faculty
But this
$(document).ready(function() {
$('#save').click(function(event){
$("table tr#t2").after("Insert this row");
$("table tr#d1").hide();
$("table tr#d1").fadeIn("slow");
I may be misunderstading something here but this does not look like a
cross-domain issue to me.
If you are making AJAX request on the same server that served the
page, then you should use absolute URI path without any protocol nor
domain name : $.get("/some/web/service"). This will work whatever
If you want code to execute before the page is ready, the you should
just inline it in your tag. Note that you won't be able to
access or modify any DOM component of the page, all you can do is
append some new DOM nodes at the beginning.