I am so proud of me:
$('#schuppen-wrapper,#kirche-wrapper,#openair-wrapper,#andererort-
wrapper').hide();
var showit = $(#form1 #ort_id option:selected).attr(value);
switch(showit)
{
case 1:
$('#schuppen-wrapper').show();
Hi Brad, I replied on the UI mailing list. To not cross-posting is
highly apreciated by me :-)
--Klaus
On Sep 10, 9:33 pm, Brad [EMAIL PROTECTED] wrote:
Let me try to better explain what I'm trying to do.
I have a page that has 5 tabs on it. These tabs are loaded via Ajax.
Each loaded tab
You mean the animation? I'm sorry, currently not. Implement cross-
fading is on my list though...
--Klaus
On Sep 10, 3:57 pm, Chad Pry [EMAIL PROTECTED] wrote:
Is there a way to get the tabs rotation effect to overlap just a
little bit?
Hi Klaus
Thanks for your reply:
By calling the tab directly, I mean to load a tab from an external
page or by entering the url (from the tab) in the browsers address
bar.
calling from the tab itself means to click a tab to load its
contents.
See an online demo from your demo page (first
Awesome; In the past, I used UI but never this feature.
I'll study the code.
Thanks!!
On 11 sep, 04:04, Richard D. Worth [EMAIL PROTECTED] wrote:
Take a look at jQuery UI Selectables:
Docs:http://docs.jquery.com/UI/Selectables
I am getting a data response from post in the form of
variable1 | variable2
I am having trouble splitting this and applying the results to where
its needed.
$.post($(this).attr(href)),{},
function(data)
{
update = data.split('|');
Hi all,
I have been wrestling with this all day and finally found a solution
only to find it doesn't work in IE6!
Here is my HTML -
[code]
dl
dt class=sectiona href=Solutions by Business Need/a/dt
dl
dt class=solutiona href=Solution 1/a/dt
Hi Klaus
Thanks for getting back.
Calling the tab directly means calling the page NOT from the Tab(s)
but from an external link or by passing it in the browsers address
bar.
Calling from the tab itself means, calling the tab by clicking on a
tab-button-link (swithing from one tab to the other).
Hi,
We are using jQuery 1.2.6. in a page which have a div will be visible or
invisible.
Our problem is that, when we click Uye Ol button on page the div sets css
display block or none but if mouse going out of the button input items in
the div floating left.
You can visit the page :
I am using datePicker and on the basic of selected start and end date
i get data from databse.The problem i am facing is,if i dont click on
any of two date field and click the subsit button it closes my browser
by giving this widnow error in popup Internet Explorer has
encountered a problem and
Howdy all,
I've fiddled around a little with jQuery and I can see it's extremely
powerful. However my experience and knowledge toward jQuery is (very)
limited.
I'm working with Drupal which has jQuery integrated into it, and
basically I need to create a 2 level dependant dropdown list.
That
I've searched here and found a few old discussions, but what are the
current recommendations for a good code editor, preferably with a
jQuery intellisense type plugin ? (Yep I've been a microsoft boy for
too long!)
Hi Miguel,
try set the element style position:absolute which id is tooltip.
#tooltip{
position:absolute;
}
On 11 Eylül, 04:18, shapper [EMAIL PROTECTED] wrote:
Hello,
Please check my
form:http://www.27lamps.com/Beta/FileStyleValidate/FileStyleValidate.html
Why does the ToolTip
I think you can get dimensions of div, dimensions of p, their
positions, and than calculate if p is overflowed.
OK, I hope the answer to this is 'do it this way or that way noob!'
I make this statement while in a loop:
$( (#audioin+i) ).bind(change, { roomnum: roomindex, itemid:i,
member:'audioin' }, updateItem);
// roomindex, i, and audioin are known-good vars with values.
my function:
function
Does jQuery provides a way to convert to JSON string?
Felix Halim
There are plugins that provide that functionality. This is a great
option as well:
http://www.json.org/json2.js
Mike
Hi,
I corrected and styles my ToolTip ...
However, if you note that is still a problem with the Input of type
file ... it only shows the tooltip over the styled browse button and
not over the input.
Do you know what I need to do to solve this?
Thanks,
Miguel
On Sep 11, 9:03 am, TheBoyaci
I think you mean something like this:
http://plugins.jquery.com/project/viewport
On 11 Sep., 12:22, Andrew Lysyuk [EMAIL PROTECTED] wrote:
I think you can get dimensions of div, dimensions of p, their
positions, and than calculate if p is overflowed.
Stefan,
Any particular reason why you'd want to do this??
Usually its the opposite... posting form fields normally (usually
easier to interpret by the server-side script) and then returning a
JSON object to jQuery, in which case you can use $.getJSON()
Alex
On Aug 29, 3:19 am, Stefan Sturm
.mouseout( function() {
setTimeout('$
(this).children(ul).css(display,none);', 500);
Another option that works better instead of using getTimeout and such
in jQuery is to use animate(callback) on an already visible
element...
ex:
.mouseout(function(){
not sure about the whole overflowed DIV thing but in general
$('p:visible') will select only visible p elements
On Sep 10, 9:06 pm, spaceage [EMAIL PROTECTED] wrote:
Is there any way to use jQuery to determine which elements/items are visible
within a div that is overflowing?
ie. let's say
check this thread out:
http://groups.google.com/group/jquery-en/browse_thread/thread/f4277815d73f06ca?hl=en
its mainly about loading multiple libraries but the concept of
appending elements to the DOM vs using document.write() might work for
you :)
On Sep 10, 4:39 pm, henry [EMAIL PROTECTED]
Excellent! I've tried on two separate occasions to get this type of
scrolling on my app but haven't been successful. I'll try this latest
one and hopefully it works.
Thanks again.
Brian
On Sep 10, 11:56 pm, Ariel Flesler [EMAIL PROTECTED] wrote:
Hi all
After many months of
Should just be a matter of checking the keypress event:
http://docs.jquery.com/Events/keypress#fn
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, September 10, 2008 6:10 PM
To: jQuery (English)
Subject:
So if you are used to MS stuff, why not Web Developer Express or
Studio 2008? both support intellisense with jQuery
Is it possible to add a class to links based on what page you are on?
Or have a onClick class hold through the page load?
I've had some success with the hotkeys plugin:
http://code.google.com/p/js-hotkeys/
Check out the demo: http://jshotkeys.googlepages.com/test-static-01.html
-- Owen
I'd like to make use of this function:
http://jennifermadden.com/javascript/stringEnterKeyDetector.html
to prevent the enter key from submitting forms (we'll be using barcode
scanners to enter data into a form, and we don't want forms submitted
prematurely).
That script as it is requires the
Hi Joel,
THANK YOU SO MUCH ... a honest very big Thank You :-)
That helped :-)
One final remark:
I tried to use parameters with the default text:
script type=text/javascript
// initialise plugins
jQuery(function(){
Hi
I have written some code that slides items within 2 divs, at the same
time
First on the left is an image that slides to the next and on the right
is text.
All works good except the element div that contains the text wont
slide any contents except pure text. It wont slide any h1/h1 h2/
h2
Hi,
you use FileStyle plugin so that this plugin change your file input
label for=PathFile/label
++added by FileStyle plugin input class=file style=display:
inline; width: 320px; alt=/
and wrapped your input file by FileStyle plugin
div style=background: transparent
Hi Kelly,
This is a wonderful plugin! I love it.
I just have one little suggestion regarding naming: rather than
spelling it .Jcrop() with an uppercase J, it would be more
consistent with other plugins and with jQuery core methods (and
jQuery itself) if it were .jCrop() with a lowercase
That worked. Thanks!
On Sep 9, 8:23 pm, Mike Alsup [EMAIL PROTECTED] wrote:
The goal is to have a cycle that runs along with a pager. The pager
is custom and works on hover. Additionally, I want the cycle to pause
while you're hovering on a pager item, and resume once you've left.
The animate method inside the onAfter function gets fired on initial
page load, which makes the height of the container 0px.
Sounds like you just need to ignore the first onAfter callback?
In Safari, the toggle event is skipping a function. Here's an example
of what it's doing:
[code]
$(a).toggle(
function () {
$(this).css({list-style-type:disc, color:green});
},
function () {
$(this).css({list-style-type:disc, color:red});
},
function () {
I just changed the plugin and it worked great!
Thank You Very Much!
Miguel
On Sep 11, 1:27 pm, TheBoyaci [EMAIL PROTECTED] wrote:
Hi,
you use FileStyle plugin so that this plugin change your file input
label for=PathFile/label
++added by FileStyle plugin input class=file style=display:
you could read the value of
location.href
and do what you need to do off that
You mean you couldn't manage to implement it ?
If you can provide a demo, I'll tell you what's going on.
--
Ariel Flesler
http://flesler.blogspot.com/
On Sep 11, 10:05 am, Brian Schilt [EMAIL PROTECTED] wrote:
Excellent! I've tried on two separate occasions to get this type of
scrolling on my
$(#myform input).keypress( function( e ) { return
checkEnter(e); } );
--
Ariel Flesler
http://flesler.blogspot.com
On Sep 11, 11:16 am, owen [EMAIL PROTECTED] wrote:
I'd like to make use of this function:
http://jennifermadden.com/javascript/stringEnterKeyDetector.html
to prevent the enter
A coworker is trying to use this combination of codes to get a basic
validation working for a form he's building. It works just fine in FF2, but
does nothing in IE6, with no errors.
Does anyone know of any reason why this shouldn't work?
Andy Matthews
Either you update to latest version (1.2.6 + 1.4) or you at least
provide a testpage - can't help you otherwise.
Jörn
On Thu, Sep 11, 2008 at 5:04 PM, Andy Matthews
[EMAIL PROTECTED] wrote:
A coworker is trying to use this combination of codes to get a basic
validation working for a form he's
Okay...
I'll get him to upload a test page when he gets back. Thanks Jörn.
andy
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jörn Zaefferer
Sent: Thursday, September 11, 2008 10:15 AM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re:
From what I can tell from the spec, it looks like the only valid
child elements of a dl are dt and dd.
http://www.w3.org/TR/html401/struct/lists.html#h-10.3
Perhaps that's the problem? Have you run your page through an HTML
validator? If not, try this one: http://validator.w3.org/
--Karl
Rewritten:
---
style
.gallery {background:red;}
.list {background:green;}
/style
script language=javascript type=text/javascript
$(document).ready(function(){
$(#thing).click(function(){
I always feel VS in all its incarnations is a bit clunky, and a bit
heavy. Its a necessary evil for dot net development, but I'd prefer
to avoid it where possible. I know many love it, but its just not
'me'.
I'm building a clean development machine and I don't yet need to
install VS, so I wont.
Maybe you could overlay the IFRAME during the resize process. This
would prevent mouse from going off the page.
Best,
Cory
On Sep 8, 9:05 pm, Brandon [EMAIL PROTECTED] wrote:
I assume this is more of an issue with FireFox and iframes but maybe
someone here can help me. I am using jQuery
Wondering if someone can help track an issue. I'm using validate 1.1 with
JQuery 1.2.3 (can't upgrade at this time). I have a simple login form, and
trying to validate that the fields aren't empty prior to submit. Working
great in Firefox, but IE doing nothing, and not throwing an error:
Hi Mike,
Thanks for the response.
How would I ignore the first callback? Didn't know that was possible.
Thanks again.
On Sep 11, 7:40 am, Mike Alsup [EMAIL PROTECTED] wrote:
The animate method inside the onAfter function gets fired on initial
page load, which makes the height of the
Aptana might be a consideration. Or there's also the Eclipse IDE with
the Aptana plugin.
On Sep 11, 10:41 am, Andiih [EMAIL PROTECTED] wrote:
I always feel VS in all its incarnations is a bit clunky, and a bit
heavy. Its a necessary evil for dot net development, but I'd prefer
to avoid it
Its working now! I couldn't get it to work when I tried $
('ul.nav').localscroll(); So instead I just did $.localscroll(); and
put in some options and its work'n good.
Brian
On Sep 11, 10:49 am, Ariel Flesler [EMAIL PROTECTED] wrote:
You mean you couldn't manage to implement it ?
If you can
validate() adds a submit handler. Adding that to the form inside your
own submit handler results in undefined behaviour. Please take a look
at the basic documentation on how to properly use the validate method:
http://docs.jquery.com/Plugins/Validation#Example
In your case something like this:
It turned out to be pretty simple.
You put
$('#showsList')
And
ul class=showsList
They obviously don't match :)
--
Ariel Flesler
http://flesler.blogspot.com/
On Sep 10, 8:51 pm, pedalpete [EMAIL PROTECTED] wrote:
I've upgraded to 1.2.6, and added an alert to show that scrollToshow()
is
And for todays lesson, this is how we hang our heads in shame... :(
SSSO sorry about that Ariel - I checked that like 3 or 4 times
after the function, but apparently didn't check before the function
On Sep 11, 11:46 am, Ariel Flesler [EMAIL PROTECTED] wrote:
It turned out to be pretty
Thanks both for your input. I guess the question is, there cleraly
seems to be a way to detect if a key is pressed, and there is a way to
define a click event, but how would I do a combination?
Is the easiest way to capture the event when the Ctrl key is pressed,
set a flag, and check if that
Well I lied a little but it's $.ajax ith the datatype set to script:
var _this = this;
var url = http://maps.google.com/maps;;
var data = {
file:api,
v:2,
Hello,
thanks for your answer.
I made it the way you say. I build my json string in the beforeSubmit
function. So, now I have a correct json string, but how can I replace
the post array?
Sorry, but I hang at this point.
Thanks agin for your Help,
Stefan Sturm
2008/9/9 Mike Alsup [EMAIL
Thanks, I will try that.
On Sep 11, 4:09 am, Alex Weber [EMAIL PROTECTED] wrote:
check this thread
out:http://groups.google.com/group/jquery-en/browse_thread/thread/f427781...
its mainly about loading multiple libraries but the concept of
appending elements to the DOM vs using
anyone?
On 7 Септ, 20:00, Julian [EMAIL PROTECTED] wrote:
Thanks for the fast response, but after i use flushCache() there are
no results after i press key into the inputbox.
I ask this question because i use more than one input box with that
data, and after i update the JSON data i must
Just do something like this:
$(document).click(function(e) {
if(e.ctrlKey) {
console.log(Ctrl+Click);
// your code goes here...
} else if(e.altKey) {
console.log(Alt+Click);
} else if(e.shiftKey) {
console.log(Shift+Click);
}
});
I have just add 2 other events
On 11
I am trying to append some HTML to an object. It includes href's and
onclick events, but for some reason in AIR the onclicks don't seem to
fire.
var pageName = 'text';
var x = 1;
var newPageData = div class='panel' id='r+x+'span
class='pageName'+pageName+ +
a href='javascript:void(0);'
Hi - I have a function which iterates through a json file in order to
build an FAQ page. Within the json are several different categories,
and I want to make a generic function that will return only the
appropriate items from the chosen category.
Currently it looks like this:
I think this is not very perfect.
what do you think of this?
$(document).ready(function(){
$(#thing).toggle(function(){
function () {
$(#resultsview).removeClass('list').addClass('gallery');
}, function () {
$(#resultsview).removeClass('gallery').addClass('list');
});
var myCategory;
If (eating cheese)
myCategory = data.cheese;
If (eating bread)
myCategory = data.bread;
...
$.each(myCategory, function(i, item)
{ do a ton of stuff
}
Another option is to use eval(), but that command is evil. :)
myType = cheese;
eval(myCategory = data.
Why are you using onclick attributes? jQuery supports the click event
natively (which also works in AIR apps:
Looks like for your HTML the jQuery might be this:
$('span.pageName a').click(function(){
// do something here
});
This has the added benefit of cleaning up your HTML and
In my experience, problems of Works in FF but silently fails in IE
are almost always extra commas at the end of objects -- {a: 1, b:2, }
sorts of things.
On Thu, Sep 11, 2008 at 5:04 PM, Andy Matthews [EMAIL PROTECTED]
wrote:
A coworker is trying to use this combination of codes to get a
Hello,
I am trying to make the ToolTip Bassistance to work with TinyMCE:
http://tinymce.moxiecode.com/examples/full.php
I want to display a message when the user places the mouse on the
content area which renders as follows:
body id=tinymce class=mceContentBody spellcheck=false
title=this is
i am trying to use data i am getting back from $.post but I am not
able to get the function with the data in it to work
$(a.rater).click(function(event)
{
$.post($(this).attr(href)),
function(data)
{
I've been exploring several options to load various jQuery plugins
only when needed, from within a javascript file. I've used
the .getScript() method, with callbacks. I've used the $
(body).append(script) method also. They work fine, but with
one shortcoming. Because both of these methods
I can't change the cursor for the jQuery BlockUI Plugin... Am I the
only one ?
// override these in your code to change the default behavior and
style
$.blockUI.defaults = {
// message displayed when blocking (use null for no message)
just use data[myCategory]
myCategory = cheese
data.cheese = brie;
data[myCategory] == brie
Brad wrote:
var myCategory;
If (eating cheese)
myCategory = data.cheese;
If (eating bread)
myCategory = data.bread;
...
$.each(myCategory, function(i, item)
{ do a ton of
Hello,
I have a page here where the ScrollFollow plugin for Jquery is
conflicting with the phatfusion plugin in mootools.
The scrollfollow is on the bottom left ribbon button. The phatfusion
is on the 4 vertical photos you see in the banner area.
http://67.199.21.74/default.asp
I have
Hi, great tooltip.
I have been trying to get the tooltip to display on click. I believe
its most useful to have this show on click, rather on hover(feel like
I am on a mine field).
I tried adding event: click, but it doesnt seem to work
Hi there,
I have a page (http://anf.ucsd.edu/spevents/2008/255/b/) that has a
series of tabs. If you click on the 'Waveforms' tab you will see a
list of three plots to select from. Before clicking on any of the plot
links, notice that the content after the waveform image (starting with
the title
You weren't so wrong.
var myCategory = cheese;
$.each(data[myCategory], function(i, item) {
//do a ton of stuff
});
http://docs.jquery.com/Types#Array_Notation
On 11 Sep., 22:36, Brad [EMAIL PROTECTED] wrote:
var myCategory;
If (eating cheese)
myCategory = data.cheese;
Hello,
I have a page here where the ScrollFollow plugin for Jquery is
conflicting with the phatfusion plugin in mootools.
The scrollfollow is on the bottom left ribbon button. The phatfusion
is on the 4 vertical photos you see in the banner area.
http://67.199.21.74/default.asp
I have read
Just something I would like to add:
if you now say: e.shiftKey doesn't work!!
it is right... but will be fixed in the next release of jQuery, see:
http://dev.jquery.com/ticket/2947
On 11 Sep., 22:10, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Just do something like this:
var myCategory = cheese;
$.each(data[myCategory], function(i, item)
{ do a ton of stuff
}
I can't change the cursor for the jQuery BlockUI Plugin... Am I the
only one ?
Where do you see the wait cursor? On the overlay? Use the overlayCSS
option to override it there.
Mike
thanks for your answer.
I made it the way you say. I build my json string in the beforeSubmit
function. So, now I have a correct json string, but how can I replace
the post array?
Sorry, but I hang at this point.
beforeSubmit: function(arr) {
var json = // ... build json string
On Sep 11, 12:58 pm, Andrej [EMAIL PROTECTED] wrote:
Hi Mike,
Thanks for the response.
How would I ignore the first callback? Didn't know that was possible.
Thanks again.
var first = true;
function onAfter(...) {
if (first) {
first = false;
return;
}
// normal
i am trying to use data i am getting back from $.post but I am not
able to get the function with the data in it to work
$(a.rater).click(function(event)
{
$.post($(this).attr(href)),
function(data)
{
$( document ).ready( function () {
$( '#call' ).scrollFollow( {
container: 'wrap'
} );
} );
change the scrollFollow call to:
jQuery('#call').scrollFollow(
TextMate. Not on a Mac? Just switch. :D
On Sep 11, 7:33 pm, real [EMAIL PROTECTED] wrote:
Aptana might be a consideration. Or there's also the Eclipse IDE with
the Aptana plugin.
On Sep 11, 10:41 am, Andiih [EMAIL PROTECTED] wrote:
I always feel VS in all its incarnations is a bit clunky,
Yes the click event works. But it will require a lot more programming
since the HTML being added is generated via Ajax. I guess I could
bring the data in via json and assemble the HTML objects from within
the original script.
I am curious why it works in safari but not webkit/air.
Thanks for the
I just got jQuery jsonp to work with coldfusion remote CFC's
The response has to look something like this
hello2({cobblers:[{filling:peachremote,timeToBake:30},
{filling:cherry remote, timeToBake:35},{filling:blueberry
remote, timeToBake:30}]})
or this
hello3([1.0,2.0,4.0,9.0])
hello2 and
Hello all,
I'm trying to use tablesorter and dynamically generate a list of rows
form a search form. When adding a lot of rows things seem to freeze
and eventually the table generates.
Does anyone have any suggestions on how to handle this? I thought
maybe appending x number of rows and then
I've had problems with not specifiying the 'data' to be sent to the
server on a post ,ie:
$.post(url,{data:{}});
You might try that and see if it fixes it
On Sep 11, 3:32 pm, Mike Alsup [EMAIL PROTECTED] wrote:
i am trying to use data i am getting back from $.post but I am not
able to get
Greetings from Sareen,
Dear Partner:
Below is my requirement, please read the job description and submit your
consultants updated resume with contact information, rate, and availability.
Please do send me your HOT LISTS. Thanks
Based in Downers Grove, IL.
Local Candidates ONLY
Duration: 3-6
88 matches
Mail list logo