this might help:
http://www.ihwy.com/labs/demos/Current/image-hover-menu.aspx
- Jack
yaayme wrote:
Hi!
I'm trying to add a menu of tabs that show and hide as you hover over a div.
I think I have it working, but I also want to allow people to click on the
tabs which will take them to other
hector, hi. thanks for that, yes, you are right with the find()
function.
Try this:
$().ajaxSend(function(event, XMLHttpRequest, ajaxOptions) {
$.extend(ajaxOptions.data, {username: $(#Username).val()});
});
This would add the username to each request. Modify as necessary.
Jörn
On Mon, Nov 24, 2008 at 8:07 PM, megageorge [EMAIL PROTECTED] wrote:
Is it possible to
Hi,
Put it at the very bottom of your page.
$(document).ready are executed in LILO order.
I think that's the only thing it which always works.
Pierre
Rodney Dangerfield - I looked up my family tree and found out I was the
sap.
2008/11/25 MarcelloP [EMAIL PROTECTED]
Hi all!
Please, I'm in
Thanks Brandon, that looks very interesting.
Ive read a lot about event handling in jQuery and there seems to be a
lot of different plugins, so it was hard to decide which one is best
suited.
Is there a time when livequery is more suitable than listen?
Or even a time when I might want to use
Hi everyone,
How can I send login credentials with jQuery Ajax request (get(), post
() or ajax()) when the page I'm requesting is asking for them before
permitting the access.
Note here that I'm not talking here about form-based authentication.
Thanks in advance.
Is the content of the pop-up (including the close link) an external file?
In any case, why not just give the pop-up div an ID?
On Tue, Nov 25, 2008 at 12:05 AM, Namrata Vagyani
[EMAIL PROTECTED]wrote:
This is also not working :(
On Mon, Nov 24, 2008 at 7:51 PM, Isaak Malik [EMAIL PROTECTED]
I´m trying to make an dynamic page with XML values. When the visitor click
on an item it replaces the content. But it is not doing his job. This is the
code:
$('a').click(function() {
var key = $(this).attr('id').charAt(4);
$('a').click(function() {
var key = $(this).attr('id').charAt(4);
Hi all,
We've attempted to write a game in jQuery and learnt a lot doing it.
We started with a base of gameQuery (http://gamequery.onaluf.org/)
which makes most of the collisions/sounds etc possible.
http://www.vertigo-project.com/projects/redline-game -- any opinions /
suggestions welcome. One
Could someone help me figure out how to load the total number
returned in the post request into the total variable of the object?
Currently, the value of this.total remains zero through the script
even though the post returns 12.
$(document).ready(function() {
function
I am new to jquery and am having a hard time figuring out this
problem.
I want to hide certain table rows containing form fields when a page
loads and only show them when the rel value in a select option equals
the rel value of the table row.
The first part is simple
$(function(){
top site?
1Mb homepage downloadjq and proto...hmmm
Am I missing something?
On Nov 25, 4:37 am, Andy Matthews [EMAIL PROTECTED] wrote:
I used to work for the web company who developed the original BAM
site, and now a friend of mine is project manager for them. They just
released a new
As per my understanding, you want jQuery to read a folder on your
server and extract all the images there, right? If so, I don't think
it's possible. jQuery is client-side scripting platform (JavaScript)
and it runs on your browser not your server.
Yes, you may integrate it with serer-side script
Hello,
I tried to load a .svg vector graphic with $.ajax, which works
perfectly well in FF and Opera, but not in Internet Explorer.
My script looks like this:
$(document).ready(function(){
$.ajax({
type: GET,
url: test.svg,
dataType: xml,
I've some pages which have quite a lot of content and the client wants
some kind of loading animation to be displayed while the page loads.
I fiddled around with a few ideas but wasn't very happy with the
results. I realised that it'd be best to just extend jCarousel to
allow it to hide the
LiveQuery supports the whole set of selectors, while Listen doesn't.
There's also Intercept, which is sort of in the middle. It uses event
delegation, and supports any selector.
But it also has more overhead than Listen.
IMO, If you can solve your situation with Listen, than go ahead. But
if
Hi,
If the authentification is form-based, then the login credentials is passed
by GET or POST.
So you just have to add it to your ajax request
see the data option.
$.ajax({
type: POST,
url: some.php,
data: name=Johnlocation=Boston,
success: function(msg){
alert( Data Saved: +
WebKit sucks parsing Dynamic XML, I had this problem and I found it
was because Gzip...
The SOLUTION in PHP, add the fallowing code in your PHP code:
header('Content-Type: application/xml');
ob_start('ob_gzhandler');
another problem reasons could be that your dynamic XML is not a real
XML, my
WebKit sucks parsing Dynamic XML, I had this problem and I found it
was because Gzip...
The SOLUTION in PHP, add the fallowing code in your PHP code:
header('Content-Type: application/xml');
ob_start('ob_gzhandler');
another problem reasons could be that your dynamic XML is not a real
XML, my
BlueSky is correct. JavaScript that runs in the browser does not have
access to either a local or server-based file system. For that you
need either: (1) a classic server-side programming language (ala
BlueSky's notes for PHP, ASP.NET, ColdFusion, etc.) or (2) a site that
runs the Jaxer server
Basic Issue: Can you use a variable in place of the index in
functions like :nthchild() and :eq() and if so, how?
Detailed description: I'm new to jquery and am trying to create an
image viewer. I've marked it up and used jquery so that when you
click on a thumbnail image, jquery returns the
I'm trying to utilize jquery to construct a menu structure that is
similar to what you see at fox.com and nbc.com. Basically I have a
menu that is a ul list, with each li selector given it's own id. Below
I have a div container for each menu item, which are set to be hidden
by jquery upon load.
Hello I finally managed to make jquery work for me. I want to set all
input tabindex to -1 (not selectable by tab key). This is what I
wrote (taken from the source of an example)
script type=text/javascript
$(document).ready(function() {
// set tabs
Hi there,
It is my goal to defer loading of images in the cycle plugin. Which I
have accomplished as follows. But please have a look at the 4th line:
$(
function() {
var imgStack = [];
$('.slideshow img:gt(2)').remove().each(function()
{
Hello I finally managed to make jquery work for me. I want to set all
input tabindex to -1 (not selectable by tab key). This is what I
wrote (taken from the source of an example)
script type=text/javascript
$(document).ready(function() {
// set tabs
Hi,
I'm a newbie to Jquery. I wrote the following function for multi
select
var quantity =0;
$(#parameters).click(function () {
var qty = 0;
$(#parameters option:selected).each(function () {
qty = qty+1;
});
$(#qty).val(qty);
return qty;
})
and the multi
You're making it much more complex than it needs to be, besides the
fact that your posted code doesn't make much sense as that return
qty isn't returning the value anywhere
$(#parameters).change(function () {
var values = $(this).val() || [];
$(#qty).val(values.length;
})
On
Well that was an edited code. Infact, I was not returning any qty in
my original code. That was mistake.
My Server side code seems to be not taking name parameters. When I
rename the parameters to parameters[], POST seems to get all selected
values other wise I get the last selected value.
I'm trying to utilize jquery to construct a menu structure that is
similar to what you see at fox.com and nbc.com. Basically I have a
menu that is a ul list, with each li selector given it's own id. Below
I have a div container for each menu item, which are set to be hidden
by jquery upon
Thank you, the problem is solved. I had to alter the id. I was
dynamically generating the multi select box, I had to rename the ID
which was same as name of select box
On Nov 25, 7:05 pm, Sai Krishna [EMAIL PROTECTED] wrote:
Well that was an edited code. Infact, I was not returning any qty in
Have you looked at the Son of Suckerfish method?
http://htmldog.com/articles/suckerfish/dropdowns/
Might be a good starting point to get everything working, then you can
customize the CSS to get whatever look you're going for.
On Nov 25, 10:07 am, serpicolugnut [EMAIL PROTECTED] wrote:
I'm
Hi all,
i am beginner on jquery framework.I want to use jquery tabs script and
i did.But on my form i click my postback button tabs reloaded.My
button in 3. tab and reloaded 1 after postback
How resolve this problem?
Hi,
I am trying to get a reference to a table row that contains an
exact match of a text. But I am getting more than one row. can you
please help me? Following is the html table structure and the jquery
script.
-- html
table
tr
tda063/a/td
/tr
tr
tda63/a/td
/tr
Hello,
When using jQuery, do have we have the option to use just the MIT
license?
Thanks,
Jason
ricardobeat,
thank you very much for your response. This is obviously my first time
working with jquery. I have translated your code to my page with some
unexpected results. When I click on any .menu ul li a all the page
does is hide the image in my main gallery which is also ran by jquery.
I
bind a mouseenter function to the menu div, then a mouseleave function
to the sub menu.
Ted wrote:
I have, and have used the suckerfish method before. The problem is
I've already created the CSS for the menus based upon them living each
in their own div, and would like to engineer them based
I have, and have used the suckerfish method before. The problem is
I've already created the CSS for the menus based upon them living each
in their own div, and would like to engineer them based upon that as
opposed to having to recode the CSS based upon another method.
Basically my HTML looks
You can also run it on page load (as opposed to DOM ready):
$(window).load(function(){
// scripts to run after page load here
});
- ricardo
On Nov 25, 8:08 am, Pierre Bellan [EMAIL PROTECTED] wrote:
Hi,
Put it at the very bottom of your page.
$(document).ready are executed in LILO
IE7 doesn't support SVG afaik.
On Nov 25, 6:08 am, w-o-m [EMAIL PROTECTED] wrote:
Hello,
I tried to load a .svg vector graphic with $.ajax, which works
perfectly well in FF and Opera, but not in Internet Explorer.
My script looks like this:
$(document).ready(function(){
$.ajax({
Hi,
I think that's a bug.
The data are generated well in decending order, such as 54, 31, 0, No
data.
But, the order is 0, No data, 31, 54 in acending order.
Am I right?
On Nov 24, 9:51 am, Carpii [EMAIL PROTECTED] wrote:
On Nov 22, 10:24 am,hyon[EMAIL PROTECTED] wrote:
Hi,
When desc
Hi,
I think you must use the filter function.
I made this little test :
var mySearch = '63';
$('table tr:contains('+mySearch+')').filter(function(){
if ($.trim($(this).text()) == mySearch ) {
return true;
}
else{
return false;
}
});
The text() method removes all
So what I could do is use something like PHP, to pull images from the folder
place them into a array, use the math function to pull something at random
then use Javascript to style the information. Would this be possible to do
with Python? I have some experience with Python. And or Ruby?
I'm not sure of that.
In the doc of the ready event, it says
Please ensure you have no code in your body onload event handler,
otherwise $(document).ready() may not fire.
Rodney Dangerfield - I looked up my family tree and found out I was the
sap.
2008/11/25 ricardobeat [EMAIL PROTECTED]
any server side language.
fr0st003 wrote:
So what I could do is use something like PHP, to pull images from the folder
place them into a array, use the math function to pull something at random
then use Javascript to style the information. Would this be possible to do
with Python? I have some
Your code, exactly as it is, works perfectly for me. I didn't include
the tablesorter plugin in my test.
results:
=quack quack= PlaintextSPANElem/SPAN (IE7)
=quack quack
= PlaintextspanElem/span (FF3)
- ricardo
On Nov 25, 1:30 am, Rodent of Unusual Size [EMAIL PROTECTED] wrote:
I still can't
Those are not anchors so it's not scrolling because of the click. I
guess the scrolling happens when the content is being replaced, do you
have a test page up somewhere?
On Nov 24, 8:20 pm, tmat [EMAIL PROTECTED] wrote:
Greetings!
I'm developing a list of events, and when someone clicks on the
http://www.parkerfox.co.uk/labs/pixelperfect/
Is a bookmarklet that will allow you to drag elements around any page
and informs you of the new coordinates.
Uses jQuery and jQueryUI
For eq() you can use
$('.images').eq(variable)
nth-child doesn't have it's own function, but you only need to add the
variable to the selector string:
$('.images:nth-child('+variable+')')
- ricardo
On Nov 25, 11:29 am, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Basic Issue: Can you use a
Pretty cool - thanks for sharing!
On Nov 25, 8:30 am, weepy [EMAIL PROTECTED] wrote:
http://www.parkerfox.co.uk/labs/pixelperfect/
Is a bookmarklet that will allow you to drag elements around any page
and informs you of the new coordinates.
Uses jQuery and jQueryUI
I am having an issue in IE 7 and UI/Tabs as follows:
I am linking directly to a tabs id from another page like so:
http://devapp/contacts/#organizations
My tab link is lia href=/appname/organizations/search/
title=organizationsspanOrganization/span/a/li
I also have a div id in the page that
How are you using this constructor? Where are you calling the methods?
On Nov 25, 1:08 am, Jeremy [EMAIL PROTECTED] wrote:
Could someone help me figure out how to load the total number
returned in the post request into the total variable of the object?
Currently, the value of this.total
Thank you that worked. I made some changes since my table row contains
more than one cell.
var mySearch = '63';
var a = $('table tbody tr td a:contains(' + mySearch + ')').filter
(function(){
//alert($.trim($(this).text()));
Thanks for noticing that. I made those changes but the error messages
keep coming.
On Nov 24, 6:21 pm, DumpsterDoggy [EMAIL PROTECTED] wrote:
I didn't notice at first, but also, your input tags aren't closed
properly either:
Should be:
input class=mls_textSmall type=text
name=txtZip
Hi,
Try removing all the comments in the javascript, Google Groups adds
line breaks that can cause errors. Also I forgot to wrap 'this' in
jQuery:
var subs = $('.menu ul ul');
subs.hide();
$('.menu ul li a').click(function(){
subs.hide();
Hi,
1. appendTo() appends content: adds content after everything that
already exists. You can use empty() to remove the contents before
appending, that's the exact same result as replace().
2. replaceAll only works the first time because you are replacing the
ol element with a div, so on the
If you have a sample url of your code, that would be helpful.
But at a guess, the flyout div is probably not a child of the main menu
element, so the mouseenter and mouseleave won't work properly. If this is
the case, it will require a minor change to the hover plumbing.
The z-index with flash
Right. That means code at the end of the body then.
I've never seen anything bad happen with that though. Anyone out there
knows the reason for this?
- ricardo
On Nov 25, 2:20 pm, Pierre Bellan [EMAIL PROTECTED] wrote:
I'm not sure of that.
In the doc of the ready event, it says
Please
Actually, I found the problem. Apparently it was an encoding issue. My
page uses UTF-8 encoding which messes up the validation plugin.
Instead, this is what the experts recommend:
---
@Greg: Thanks for investigating this. I guess the trouble is this:
jquery.validate.js is encoded as
Thanks again richardo, here is the final script that works great
$(document).ready(function(){
var subs = $('.menu ul ul');
subs.hide();
$('.menu ul li a').click(function(){
$(this).next('ul').toggle();
});
});
only problem is upon toggling of this menu it also hides the photos in
my jquery gallery
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
jQuery (English) group.
To post to this group, send email to
You can do this entirely on the client if
(1) you either know the names of all the image files in the directory
on the server or
(2) you can construct them programatically at runtime.
The latter works for instance if the file names are something like
image_1.png, image_2.png, image_3.png, ...,
Here's a link to a simplified version of the code. The mouseenter/mouseleave
events helped, but I'm seeing some strangeness on the first menu item, and
then some flickering on the others.
http://dl.getdropbox.com/u/21984/menu_test.html
Jeffrey Kretz wrote:
If you have a sample url of
With the 1.5 release you will be able to use this instead:
$(#myform).validate({
rules: {
username: {
required: true,
remote: {
url: checkusername.php,
type: post
data: {
email: function() { return $(#email).val() }
}
}
}
}
With the 1.5 release you will be able to use this instead:
$(#myform).validate({
rules: {
username: {
required: true,
remote: {
url: checkusername.php,
type: post
data: {
email: function() { return $(#email).val() }
}
}
}
}
With the 1.5 release you will be able to use this instead:
$(#myform).validate({
rules: {
username: {
required: true,
remote: {
url: checkusername.php,
type: post
data: {
email: function() { return $(#email).val() }
}
}
}
}
With the 1.5 release you will be able to use this instead:
$(#myform).validate({
rules: {
username: {
required: true,
remote: {
url: checkusername.php,
type: post
data: {
email: function() { return $(#email).val() }
}
}
}
}
I went back to scratch and did up a simplified rewrite of my plugin. I
haven't found the problem with the actual plugin yet, but at least now
I know how the architecture is *supposed* to work.
Chaining doesn't come into it (as suggested by Sean), but the test
code at
I made a few changes and reposted it here:
http://test1.scorpiondesign.com/LocalTest7.htm
Changes:
menu1 through menu5 were moved underneath their respective LIs. When the
menus were NOT children of the LIs, the mouseenter mouseleave kept firing.
#nav { position:relative; }
This allows the
Thanks Jeffrey. I solved issue# 1 almost similar way you suggested.
But I am more concern about issue # 2. I am not sure about the flow. I
want something like:
1) Click on Create Page link. I want to allow users to create data
which will be internally displayed in ulli elements and user can
Unfortunately, I'm not familiar with Action class Is this a JSP thing?
When the user saves the new page with an ajax call, is it recorded in a
database?
If so, when the user then refreshes, shouldn't the server output the new
page nodes correctly during the HTML render?
JK
-Original
except on IE 6 and 7. FF and Safari both hide the main photo in the
gallery when clicking on collapsing menu
Wow - Thanks Liam. That worked like a charm.
Liam Potter wrote:
bind a mouseenter function to the menu div, then a mouseleave function
to the sub menu.
Ted wrote:
I have, and have used the suckerfish method before. The problem is
I've already created the CSS for the menus based
Thank-you Ricardo, the syntax for adding the variable was exactly what I
needed.
ricardobeat wrote:
For eq() you can use
$('.images').eq(variable)
nth-child doesn't have it's own function, but you only need to add the
variable to the selector string:
I need to calculate the widths of the divs of class 'clause'
dynamically based on the widths of their contents, divs of class
'word'. The following code works correctly in Firefox:
jQuery('div.clause').each(function(){
var width = 0;
I am using the validate plugin. It is very cool and very handy. I
want to only show the label message error for my email and not show
them for any other inputs. Can someone help me with this?
Thanks
Mike
Hi
I have a problem with jqmodal and ui datepicker.
Often datepicker just doesn't appear when I initiate in in a jqmodal
window. Funnywise there isn't any warning or error in firebug.
than I have to clean cache in Firefox and datepicker appears again
during next load of modal window - even it
You could try this:
jQuery('div.clause').each(function(){
var width = 0;
var words = jQuery(this).children('div.word');
for (var i=0;iwords.length;i++)
{
var word = words.eq(i);
var thiswidth = word.width();
var padding =
That's true. But a SVG is still just an XML file. I don't need IE to
draw the grapic, I just need the data. My script, btw, doesn't work
with other XML's either.
ricardobeat wrote:
IE7 doesn't support SVG afaik.
On Nov 25, 6:08�am, w-o-m [EMAIL PROTECTED] wrote:
Hello,
I tried to load a
I am using Struts here...referring Action class of struts..
Yes, when user saves the page it is inserted successfully in the
database. Data is then displayed on the same page...Now, user clicks
on refresh I need to fire an event to bring the data and render HTML.
Since I manipulated DOM, I
try my treeview plugin. Maby it can help you.
http://sourceforge.net/projects/jqtreevial/
Dirceu Barquette
2008/11/25 Bhavin [EMAIL PROTECTED]
Thanks Jeffrey. I solved issue# 1 almost similar way you suggested.
But I am more concern about issue # 2. I am not sure about the flow. I
want
Hi There,
I'm getting a response back from a .net page. The response looks like
this and is variable in length. What is the best way to handle this on
the client using jquery syntax?
Sean
{first: slideshow/52/2.jpg,second: slideshow/52/2_2.jpg}
On Tue, Nov 25, 2008 at 2:12 PM, Sean [EMAIL PROTECTED] wrote:
Hi There,
I'm getting a response back from a .net page. The response looks like
this and is variable in length. What is the best way to handle this on
the client using jquery syntax?
Sean
{first: slideshow/52/2.jpg,second:
I am trying to create a small menu arrow that will appear next to an image
when moused over. The Menu arrow should go away when the user mouses out of
the image, except if the user mouses into the arrow istelf, in which case it
will display some ajax content.
function postMenus(){
I am a bit confused with all the possibilities! I am looking for cross-
browser plug-ins for
tabbing
vertical accodion
flexible pop-ups (thickbox, lightbox, facebox,...) which you also
can use for forms or a gallery.
pull-down menu that can display sub-folders and offers the option
of
On Tue, Nov 25, 2008 at 2:33 PM, lukas [EMAIL PROTECTED] wrote:
I am a bit confused with all the possibilities! I am looking for cross-
browser plug-ins for
tabbing
vertical accodion
flexible pop-ups (thickbox, lightbox, facebox,...) which you also
can use for forms or a gallery.
I still dont get it, how to bind my new loaded form.
I have installed live query now, but i am still doing it the wrong
way.
used this to bind:
$(#signupForm).bind(submit, function() { return false; })
I should expect that submitting this form, would be disabled
thenbut no
tried this:
thank you, yes i had a look at it. but i don't have the time to test
out all the available options and hence posted my question in order to
get some hands-on experiences.
Hi there,
i suppose, when you dont want to show a message error, you also do not
want validate that particular input?? (else it sounds not logic to me,
if you validate, you show error messages)
Assuming your code is derivated from the example from the plugin,
you see rules and messages inside
The error message does indicate that it does not like something about
XML.
Try folowing.
1. Save xml on your drive and simply open it with IE. See if it gives
you an error.
2. What does errorThrown points to?
3. The standalone=no not sure it's valid...
George.
On Nov 25, 3:56 pm, w-o-m
I'm using the Superfish plugin and which only allows the switching of
submenus with .animate. Anyone know a options configuration that
makes and instant animation (behaves like .show)? 1ms speed isn't
fast enough either.
Jack,
Thanks a bunch! That worked for one image, but what if I have a whole slew
of images that I want to add the same functionality to? I tried created
another container with another image, but when I hovered over one, tabs for
both images showed up.
Thanks again!
--
View this message in
Code:
fieldset
a href= class=link/a
/fieldset
fieldset
a href= class=link/a
/fieldset
fieldset
a href= class=link/a
/fieldset
When a link is clicked, I would like to be able to reference the
particular parent fieldset element, and not all of them.
Something like this doesn't work:
Ticket opened...
http://dev.jquery.com/ticket/3650
bye,
Andrea
On Nov 24, 11:35 pm, ^AndreA^ [EMAIL PROTECTED] wrote:
Yesterday I tried to open a ticket but the server (onhttp://dev.jquery.com/)
was not responding as it should so I posted a thread also in the
jQuery development google group.
Yes, you can use one or the other.
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Nov 25, 2008, at 9:13 AM, Jason Coudriet wrote:
Hello,
When using jQuery, do have we have the option to use just the MIT
license?
Thanks,
Jason
Bil Corry wrote on 9/9/2008 11:43 AM:
Google, on the other hand, doesn't use the Expires header, they instead
use the Last-Modified header. This means that instead of the browser
just outright using the cached jQuery library, it first has to ask
Google if the file has been modified for
that's odd. Try using a minified (instead of packed) version of your
galleria.js
On Nov 25, 6:16 pm, firstarsbrnwhite [EMAIL PROTECTED] wrote:
except on IE 6 and 7. FF and Safari both hide the main photo in the
gallery when clicking on collapsing menu
On Tue, Nov 25, 2008 at 3:28 PM, Jason [EMAIL PROTECTED] wrote:
Code:
fieldset
a href= class=link/a
/fieldset
fieldset
a href= class=link/a
/fieldset
fieldset
a href= class=link/a
/fieldset
When a link is clicked, I would like to be able to reference the
particular parent
Excellent, thank you.
On Nov 25, 4:24 pm, Charlie Griefer [EMAIL PROTECTED]
wrote:
On Tue, Nov 25, 2008 at 3:28 PM, Jason [EMAIL PROTECTED] wrote:
Code:
fieldset
a href= class=link/a
/fieldset
fieldset
a href= class=link/a
/fieldset
fieldset
a href= class=link/a
I've been reading the jQuery documentation and trying to improve this
function(well functions) and its siblings, however I'm running into
all sorts of syntactical errors when I make changes past this point.
For example, I know there is a better way to write this.elements
Do the IPs those requests have some common ISP, for example Hughes? If
you log the user-agent you might find something in common there too.
1 - 100 of 106 matches
Mail list logo