I have the following script (see below), which dynamically adds div
between closing and opening h3 tags.
The script works fine in Firefox but IE is infinite looping the first
while.
Does anyone have an idea how to fix the script for IE?
Thx!
hagbard
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0
It seems IE8 inherit the bug on opacity in IE7. Which remove the
Bold
On Nov 19, 5:21 am, Peter Crymble peter.crym...@gmail.com wrote:
Hey - hope you are all well.
I have a simply Jquery script which acts as a rollover - on mouseover
if fades the opacity, and then back again. Heres the code:
add code
error: function(e,e2,e3){alert(e2);},
before success (in fact you can add anywhere in the ajax object).
i think you will got a alert error.
if so. that's mean your return is not a well format json.
On Nov 19, 5:37 am, Juriy juriy.b...@gmail.com wrote:
Hi,
I'm
can you tell me what is ajax freame work and how to work and how implemetn
our code like Gmail,yahoo,facebook
thanx Michel Belleville
thanx All of memebers of this community
On Wed, Nov 18, 2009 at 3:25 PM, Michel Belleville
michel.bellevi...@gmail.com wrote:
You can start here :
*framework
On Thu, Nov 19, 2009 at 2:36 PM, Ankur_Patel ankurpate...@gmail.com wrote:
can you tell me what is ajax freame work and how to work and how implemetn
our code like Gmail,yahoo,facebook
thanx Michel Belleville
thanx All of memebers of this community
On Wed, Nov 18, 2009 at
Can any one tell me name of jQuery IDEs... like dreamweaver use of IDE as
HTML,PHP,ASP,XML,CSS
Any IDE there for jQuery code so we can write codes easy fast
Thanx
If I may be so bold, perhaps you'd be better off using iterators and avoid
nesting while loops based on the same numeric condition.
For exemple, let's imagine I'd like to round up all h3 nodes and their
immediate following siblings in neat divs here's what I'd do :
$(.modAccordion
So, you may find informations about what AJAX means here :
http://en.wikipedia.org/wiki/AJAX
In shorts it's a way to use JavaScript client-side to query a server for
small bits and act upon it changing part of the page instead of just loading
whole pages each time the client has to interact with
thanx Michel Belleville
On Thu, Nov 19, 2009 at 3:03 PM, Michel Belleville
michel.bellevi...@gmail.com wrote:
So, you may find informations about what AJAX means here :
http://en.wikipedia.org/wiki/AJAX
In shorts it's a way to use JavaScript client-side to query a server for
small bits and
Think I found out what the problem is!
This is how my js code looked:
script type=text/javascript
$(window).load(function(){
$('body').dragscroll();
});
When I now tried
script type=text/javascript
$(window).load(function(){
$('#work').dragscroll();
});
What you are looking for is event delegation.
In your last version, you are attaching a click event handler to
every a you add to your table. It can be time and resource
consuming.
A better way is to bind the click event to the container where you
will load your dynamic content and wait for the
On Nov 18, 5:17 pm, Bryan Garaventa goo...@gutterstar.net wrote:
What happens when you replace
alert (element content is: + $(this).text());
with
alert(this.nodeName);
?
Perfect! This gives me the exact information I need :)
Thanks for the help!
Seb
Hi,
I have databse entries like: CUBE Streamer #039;sloping#039;
ULTEGRA 3 x 10 (99euro;/Woche)
I use this text with jquery and I am writing this text into a div.
When reloading my page, because of a form validation, the text gets
automatically like this:
CUBE Streamer \'sloping\' ULTEGRA 3 x
Hi All:
Definitively the best solution is to use relative URL in CSS.
Thank you all for help.
On 17 nov, 16:07, Liam Byrne l...@onsight.ie wrote:
Why are you using a root-relative URL ?
If the entire site is in a folder, and then you move everything into
another folder, everything
1.
img src=xxx style=display: none; id=img1
alert($('#img1').width());
2.
div style=display: none;
img src=xxx style=display: none id=img2
/div
alert($('#img2').width());
case 1 can get the width of the image, but case 2 will fail, how to
solve this problem?
I have to implement slide on each h4 question. by default question
will be collapse. when I click on on question it should be slide down
(expand). How can I implement this on jQuery? Please forward me
solution.
h4What is jQuery? /h4
div
pjQuery is a lightweight JavaScript library that emphasizes
Whether jquery-1.3.2.js or jquery-1.3.2.min.js,i always got the error.Other
browsers without error.
Below is the code:
$(function(){
$('#username').keydown(function(event){
if(event.keyCode==13){
formLogin();
}
});
$('#password').keydown(function(event){
if(event.keyCode==13){
formLogin();
}
Go see there :
http://css-tricks.com/quick-css-trick-how-to-center-an-object-exactly-in-the-center/
On Oct 20, 4:35 am, Shawn shallway...@gmail.com wrote:
I'm using anavbarwith superfish. I simply put my menu list inside a
wrapper so the markup looks like this:
div class=navbar-wrapper
ul
Try this
http://www.learningjquery.com/2008/10/1-way-to-avoid-the-flash-of-unstyled-content
- Richard
On Thu, Nov 19, 2009 at 2:48 AM, Nicu Marcu marcu.nico...@gmail.com wrote:
Very good solution, working OK. I try to do something like this on tabs,
but tabs are hidden permanently. On page
@Michel
Yes, basically you're totally right. Your script is much nicer and
does not nest loops.
Logic is not exactly as it should be.
The idea is:
After each closing h3 tag (/h3) inside modAccordion container append
an opening div (div) tag.
Before every opening h3 tag (h3) but not before the
2009/11/19 hagbardceline hagbardcelin...@gmail.com
@Michel
Yes, basically you're totally right. Your script is much nicer and
does not nest loops.
Logic is not exactly as it should be.
The idea is:
After each closing h3 tag (/h3) inside modAccordion container append
an opening div (div)
$(h4).click(function(){
$(this).next('div').slideToogle();
}).trigger('click');
On Thu, Nov 19, 2009 at 04:11, srikanthv getur.srika...@gmail.com wrote:
I have to implement slide on each h4 question. by default question
will be collapse. when I click on on question it should be slide
Tenho uma função que chama outra função
function refreshEstado(estado, cidade){
$.post(
'../busca_estados.php',{
UF: $mUF
},
function(data){
$('#result-estado').html(data);
Either jquery-1.2.3.js or jquery-1.3.2.min.js, i got the error in
IE6,other browsers without error.
the code:
$(function(){
$('#username').keydown(function(event){
if(event.keyCode==13){
formLogin();
}
});
ANY HELP PLS.
On Nov 18, 9:03 pm, Vivek narula.vi...@gmail.com wrote:
Hi,
I am using CrossSlide plugin (http://www.gruppo4.com/~tobia/cross-slide.shtml
) for my website however the images loads slowly. How can i make my
images to preload for CrossSlide.
Thanks
Hi,
I have an element like this: a id=a1 href=javascript:doSomething
();#a1/a
However, when I do this: $('#a1').click(); ... then my doSomething()
do not get called. Why?
If I make my own click function, like this:
function clickAt(targetElement) {
var evt =
Hello, this is a repost of my first post.
The Superfish navbar menu reverts to a classic dropdown menu when in
NAV module of Afterburner template or HORNAV module of JA-Purity
template. It works fine in other module positions and other types of
menu displays behave as they should.
I tried to
Hello All,
Is there any site/plugin that provides the accordion menu to be 4 levels
deep? I know this could be achieved using treeview plugin but I want an
accordion menu.
container1
-container1.1
--container1.2
---container1.3
Menu Item1.3.1
Menu Item1.3.2
container2
-container2.1
hi
i've got a page (asp.net) where I trap the click event of a link.
i then do some dirty checking and present a dialog to the user,
var clickedLink;
$('.checkdirty').click(function(event) {
if(isDirty == false){
return true;
}
clickedLink = $(this);
1.
img src=xxx id=img1 style=display: none; /
$(window).load(function() {
alert($('#img1').width());
});
2.
div style=display: none;
img src=xxx id=img2 style=display: none; /
/div
$(window).load(function() {
alert($('#img2').width());
});
case 1 can get the dimension,
This isn't specifically for jQuery, but NetBeans handles it extremely
well. I use the Early Access for PHP version.
Michael
On Nov 19, 4:13 am, Ankur_Patel ankurpate...@gmail.com wrote:
Can any one tell me name of jQuery IDEs... like dreamweaver use of IDE as
HTML,PHP,ASP,XML,CSS
Any IDE
Ok I'm using this
invalidHandler: function(form, validator) {
PossitionStuff.possitionErrors(); },
And it works but it doesn't fire till the second validation I need it to fire
on the first go around too
On 11/18/09 4:06 PM, StephenJacob turnstylecreat...@gmail.com wrote:
Hmm, i'm
Aptana (built on Eclipse) also has great jQuery support.
http://aptana.com/
On Nov 19, 9:28 am, devilmike devilm...@gmail.com wrote:
This isn't specifically for jQuery, but NetBeans handles it extremely
well. I use the Early Access for PHP version.
Michael
On Nov 19, 4:13 am, Ankur_Patel
if you have to keep your JavaScript inline, you should use the onclick
attribute instead of using the javascript: pseudo-protocol. it was
never fully standardized, and is a lingering piece of old-school
JavaScript usage. so for your example above, use:
a id=a1 onclick=doSomething();#a1/a
an even
Hi,
Did you play with scrollOffset, rows number and records number ?
e.g: if record row then scrollOffset = 0
I never tried this.
You are right, this space is annoying.
I checked the forum of the author. He said that this space is normal.
On 13 nov, 21:46, davebrown d...@dbws.net wrote:
Should
OK, my requirement is wildly advanced, but I need to combine the ui
datepicker with the validation plugin. Ultimately, I need to ensure a
date is at least 1 month in the future.
The problem I'm encountering is the exact ordering of events. It
appears as if the validator check's the input's data
Can someone help me find any problem with the code attached?
I am using it on a website, but its happening a problem with some of my
plugins... I use all of them on other websites and they all work fine,
but on this one, some aren't working.
When I call the editable plugin, it throws an error
Why are you using both .text() and .html() ?
On Nov 19, 5:59 am, heohni heidi.anselstet...@consultingteam.de
wrote:
Hi,
I have databse entries like: CUBE Streamer #039;sloping#039;
ULTEGRA 3 x 10 (99euro;/Woche)
I use this text with jquery and I am writing this text into a div.
When
I had the same problem, where I have to rely on an XHTML+XML output already
processed through XSLT, from which I need to extract parts of and insert
them into the DOM.
I've taken your code and changed it a little to get it more universal.
if (!document.ELEMENT_NODE) {
How can I make this div section under h4 by default collapsed?
On Nov 19, 7:39 am, Leonardo K leo...@gmail.com wrote:
$(h4).click(function(){
$(this).next('div').slideToogle();
}).trigger('click');
On Thu, Nov 19, 2009 at 04:11, srikanthv getur.srika...@gmail.com wrote:
I have to
My problem is simple it seems that the invalidHandler function runs first. I
need it to either run last or I need to be able to add extra class features to
the errors.
Or is it possible to alter a style sheet's class on document load?
Hi,
I tried to build a dynamic string for populating a select but my
string seems to have a bad format !
var manufacturers= $.ajax( {url:'abcd.php',
async:false }).responseText;
{name:'manufacturer', index:'manufacturer', editable:true,
edittype:'select',
editoptions:{ value:
Thanks. I figure it out later
On Thu, Nov 12, 2009 at 1:35 PM, Andrei Eftimie k3liu...@gmail.com wrote:
I'm not sure about this right now, but from memory, IE will change the
value after the element has loses its focus.
On Thu, Nov 12, 2009 at 7:54 PM, 2daughtersdad jacob@gmail.com
How to collapse slideToggle sections by default?When page loads all
h4 sections should be collapsed. When I click it should expand. I
have below couple of sections and I am using jQuery
$(document).ready(function(){
$('h4').click(function () {
Can you post a link to a test page?
It's impossible to tell what is wrong from the .js file you attached. It's
not even JavaScript code: it's PHP code.
The browser doesn't ever see your PHP code. All it sees is the *output* of
the PHP code. There could be any number of things wrong, but there's
More topics like this with lots of replies
http://groups.google.com/group/jquery-en/search?hl=engroup=jquery-enq=ideqt_g=Search+this+group
I have a large div with several divs (they mimic trs). In those are
two input type=text fields and two buttons. None of the elements are
floating, but the buttons are actually as that are display: inline-
block.
If I .prepend() or .after() a new div to one of the existing divs
(using the function
I don't think even case 1 will work in all browsers. Some browsers won't
bother loading the image if it has display:none. But they will all load it
if it has visibility:hidden.
Here's how I do it:
jQuery.imageDimensions = function( src, callback ) {
jQuery('img /')
.css({
ok...solved the issue of timing. the system we use is placing br tags
in spite of the fact that this was all coded in their html module. i
got around it by eliminating all returns and spaces in the code. (the
a tags had nothing to do with the timing issues...only the spaces and
returns...just in
One little trick I've used is to use absolute positioning to move the image
way off the page, like left = -5000, then display the image, get the
dimensions, then hide it again. This way your layout won't be disturbed.
-- Josh
From: Michael Geary [mailto:m...@mg.to]
Sent: Thursday,
I am having h3 tag containing anchor tag , i want to know the position
of the mouse while hover.
Why the following works differently in IE and FF.
var x = e.pageX - this.offsetLeft;
var y = e.pageY - this.offsetTop;
Can anyone give me the solution for this issue to fix in IE and
Can I modify a CSS Class's properties not on an element but on the css class
it's self so that and element that is given that class in the future will still
have those changes? Perhaps modify a class that is actually in the header?
I don't know if that is possible (although almost anything, it seems,
is possible with jQuery), but what if you had a secondary class in
your CSS and used addClass('secondary') to the element. It would
inherit styles from the original and apply the secondary styles.
The problem is is that I need to calculate the styles when the page loads. And
the calculation results in a couple of hundred different numbers.
On 11/19/09 1:33 PM, discern cap...@gmail.com wrote:
I don't know if that is possible (although almost anything, it seems,
is possible with jQuery),
It is possible I used this:
$('style').text('label.error{left:' + leftOffset +'px;}');
On 11/19/09 1:33 PM, discern cap...@gmail.com wrote:
I don't know if that is possible (although almost anything, it seems,
is possible with jQuery), but what if you had a secondary class in
your CSS
to Michael, I am also use NetBeans but how can i get jQuery all library like
php functions,properties
On Thu, Nov 19, 2009 at 8:58 PM, devilmike devilm...@gmail.com wrote:
This isn't specifically for jQuery, but NetBeans handles it extremely
well. I use the Early Access for PHP version.
Hi,
I'm using the following code on the client side:
$.ajax({
dataType : 'json',
// other options
success : function(json_response) {
console.log(typeof response, response); // Using Firefox's
firebug
}
});
And this PHP code on the server side:
?php
I'm having trouble with IE
This code seems to break in IE
var cssString= label.error{left:+leftOffset+px;};$('head
style').text(cssString);
What version of IE?
Define break?
On Thu, Nov 19, 2009 at 11:29 AM, Atkinson, Sarah
sarah.atkin...@cookmedical.com wrote:
I’m having trouble with IE
This code seems to break in IE
var cssString= label.error{left:+leftOffset+px;};$('head
style').text(cssString);
--
Charlie
Hey guys,
I've been searching all over if its possible to make the same effect
that YouTube has.
Loading images when they are visible.
If you have no idea what i'm talking about, go to YouTube, do a search
for some video and
when you scroll down the list of all found videos, thumbnails of each
IE 7 haven't tried any others. And it doesn't work it doesn't text and it cause
another function that hides and shows a div to not work as well. The only fire
bug error I get is Reload to activate window console although IE has a
message saying error on page
On 11/19/09 2:35 PM, Charlie
leftOffset is a variable you're defining somewhere?
On Thu, Nov 19, 2009 at 11:39 AM, Atkinson, Sarah
sarah.atkin...@cookmedical.com wrote:
IE 7 haven’t tried any others. And it doesn’t work it doesn’t text and it
cause another function that hides and shows a div to not work as well. The
Yes In the function that this bit of code resides
On 11/19/09 2:43 PM, Charlie Griefer charlie.grie...@gmail.com wrote:
leftOffset is a variable you're defining somewhere?
On Thu, Nov 19, 2009 at 11:39 AM, Atkinson, Sarah
sarah.atkin...@cookmedical.com wrote:
IE 7 haven't tried any
I think this is what you're looking for. Haven't tested it myself, but
this is what i found with a quick search in google for jquery load
images on scroll
http://www.appelsiini.net/2007/9/lazy-load-images-jquery-plugin
On Nov 19, 2:37 pm, CrustyDOD anze.stok...@gmail.com wrote:
Hey guys,
This may just be another example of IE sucking. I get an error on IE 6,
unexpected call to method or property access.
Googling that error message (and adding 'style' to the search) suggests that
manipulating the style attribute dynamically on IE is somewhat...
problematic :\
On Thu, Nov 19,
Yea I'm kinda figuring it out trying another approch that I found here
http://www.quirksmode.org/dom/w3c_css.html
On 11/19/09 3:12 PM, Charlie Griefer charlie.grie...@gmail.com wrote:
This may just be another example of IE sucking. I get an error on IE 6,
unexpected call to method or property
nothing here looks like it would cause a syntax error. Maybe the
problem is in your formLogin() function?
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Nov 19, 2009, at 2:00 AM, viperasi wrote:
Whether jquery-1.3.2.js or jquery-1.3.2.min.js,i always got
What is the opposite of :checked?
Is it :unchecked? Or would you use the not (!)
Hi there,
I have a (few) jQuery UI's accordions on a single page, ever accordion
exists of two elements; one visible, one hidden.
Initially the invisible one has no content, but it's loaded with
jQuery. My code looks like this:
[code]
$('.project').each(function(){
var
http://docs.jquery.com/Selectors/not
On Thu, Nov 19, 2009 at 12:55 PM, Atkinson, Sarah
sarah.atkin...@cookmedical.com wrote:
What is the opposite of :checked?
Is it :unchecked? Or would you use the not (!)
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have
Hi,
I have used jquery in my web site (.net 3.5 with master pages) the problem
is jquery works if it is added as a usual script tag in HEAD element, but if
add it as scriptreference in ScriptManger it generate error something like
JScript runtime error object required.
I am newbie on javascript.
should also be pretty easy to roll your own :not-checked selector:
$.expr[:][not-checked] = function(elem, i , m) {
// use === false to avoid undefined checked property
// creating false positives
return elem.checked === false;
}
On Nov 19, 3:00 pm, Charlie Griefer
That worked
On 11/19/09 4:00 PM, Charlie Griefer charlie.grie...@gmail.com wrote:
http://docs.jquery.com/Selectors/not
On Thu, Nov 19, 2009 at 12:55 PM, Atkinson, Sarah
sarah.atkin...@cookmedical.com wrote:
What is the opposite of :checked?
Is it :unchecked? Or would you use the not (!)
Yes, that's it..
Was so looking for the wrong thing..
Thanks man.
On Nov 19, 9:08 pm, StephenJacob turnstylecreat...@gmail.com wrote:
I think this is what you're looking for. Haven't tested it myself, but
this is what i found with a quick search in google for jquery load
images on scroll
Anyone? Thanks
srikanthv schrieb:
How to collapse slideToggle sections by default?When page loads all
h4 sections should be collapsed. When I click it should expand. I
have below couple of sections and I am using jQuery
instert this ceil:
$(document).ready(function(){
$('h4').next('div').hide();
Jon schrieb:
Hi,
I have an element like this: a id=a1 href=javascript:doSomething
();#a1/a
However, when I do this: $('#a1').click(); ... then my doSomething()
do not get called. Why?
Try the jQuery-Way:
a id=a1 href=##a1/a
$('#a1').click( function() {
doSomething();
return
Hi I'm trying to select a specific word inside a div and would like to bold
it, I can't seem to find how to do this anywhere!
$(.tpSurveyQuestion:contains('anything')).css(font-weight,bold);
--
View this message in context:
Hello,
I am attempting to insert a piece of javascript into a page using an
ajax call. Here are the files
testjs.html:
SCRIPT language=javascript src=http://www.myurl.com/pixel.track?
CID=123456/SCRIPTNOSCRIPTIMG src=http://www.myurl.com/
pixel.track?CID=LALALA width=1 height=1 border=0/NOSCRIPT
I use UI Tabs with Ajax loading.
The spinner is not working.
Any ideas?
Greetings,
I'm having the same issue with a new line being inserted. Here is the
live code: http://www.hotel1000seattle.com/packages.php The text
doesn't read correctly when expanded (skipped line). Is there a way
to prevent this?
thanks,
-me
On Nov 9, 7:19 pm, Karl Swedberg
add a span tag around the a's text and it should work
so
a href=http://somesite.com/tabcontent.php;This Tab/a
to
a href=http://somesite.com/tabcontent.php;spanThis Tab/span/a
On Nov 19, 3:39 pm, dinos kbala...@gmail.com wrote:
I use UI Tabs with Ajax loading.
The spinner is not working.
If the word anything is just part of the text inside the div, then it
doesn't have a DOM element (tag) of its own. This means you can't select it
with a jQuery selector or any kind of DOM manipulation, and you can't apply
a CSS style to it.
What you can do is rewrite the HTML content of your DIV
You would normally expect that to work.
What content-type is your server putting in the header for the JSON data?
That could be throwing it off.
Also note that a bare primitive value (true, false, null, or a string or
number) is not valid JSON. The only valid JSON is either an object enclosed
in
in general the opposite of checked is unchecked but in technical language it
may be unselected..
On Fri, Nov 20, 2009 at 2:59 AM, Atkinson, Sarah
sarah.atkin...@cookmedical.com wrote:
That worked
On 11/19/09 4:00 PM, Charlie Griefer charlie.grie...@gmail.com wrote:
Sorry about that. I should have been more specific in the plugin
documentation about what it was intended for. I didn't write the
plugin to work across multiple block-level elements. It looks like
that is how you're trying to use it. If I have some time in the next
few days, I'll see if I
Hi,
I'm trying to use ColdFusion and JQuery but I'm having some problems
setting/reading session variables. I have a login box that I use
jquery to do the ajax work. In my ajax call I have this snippet
$(form).ajaxSubmit({
type: 'POST',
dataType: 'json',
url:
87 matches
Mail list logo