Thanks, James!
the :has() selector did not work on the 'if' statement, but you put me
on the right track.
the code now looks like this:
$('ul#hoofdNavigatieLijst li ul li:has(ul) a ').click
(function(event) {
event.preventDefault();
});
and it works
try switching the order of script type=text/javascript
src=...ext-all.js/script
script type=text/javascript src=...ext-jquery-adapter.js/script
to
script type=text/javascript src=...ext-jquery-adapter.js/script
script type=text/javascript src=...ext-all.js/script
K, I got it.
Changed paragraphs to divs tho.
$(document).ready(function(){
$(li).hide()
$(p.subtitle).hide()
$(p.copy).hide()
$(div[name!=home][class=body]).hide()
var $i=500;
$(li:eq(0)).show($i, function(event){
// use callee so don't
I want to create a page that scales everything on it as you increase/
decrease the browser window/viewport. I can scale everything on the
page except the text.
You can see my example here (made for IE only now). You can size the
browser window and see how it all scales.
Hi,
id is designed to work with only 1 instance in a web page.
If you need multiple instances of an element, use class=newsTrigger
instead of id=newsTrigger.
And change $('#newsTrigger') into $('.newsTrigger').
Regards,
Irwan Setiawan
-Original Message-
From:
Hi All,
I also experience the very same problem.
I also found that when it happens it submits the form twice.
I haven't tried upgrading the version but the one I'm using is 2.10
(05/08/2008)
Cheers
Kostya
How can I display a bunch of DIVs in multiple columns? Like Flex's
TileList component.
A
B
C
C
E
F
G
A B C
D E F
G
A B C D
E F G
would just be a function to increase the font size same as anything
else, and if you are using percentages or em's would be even simpler.
Tuckers wrote:
I want to create a page that scales everything on it as you increase/
decrease the browser window/viewport. I can scale everything on the
float them, with css.
S2 wrote:
How can I display a bunch of DIVs in multiple columns? Like Flex's
TileList component.
A
B
C
C
E
F
G
A B C
D E F
G
A B C D
E F G
S2 wrote:
How can I display a bunch of DIVs in multiple columns? Like Flex's
TileList component.
A
B
C
C
E
F
G
A B C
D E F
G
A B C D
E F G
You could use float: left;width: 33%; in the stylesheet. No need to use
javascript for that (as long as your divs have a fixed height).
Jonathan
Hi everybody,
I recently updated my website with url rewriting.
What I did was change the htaccess file so that every url is
redirected to an index.php file, which then parts this url ($_SERVER
['REQUEST_URI']) and 'include()' the corresponding files.
Since then, I've had several problems with
Hi!
I'm currently working on a project in wich I use a pair of trees. The
thing is that one of them is too big and IE6 (it needs to be
supported :s ) takes forever to process the tree so I want to load it
asynchronously branch by branch using the async version of the tree.
The problem is that I
Thanks for your help but this is still not working. All that happens
is as soon as I click the word to make the div appear, it fades out
again.
I'm probably being totally thick here and missing something really
simple but I just cannot figure it out. All I need is for the div to
appear when
You can use the classes property in the JSON response. These are
added to each node.
Jörn
On Mon, Aug 24, 2009 at 12:12 PM, nsbkpedro...@gmail.com wrote:
Hi!
I'm currently working on a project in wich I use a pair of trees. The
thing is that one of them is too big and IE6 (it needs to be
I am looking to fade text out when the mouse passes over it and
replace it with text that is faded in. My understanding is that this
needs to be done through a callback, as the text needs to fade out
completely before fading in. However, when I try to implement this
idea the content does not fade
Hi,
can jQuery display response from .post request in realtime?
I force buffer flush in PHP with ob_start, and ob_flush, I know that I
can set target='iframeID' to my form, but I need ajax and target
should be div.
Thanks
I'm working on a survey builder that lets people generate web forms
for collecting user data. Form builders can create forms with various
controls on them.
At the moment I'm building in a jQuery validate layer (there is also a
server side validation layer, but I want to keep users from making
When a question isn't required, it shouldn't have the required-rule.
Jörn
On Mon, Aug 24, 2009 at 1:43 PM, Gordongrj.mc...@googlemail.com wrote:
I'm working on a survey builder that lets people generate web forms
for collecting user data. Form builders can create forms with various
It's kinda hard to tell without seeing the site, but I think you could
try finding out which url gets loaded and what response you get by using
something like Fiddler ( http://www.fiddlertool.com/ ) or Wireshark (
http://www.wireshark.org/ ). Chrome also has a built-in debug thing, I
Unless I'm mistaken in my understanding of your issue, this is kind of what
AJAX was really meant for. You can certainly post something, and then do a
get on whatever it was you posted to to get a response. You might want to
take a polling approach where you set a javascript timer or timeout to
I really need this
thanks,
that solved it :D
On Aug 23, 11:49 pm, Steven Yang kenshin...@gmail.com wrote:
try switching the order of script type=text/javascript
src=...ext-all.js/script
script type=text/javascript src=...ext-jquery-adapter.js/script
to
script type=text/javascript
Hi.
Let me introduce free PHP IDE with available JQuery plug-in (paid):
Codelobster PHP Edition (http://www.codelobster.com) - has all
standart abilities for editing code
- PHP/HTML/CSS/JavaScript highlighting, autocomplete, code structure
- PHP debugger
- code folding, tooltips, help and etc.
Perhaps someone on this forum will have a suggestion for me to try?
-- Forwarded message --
From: jQuery UI Support supp...@jqueryui.com
Date: Mon, Aug 24, 2009 at 3:47 AM
Subject: [jquery-ui] Re: Psychological Assessmet Tool Using JQuery and
Personal Construct Theory
To:
As a codeigniter fanboy, I'd be very anxious to mess around with the CI
plugin for your IDE. the jQuery plugin also looks very cool!
cheers
Michael Lawson
Development Lead, Global Solutions, ibm.com
Phone: 1-276-206-8393
E-mail: mjlaw...@us.ibm.com
'Whether one believes in a religion or
'this' is undefined in the current scope
cheers
Michael Lawson
Development Lead, Global Solutions, ibm.com
Phone: 1-276-206-8393
E-mail: mjlaw...@us.ibm.com
'Whether one believes in a religion or not,
and whether one believes in rebirth or not,
there isn't anyone who doesn't appreciate
Include jQuery.scrollTo[1] and then, everytime the Ajax response
arrives:
$.scrollTo(0, 1000);
Where 1000 is how many milliseconds to animate. You can of course add
more settings as needed.
[1] http://flesler.blogspot.com/2007/10/jqueryscrollto.html
--
Ariel Flesler
On Aug 23, 9:34 pm, Erik
It currently works for me, and yeah, don't spam ;)
--
Ariel Flesler
On Aug 23, 8:18 pm, Alice kikizi...@gmail.com wrote:
problem can be seen here:http://unedible.com/alicewhite/
it's just not scrolling. sometimes when i change the code around a
bit, the anchor images stop working
Ah, saw this one after the other.
Got a link to what you've been trying to achieve ?
--
Ariel Flesler
On Aug 23, 7:03 pm, Erik eriks...@mac.com wrote:
Using AJAX to load content within a div.
Need to find a way to scroll to the top of the page after loading
content inside div on same page.
OK, again I need some help:
I can success print ui.draggable to console, but how to convert it to
string?
I need to write it into some element with .innerHTML and I will
probably use it in for loop...
Any your comment will be helpfull.
On Aug 24, 2:45 am, Boris Trivic trivu...@gmail.com wrote:
Sometimes it is good for us if you explain your solution..
- Original Message -
From: Liam Potter radioactiv...@gmail.com
To: jquery-en@googlegroups.com
Sent: Friday, August 21, 2009 4:16 AM
Subject: [jQuery] Re: Get inner class of event
This happens to me quite often, so do what
Still got this problem ? Anyone else had any luck with it ?
Hi to all.
I have problem with $.ajax call with Firefox. At all other browsers
works fine(Opera, IE6,Chrome)
My code:
$.ajax({
url : statistic_json.php,
type : post,
dataType : json,
success : function(data) {
Are you running WP? If so some plugins CAN break scrollTo,
serialScroll etc depending on the syntax, etc, but in my experience
Lightbox is not one of them.
On Aug 23, 4:18 pm, Alice kikizi...@gmail.com wrote:
problem can be seen here:http://unedible.com/alicewhite/
it's just not scrolling.
2009/8/23 solow solow.wes...@gmail.com:
function joinRoomFunction(roomId){
$(#tables).load(pages/pages.php, {r: roomId}, function()
{
$(#myTable).tablesorter({widgets: ['zebra']});
alert('loaded');
firstname must refer to the name of a field. There is no field with
that name in your form, just class=firstname.
Jörn
On Mon, Aug 24, 2009 at 4:55 PM, davidmichaelg...@gmail.com wrote:
i played with the example.html from jquery.validate 1.55 and wanted to
make a custom rule firstname that is
Important note:
It works under FX when script is at localhost(developer mashine-wamp
server). When I download it on linux server(hosting) the situation is
as described above.
On Mon, Aug 24, 2009 at 11:24 AM, Boris Trivictrivu...@gmail.com wrote:
I can success print ui.draggable to console, but how to convert it to
string?
I need to write it into some element with .innerHTML and I will
probably use it in for loop...
I think you are trying the hard way.
Thank you already tested :)
On Aug 22, 4:07 am, Jörn Zaefferer joern.zaeffe...@googlemail.com
wrote:
Just released version 1.1, which fixes this
issue:http://plugins.jquery.com/node/9879
Jörn
On Thu, Aug 20, 2009 at 9:29 PM,juanefrenjuanef...@gmail.com wrote:
With the autocomplete
On Sat, Aug 22, 2009 at 5:13 PM, MorningZmorni...@gmail.com wrote:
The confusing bit is that you're instructing jQuery to make an AJAX
request for each LI *as the page is loading*
That is not true, as inside
$(function() {
...
...
...
})
the page is already ready, all the li's
Does it works for every browser?
- Original Message -
From: gurdiga gurd...@gmail.com
To: jQuery (English) jquery-en@googlegroups.com
Sent: Sunday, August 23, 2009 1:07 PM
Subject: [jQuery] $.inArray optimisation
Hello,
The $.inArray function is defined in
Hi All,
In my application,there are several autocomplte field is available.
When I type pank and then it list out the several matching in the
autocomplete field and select one and
then hit the enter then it submitted the entire form, which will cause
the error message. Because there are several
From: Nick Fitzsimons
Finally, by assigning a string to setInterval you are
basically performing an eval, which is very inefficient.
Creating a function reference using a closure is the
preferred approach.
A function reference is the best way to do it, but not so much because of
This is inserting a white line in the middle of the div in IE8.
Problem doesn't exist in ff. Can you see a problem with my code?
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
html xmlns=http://www.w3.org/1999/xhtml;
head
meta
have you considered just checking for a jQuery method? seems like that
would be the cleanest, least intrusive way of doing your check, for
example:
function get_object_from_id(variable)
{
// if the param has a attr property (which jQuery
objects do,
//
Instead of using absolute URLs, could you use relative URLs that begin
with a slash (e.g. /path/to/file.php) to indicate the domain root?
Also, do you have any base href=... tag set? That could cause some
problems with AJAX too.
On Aug 24, 1:25 am, ch2450 clemhuygheba...@gmail.com wrote:
Hi
This issue is unrelated to jQuery.
I'm not so surprised that the fail whale rears it's ugly butt once in
a while.
I suggest putting some error catching/suppression in your PHP code.
On Aug 23, 4:26 pm, TrixJo tri...@gmail.com wrote:
Do any of you get this problem?
Warning:
Since region is not a valid HTML attribute, other ways is to set an
ID on the element and use that as a reference to data stored elsewhere
(e.g. a Javascript array or object).
Depending on whether you have a lot of data or not. Assuming you have
many onclicks on your page, here's another way to
I'm trying to add a navigational aid to a carousel that I'm working
on. Basically, I want to visually display the number of results in the
carousel and then highlight the result that is currently in the first
position as the user scrolls through the result set - providing a
visual cue to the user
Hey all,
Here's the issue, I am pulling in an XML doc, storing it in a global
var and through out the app I am transversing it to grab certain
info. Up till 1.2.6 it's been working fine, but when I upgraded 1.3.2
I get bad results.
Here are my two test pages:
Is it possible to animate an element's border color? I tried $
('#foo').animate({ borderColor: '#ff'}, 1000); and $
('#foo').animate({ 'border-color': '#ff'}, 1000); with no success.
Hello!
On Mon, Aug 24, 2009 at 9:46 AM, kostjazzme.russ...@gmail.com wrote:
Hi All,
I also experience the very same problem.
I also found that when it happens it submits the form twice.
For me not need to submit twice the form, only one submit enough to
produce the error.
I haven't
So basically you just want to know how many span tags there are?
If so, something like this could work (untested):
var count = $(div.visual-cue span).length;
On Aug 24, 10:31 am, bombaru bomb...@gmail.com wrote:
I'm trying to add a navigational aid to a carousel that I'm working
on.
In Firefox 3.5 they both look exactly the same:
$('topics topic',lessons) == 4
In IE6, it differs, with:
$('topics topic',lessons) == 48
I think this is related to an issue where with IE and jQuery it is not
reading the returned data as XML because the response type is not text/
xml. If you do
Thanks James...
Here's what I've got working:
$('.item-list ul li').each(function(i) {
$('.visual-cue p').append(span/span);
});
$('.visual-cue p span:first').addClass('active');
$('#carousel-next').click(function () {
$('.visual-cue p
Maybe there's corrupted header/cookie data being sent with the request
that the server doesn't like. Try viewing the request headers with
Firebug to see if you see anything odd.
Then try clearing your Firefox cookies for that domain to see if that
helps.
On Aug 24, 5:47 am, hosemaria
Okay, so I'm working on this site, currently I have this jquery code:
$(a.show).click(function(event){
$(a.show[id=+this.id+]).removeClass(show)
$(a[id=+this.id+]).addClass(hide)
$(div[title!=+this.id+][class=news]).hide(500)
Have you tried something like:
$(a.show).click(function(event){
$(this).removeClass(show).addClass(hide);
$(div[title!=+this.id+][class=news]).hide(500);
$(div[title=+this.id+][class=news]).show(500);
$(function(){
$('a.show').toggle(
var $id=$(this).element('id');
function(){
$('#+$id).removeClass('hide');
},
function(){
$('#+$id).addClass('hide');
Thats not what I wanted, I wanted to make the link show a hidden div.
And once the div is shown, it should change the link to hide the div
again once its clicked. but hiding/showing it with the hide show
animation.
On Aug 25, 12:24 am, marksimon zen...@gmail.com wrote:
$(function(){
I have tried the exact same setup as yours, but it did not work.
On Aug 25, 12:14 am, James james.gp@gmail.com wrote:
Have you tried something like:
$(a.show).click(function(event){
$(this).removeClass(show).addClass(hide);
Trying to use superfish / jquery navigation on a site. Works great on
my Mac (Safari Firefox), but in IE (not sure of the version) the
drop-downs go behind the SWFs that sit just below the nav. Here's a
link to the site:
http://www.baitcreative.com/rolling_hills/
Is there an easy fix for this?
Anybody know if there is any way to return a list of files
Hello,
(Sorry for my english, it isn't my native language.)
I would want to show a div (the information about the song) when the
visitor hover on a cover art on a radio website but this div overlap
the cover art with an opacity of 0.7
You can see an example here:
Great tool. I am using circular feacture of this library. I am getting
one problem of delaying. Open “examples/special_circular.html” file
and add
scroll: ‘5′,
visible: ‘5′,
in
jQuery(document).ready(function() {
jQuery(’#mycarousel’).jcarousel({
wrap: ‘circular’,
scroll: ‘5′,
visible: ‘5′,
Clearing Cookies doesn't work
I am newbee with analyzing headers responses. This are info taken from
Fiddler debuger (FX responses). If you could help me to find something
odd I will be grateful.
Request Header:
POST /manager/www/admin/parking_cfg.php HTTP/1.1
Host: www.somedomain.com
Is it possible to return Query results from a jquery $.ajax POST call?
It seems as though it will only return one value. What am I missing?
var formval = { preceptname:$(this) .val()};
$.ajax({
type: POST,
url: request_processor.cfm,
dataType: text,
data:
Hi George,
It appears that your code isn't working because the context of your
this pointer changes in the callback inside of your fadeout effect.
it becomes your section title. So when you do a find on it, you find
only children of the section title that are of the class explanation
-- which
On 7 ago, 06:06, Christer Bygdestam christer.bygdes...@gmail.com
wrote:
Hi,
I'm trying to get Joerns awesomeautocomplete-plugin to work with
UTF-8 but I've had no luck in making it work. Has anyone managed to
query the backend using UTF-8 encodendcharacters?
Right now I'm trying my best to
Got it working, with the animation too.
$(function(){
$('a.show').toggle(
function(){
var $id=$(this).attr('href');
$('#'+$id).show(500);
} ,
You can also take a look at Aptana Studio at http://www.aptana.com/
It's free, based upon Eclipse and has a PHP IDE as well as support of
the major javascript libraries (jquery,mootools,ect.)
On 24 Aug., 15:48, Michael Lawson mjlaw...@us.ibm.com wrote:
As a codeigniter fanboy, I'd be very
Hi.
When i try to make an ajax request like:
$.get( http:localhost:3001/account/create.json, SignUp.onComplete );
I get the following error in the firebug ( Net ):
OPTIONS - 405 Method Not Allowed
Is it related to cross-domain request?.
Hi,
i'm trying to clone a row in a table with events attached to it.
I initialy have the following html code to duplicate :
tr
td
input type=text id=users name=users[] class=users /
/td
td
input type=text id=expiration name=expiration[]
class=expirationDate /
Hi, i've read through a lot of documentation and tutorials, but i'm
still kind of stumped as to how i would get this project started. I'd
like to make a small application that basic sorts images based on two
criteria that are selected by the user. eventually i would like those
criteria to be
It seems this is working in the latest jQuery UI Effects development branch:
http://jquery-ui.googlecode.com/svn/branches/dev/effects/ui/effects.core.js
example: http://jsbin.com/ogono
Give that a shot. If you find any issues, please bring them up here:
head
meta http-equiv=Content-Type content=text/html; charset=utf-8 /
titleUntitled Document/title
style
.hide {
display:none;
}
/style
script type=text/javascript src=../jquery/jquery.js/script
script type=text/javascript
$(function(){
$('a.show').toggle(
Ah got it. I assumed it was part of jquery core and didn't need UI.
Thanks.
On Aug 24, 7:13 pm, Richard D. Worth rdwo...@gmail.com wrote:
It seems this is working in the latest jQuery UI Effects development
branch:http://jquery-ui.googlecode.com/svn/branches/dev/effects/ui/effects.c...
If you use the dataType:'json', you can return the data in JSON
format, which you can use in Javascript just like a Javascript object.
This will allow you to store more data in one response. Other options
are HTML and XML as the respose type, but may require more parsing
work to get the data you
clone(true) should do the trick. Though before there was a bug with
this function where the events would not be cloned (in IE, I think). I
don't know if that issues still exists, but try it out.
Documentation: http://docs.jquery.com/Manipulation/clone#bool
On Aug 24, 7:10 am, Julien
try setting your wmode on flash to
param name="wmode" value="transparent" /
jim wrote:
Trying to use superfish / jquery navigation on a site. Works great on
my Mac (Safari Firefox), but in IE (not sure of the version) the
drop-downs go behind the SWFs that sit just below the nav.
Does it work if you change your AJAX submit method type to GET,
instead of POST?
On Aug 24, 12:58 pm, hosemaria hosema...@gmail.com wrote:
Clearing Cookies doesn't work
I am newbee with analyzing headers responses. This are info taken from
Fiddler debuger (FX responses). If you could help me
What happens if you take your URL:
http:localhost:3001/account/create.json
and paste it into the address bar in Firefox and then hit Enter?
Do you see it add something that was missing? :-)
BTW, I assume your app is running on localhost:3001, is that right? I'd
suggest using a relative URL
It looks like the problem is that the form is submitted into generated
Iframe, which doesn't have references to jquery or other JS libraries
that you might be using.
I'm not too sure if there is an easy way around it as my JS/jquery
skills are far from perfect. One of the dodgy solutions that
Michael,
From his last statement / question , it seems to me that he is making the
ajax request from a different server than the application itself.
Hence I don't think he can use the relative URL that you're suggesting.
Now coming to the error, I am not sorry but I don't have a very good idea
Hi All,
I'm trying to use jquery.calculation to calculate some text inputs
versus a selected field. I'm running into an issue with using
variables to select information from the same row. Here's what I have
so far. Any help would be greatly appreciated:
script type=text/javascript
I need to get the css hover color of an element. Since hover is a
pseudo class of a class or id, I do not see a way of returning the
color.
I tried:
$('.contentArea a:hover').css('color');
but it does not return the hover color.
I understand that jQuery probably traverses the inline styles
Hi,
I am trying to use this menu on my website - i bought this template
and im trying to implement the superfish menu on it, but its giving me
major problems. I can see there is a drop down there that shows up on
hover BUT its hidden and cut because of the table? i dont know - i
tried to fix it
Hello, i was trying to set some default messages for an instance of
jquery.validator. Saw that i can set only global default messages,
but not per instance... so i found a way of doing i but i need to add
a line on jquery.validate.js file:
@line 548 (jquery.validate.js):
I know this has been solved but thought I might add my own solution to
a similar problem causing the same error message in IE, in case it's
helpful to anyone.
It was the DTD declaration - make sure it's first thing in the file
and make sure it's correct! Some how, something had been inserted
It seems to me the first step would be getting your data into your
item list.Something like:
div id=recipeList
div class=recipe hot italianPizza/div
div class=recipe hot italianSpaghetti/div
div class=recipe cold frenchPastry/div
div class=recipe hot frenchSnails/div
/div
Once you know what
I am designing a site that is jquery heavy.
When the site loads it takes a while for all the scripts to load and
then the images to settle down - more so in IE, naturally.
I would ideally like to display a black screen or cover everything
with a div while it settles down. I have tried a few
if you used the loading plugin: http://plugins.jquery.com/project/loading
$.loading(true, {mask:true, maskCss:{background:'#000', opacity:1}});
and when all is ready:
$.loading(false);
See the demo page for the project to get a feel for more options and
also some nice CSS you can use to
Hi,
That's perfect. Thanks.
Just to follow up. Is it enough to use just the jquery.loading.js? Or
must I also source the other scripts below that the demo uses? The
documentation is not clear
script type=text/javascript src=../../jquery.1.3.2.js/
script
script type=text/javascript
Hi,
Lightbox is not showing on prod site, but its working on local box
and internet.
Any idea what may be the problem?
Thank you,
Ramanjaneyulu
94 matches
Mail list logo