You could also try $(TR).filter(*:nth-child(6n+1), *:nth-child(6n
+2), *:nth-child(6n+3)).addClass(specialBackground)
Perhaps someone can offer a more concise alternative syntax to do
that?!
George
On Mar 25, 3:16 pm, Leandro Vieira Pinho [EMAIL PROTECTED]
wrote:
Hi guys,
I´m looking for a
On Apr 8, 10:00 am, Hamish Campbell [EMAIL PROTECTED] wrote:
Here is one way - it will find the header (th) for any cell (td) given
that there are no merged cells and a single header row.
$('td').click(function(){
var col = $(this).prevAll().length;
var headerObj =
I'm little lost when setting up TableSorter on a table that with
multiple header:
table
thead
trth colspan=2Main/th/tr
trthSub1/ththSub2/th/tr
/thead
tbody
trtdS1/tdtdS2/td/tr
/tbody
/table
The sorter has to be applied only on the sub-header. Has anyone
come across similar
I'm not sure if namespace is available in jQuery. If we can get
something like $().plugin.pluginMethod(), can anyone give me some
hints? TIA
--
?php echo 'Just another PHP saint'; ?
Email: rrjanbiah-at-Y!comBlog: http://rajeshanbiah.blogspot.com/
I'm not for certain the event is firing. What seems kind of strange is
hide, show, and other effects dont seem to work correctly in that
particular area of the page as well. What marr.adam is saying does
kind of describe what seems to be happening, but it only happens from
the main page. I am
Thanks! That worked like a charm and will help me in the future. I
appreciate your help very much and I love your listen plugin!
On Apr 8, 6:25 pm, Ariel Flesler [EMAIL PROTECTED] wrote:
The problem is that your 'this' changed.
See:
$j.getJSON( ..., function(){
//the this in here,
Hi,
Hoping someone can assist, I have a page that is an iframe, which is
basically used to display result information based on a menu option
selected which is located on the same page.
Mu query/issue is that how can I make my menu float/overlap my iframe
area?
My menu is an accordion based on
I had similar and the fix was to use different setting for the title
value in tooltip plugin.
On Apr 6, 8:41 pm, Macarrão [EMAIL PROTECTED] wrote:
Hi! I've been using the jquery.tooltip withLightbox, but the Tooltip
'steals' the title attribute value and theLightboxcan't show it!
What can I
I appreciate the effort that Mike Alsup put into his plugin template.
http://www.learningjquery.com/2007/10/a-plugin-development-pattern
The example is crafted to be simple and it is effective for its
purpose. I would like to add additional functionality and I am unsure
how to modify the plugin
Hi, I have this question
have data coming from DB and put dynamicaly in a page through a while
cycle (php). How can I bind an event click to the generate html tag
(eg:a id=link_agenzie href=cerca2.php?cosa=? echo
$cod['status']; ?agenzia=? echo $cod['agenzia']; ? style=text-
I did a menu bar like the apple site using Photoshop. I would like to
have drop down menus, does anyone know of a tutorial that explains how
to do that using jQuery?
On 9 avr, 02:16, Mike Alsup [EMAIL PROTECTED] wrote:
The problem is probably with this line:
Nettoyant pour revêtement avec tampon applicateur 90ml
specifically the ê character. Try using a character reference
(#234;) instead. You must use valid XML with Taconite.
Mike
Hi there, thanks again for the replies.
The .sortHelper class indicates to the user where the panels can be
moved to. What I'm actually after is like the bbc.co.uk have, where
when you pick up a panel (eg. news), a grey, curved border appears
around the whole panel itself, (assuming it must be
I'm experiencing a problem with jCarousel 0.2.3 when used with ui.tabs
(part of jQuery UI) .
Two tabs, and a carousel on each.
The 'second' carousel never sets the correct width on the UL element
(I'm using an unordered list on both carousels - nothing special at
all, just a list of images).
Hi everybody,
I'm a new jQuery user and I'm already having some trouble... :-|
simply, I've got a menu:
ul class=main_menu
li class=main_menu id=menu_id0
a href=#HomepageHomepage/a
/li
li class=main_menu id=menu_id1
a href=#application_1ONE/a
On Wed, Apr 9, 2008 at 7:39 AM, ^andrea^ [EMAIL PROTECTED] wrote:
when I load the page and I do this:
$(document).ready(function(){
$(#menu_id0).css({ background-color:red });
});
but Firebug tells me:
missing : after property id
[Break on this error] $(#menu_id0).css({
In this case, if you decide to make use of UI sortables, you can handle the
start and stop. Each is a passed a ui hash as the second parameter, which
includes a helper property. Here's an example:
$(#myList).sortable({
start: function(ev, ui) {
$(ui.helper).addClass(rounded);
},
stop:
Fontzter wrote:
I am trying to implement Excel-like functions on an html table. Some
of the cells are static and contain calculations and some have input
boxes in them. The change event of the input boxes fires a
recalculation function. This function does some Excel-like
calculations on the
On Apr 9, 4:49 am, oravecz [EMAIL PROTECTED] wrote:
The jQuery tabs plugin demonstrates one approach, but it seems less
efficient. Using Mike's example, highlighting would be added to DOM
objects using:
jQuery('.targets').hilight();
And any external API calls are made through the same
Scott Sauyet wrote:
I think there's a problem with the serialization of nested lists inside
Sortables. I have an altered version of the demo here:
http://scott.sauyet.com/issues/2008-04-08a/
Hearing no suggestions, I hacked together something which works for my case:
You could use the LiveQuery plugin or the Listen plugin (both at http://plugins.jquery.com/)
or handle it yourself. One way to handle this is to use event
delegation. See this blog entry for details:
http://www.learningjquery.com/2008/03/working-with-events-part-1
--Karl
I would like to replace a link image with another image based on the
location of the page in the site structure.
Take for example this link - - a class=apply href=/apply/ img
src=/images/sitewide/top_nav_apply.gif //a
If some one clicks this link they would be on www.example.com/apply/
and I
Is it possible to show a certain transition for a previous button and
for a next button? I would like to create a transition left when
people click 'previous' and a transition right when people click
'next'. That makes sense I think :).
You're looking for the 'scrollHorz' effect.
I'm still very new with jQuery, but I'm actually liking it a lot,
mainly the extensive plugin library the community has created. I've
found the Cycle plugin, which works great for slideshows, but I'd
like to adapt it to something a little bit different: I want to
control what the next
I'm new to the jQuery lists. Am I correct in assuming that the
Plugins list is no longer operating since I only see 60 messages and
the last one is from 2007? If so then am I also correct in assuming
that plugin questions should be directed here?
Thanks.
Barry
Hi all,
I am looking for a front end web developer with experience developing in
javascript and using the jquery library. Ajax, HTML, CSS, DOM and PHP are
also preferred. This is a great opportunity to work with some other senior
developers with this javascript/ jquery technology on a
Hi,
I've searched this forum, but I couldn't find a solution for this yet:
Is it possible to show a certain transition for a previous button and
for a next button? I would like to create a transition left when
people click 'previous' and a transition right when people click
'next'. That makes
wow, you've been as fast as Lightning...
That was exactly the point!
With quotes it work perfectly.
cheers again,
Andrea
On Apr 9, 12:52 pm, Richard D. Worth [EMAIL PROTECTED] wrote:
On Wed, Apr 9, 2008 at 7:39 AM, ^andrea^ [EMAIL PROTECTED] wrote:
when I load the page and I do this:
http://www.thetruetribe.com
is a new javascript/css blog focused in Jquery and other technologies.
The latest post is the beginning series on tabs with the use of
jquery. Check it out!
I have a feed of new jQuery plugins that I like to check daily to see
what great things are created. I saw this one today -
http://plugins.jquery.com/project/n-contextmenu. Interested, I went to
the demo, and I got like 5 pop-ups, redirected to a new site and
another 3 pop-ups. Anyway to remove
Try creating a test page with only the js code needed for the tabs.
As for keeping content hidden during loading, I like to use a css
class called hidden.
/* css */
.hidden { display: none; }
/* html */
div class=foo hiddenI am hidden/div
On Apr 8, 1:54 pm, Glen Lipka [EMAIL PROTECTED]
i'd like that stecarrousel call one of my functions ike that:
stepcarousel.setup({
galleryid: 'mygallery', //id of carousel DIV
beltclass: 'belt', //class of inner belt DIV containing all the
panel DIVs
panelclass: 'panel', //class of panel DIVs each holding content
statusvars:
hi there,
ok ,here's the used function:
function getTime()
{
$.get(?=DOMAIN_NAME?/common/time.php,
function(data){$('#time').html(data);
setTimeout('getTime()', 1000);
});
}
getTime();
and the file time.php contains this line:
?=date('h:i:s
infinite loop?
getready() calls sendsite() which calls getready() which calls
sendsite()...
On Apr 8, 4:06 pm, R.O.M. [EMAIL PROTECTED] wrote:
This code doesn't work in all browsers exept firefox. Why and what i
must to do?
Trouble: when button with id=newsitesubmit was pressed there is no
Hello,
I'm still very new with jQuery, but I'm actually liking it a lot,
mainly the extensive plugin library the community has created. I've
found the Cycle plugin, which works great for slideshows, but I'd
like to adapt it to something a little bit different: I want to
control what the next
Many thanks - another question (sorry), is it possible to save the
positions of the boxes after they've been moved around on the page?
On Apr 9, 1:10 pm, Richard D. Worth [EMAIL PROTECTED] wrote:
In this case, if you decide to make use of UI sortables, you can handle the
start and stop. Each
I'm using jCarousel to scroll a list of images (linked to pages)
horizontally. It's a simple setup - the carousel is inside a div that
has a background colour set in another stylesheet, the rest of the
settings are not changed much from the default for horizontal
carousels.
In Firefox, everything
Safari is pretty uncomfortable with javascript without semicolons at
the right places.
I've added a few in the facebox.js file and all seem to work
perfectly, at least on safari 3.1. Still trying to make it work on
Safari 2.0.3.
On 1 Apr, 10:48, Nat [EMAIL PROTECTED] wrote:
I have a site that
Hi,
I have been trying to fix a JCarousel problem. When I go to www.mlb.com,
the page goes crazy and I get the error message JCarousel: No Width/
height set for items. This will cause an infinite loophole. On
message boards, other people are posting with the same problem but
some of the solutions
Could someone give help for looping,I want to highlight all of the
items called a.My code is following: Thanks
%@ taglib uri=http://struts-menu.sf.net/tag; prefix=menu%
%@ taglib uri=/WEB-INF/struts-html.tld prefix=html%
html
HEAD
%@ page language=java contentType=text/html; charset=ISO-8859-1
How might the code look like to do this?
Seth - TA wrote on 4/9/2008 9:46 AM:
I have a feed of new jQuery plugins that I like to check daily to see
what great things are created. I saw this one today -
http://plugins.jquery.com/project/n-contextmenu. Interested, I went to
the demo, and I got like 5 pop-ups, redirected to a new site
http://www.google.com/search?q=javascript+detect+monitor+resolution
I'm assuming you know best practices involving flexible width designs... so
I'll skip that lecture.
If you're targeting a user base that has a substantial percentage of 800x600
monitors, those same users might be using old
yup, for me too. Wonder if you don't have an adware installed.
On Wed, Apr 9, 2008 at 7:30 PM, Bil Corry [EMAIL PROTECTED] wrote:
Seth - TA wrote on 4/9/2008 9:46 AM:
I have a feed of new jQuery plugins that I like to check daily to see
what great things are created. I saw this one today
Hi Alex,
Thanks for the support via the blog. Could I ask for a small change?
Please be sure to spell jQuery like this jQuery instead of this
Jquery. I know it might seem minor but it's important for the project
to always maintain a consistent brand.
Thanks,
Rey
AlexGrande.com wrote:
Hi Barry,
Yes plugin discussion is done here on the main mailing list.
Rey
Barry wrote:
I'm new to the jQuery lists. Am I correct in assuming that the
Plugins list is no longer operating since I only see 60 messages and
the last one is from 2007? If so then am I also correct in assuming
I have an HTML partial coming back from a server that includes a named
div (ex: div id=MyDivblah/div)
When I try to run the following on it, it shows the div as empty:
alert($(#MyDiv).html());
I suspect the DOM is not aware of the retuned div (though, why it
displays is then a huge mystery).
Hey all,
Just wanted to give a heads up that I will be giving a basic jQuery
presentation at the Refresh Baltimore meeting tonight. So if you are in the
Baltimore area come check it out.
http://www.refreshbmore.org/
--
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com
Way to go, Benjamin! Wish I could be there. Will there be a recording?
slides?
- Richard
On Wed, Apr 9, 2008 at 4:03 PM, Benjamin Sterling
[EMAIL PROTECTED] wrote:
Hey all,
Just wanted to give a heads up that I will be giving a basic jQuery
presentation at the Refresh Baltimore meeting
Second the request for slides / any multimedia.
- jake
On Wed, Apr 9, 2008 at 4:18 PM, Richard D. Worth [EMAIL PROTECTED] wrote:
Way to go, Benjamin! Wish I could be there. Will there be a recording?
slides?
- Richard
On Wed, Apr 9, 2008 at 4:03 PM, Benjamin Sterling
[EMAIL PROTECTED]
I am trying to pull together a video camera, but I don't have any slides per
se, sadly I am going old school and showing how to take a design and punch
it up with some minor effects. The goal is really to give an introduction
and wow factor :)
On Wed, Apr 9, 2008 at 4:22 PM, Jake McGraw [EMAIL
Hi Ashley
I'll work through your code but sending each item one at a time from
the server will also work. It is working for me right now ie.
def GET(self):
result =
for item in data:
result = simplejson.dumps(item)
print result
Dinesh
On Apr
Here is a hover function. Same concept though.
$(#solution_list ul li a).hover(function () {
img_src = $(this).attr(id);
$(#change_img).attr({src: images/ + img_src + .jpg});
}, function () {
img_src = ;
});
On Apr 9, 11:19 am, Dan
Hi,
Thanks for replying. I meant more like using my own anchors to
navigate through the different slides. I've tried applying your
suggestion, but it doesn't really work. This is what I've tried:
function switchContent (next)
{
// Tabs
$('#breadcrumbs
Weird, I just checked it and it works. Odd.
On Apr 9, 12:30 pm, Bil Corry [EMAIL PROTECTED] wrote:
Seth - TA wrote on 4/9/2008 9:46 AM:
I have a feed of new jQuery plugins that I like to check daily to see
what great things are created. I saw this one today -
in JQuery,When matching string words,do some process.and then continue
to loop.
like java: for(...){
if(a=hello){
do something.
}
}
what's the syntax in jquery?
Thanks
I'll try
On 9 Apr, 16:39, Karl Swedberg [EMAIL PROTECTED] wrote:
You could use the LiveQuery plugin or the Listen plugin (both
athttp://plugins.jquery.com/)
or handle it yourself. One way to handle this is to use event
delegation. See this blog entry for details:
Does anyone know of a good string library for jQuery or even
JavaScript in general. I'd like a StartsWith() function, a
SubString() function, etc.
Hi There,
I am a total JS newb and hobbyist only so I hope I can explain my
problem...
I am using UI sortables to create a sortable list of DIVs each with a
header and content area. I want to show/hide the content area when
the header is clicked.
DIVs are added dynamically via AJAX and are
Thanks for replying. I meant more like using my own anchors to
navigate through the different slides.
That is fully supported. See these two demos for ideas:
http://www.malsup.com/jquery/cycle/pager2.html
http://www.malsup.com/jquery/cycle/pager3.html
I know you are looking for a whole library and all, which i could not
answer, but i do have a common.js file i use where i pieced together
*some* utility functions in js
function Left(str, n){
if (n = 0) {
return '';
}
else if (n String(str).length) {
No necessarily a string lib, but this has common ColdFusion Functions
implemented in JavaScript... Available as a jQuery Plugin.
Probably something in here that would be of value to you.
http://cfjs.riaforge.org/
Via RIAForge.com from Christopher Jordan.
-Original Message-
From:
I've got the following html
div id=survey
br /
div class=sectionstart
start
/div
div class=sectionstart
start
/div
div class=sectionend
end
/div
div class=sectionstart
start
Has anybody implemented a synchronous ajax call with a timeout. I
cannot get the timeout to fire, instead the ui just locks up, I cannot
really have this in a live environment, it would really hack a user
off!!!
I am trying to use the synchronous call to compliment a client side
asp.net validator
Will do.
On Apr 9, 11:55 am, Rey Bango [EMAIL PROTECTED] wrote:
Hi Alex,
Thanks for the support via the blog. Could I ask for a small change?
Please be sure to spell jQuery like this jQuery instead of this
Jquery. I know it might seem minor but it's important for the project
to always
Hello,
As I discussed in a previous post (unresponsive script error
on long page with many clueTips) I'm trying to trigger clueTips
with a javascript function instead of binding the clueTips on page
load.
Each link calls the clueTip function and passes its unique link id.
Here is the function:
An alternative view of the problem
If you have a PHP while() loop that outputs multiple anchors with the
same id, this results in invalid HTML.
For example...
?php
$i = 0;
while( !empty($fish[$i]) ){
$cod = $fish[$i++];
?
a id='fish'
href='prog.php?status=?php echo
Your div does not actually contain any HTML, just text.
Try ...
alert($(#MyDiv).text());
On Apr 9, 8:39 pm, OhNoMrBill [EMAIL PROTECTED] wrote:
I have an HTML partial coming back from a server that includes a named
div (ex: div id=MyDivblah/div)
When I try to run the following on it, it
Also, we seem to be having trouble getting the menu to load at all in
IE7 on Windows Vista. Any idea what might be the problem with Vista?
You seem to be missing some script...
$.get('savesite.cgi', {sname: sitename, surl: siteurl, uname:
uname, uemail: //missing something?
Presumably there is another, initial, call to getready() somewhere
else in the script?
Presumably #add lies somewhere within #siteinfo?
Presumably
Now that you mention, I used another approach for external
manipulation, implemented in SerialScroll.
I expose many custom events, that are to be triggered on the
container, some accept/require arguments, some don't.
Using events allows one to have protected data, meaning, local
variables that
Sorry, slightly confused.
Page A contains an iframe.
That iframe is used to display Page B - the result information which
is dependent on a menu option.
But is the menu part of Page A (the one that contains the iframe), or
Page B (the one within the iframe)?
On Apr 9, 9:23 am, tfat [EMAIL
Actually, no I can't see. Every DIV with #survey contains just one
text node - nothing else.
On Apr 9, 10:27 pm, JB [EMAIL PROTECTED] wrote:
I've got the following html
div id=survey
br /
div class=sectionstart
start
/div
div class=sectionstart
This line...
$(#column).append(html).find('.portHeader').bind('click',setQRX);
might be causing you a problem.
Breakdown...
$(#column) //select #column
.append(html) //append some HTML to #column
.find('.portHeader') //find anything in #column with class
portHeader
Have you checked this ?
http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_Ajax_request.3F
--
Ariel Flesler
http://flesler.blogspot.com
On 9 abr, 17:34, GM1WKR [EMAIL PROTECTED] wrote:
Hi There,
I am a total JS newb and hobbyist only so I hope I can
Is there a way to access the object model of an inner frame generated
by another site?
If I wanted to change the background of an inner frame, can I do it?
and how?
Yup, agreed. Tried that method too. Both return undefined. Any other
thoughts on why the div and/or it's contents are not showing up in the
DOM?
On Apr 9, 4:49 pm, Wizzud [EMAIL PROTECTED] wrote:
Your div does not actually contain any HTML, just text.
Try ...
alert($(#MyDiv).text());
On Apr
On Apr 9, 2008, at 8:51 PM, Michael wrote:
Is there a way to access the object model of an inner frame generated
by another site?
If I wanted to change the background of an inner frame, can I do it?
and how?
Hi Michael,
Unless I'm mistaken, JavaScript doesn't allow this sort of cross-
I don't quite get why, since an iframe is an object of the page, you
can't write something like $('iframe body').etc();
I understand the cross domain manipulation being a security violation
but once you introduce the new object(iframe) to your page. I just
figured you might have more access to
This should be quite easy - for each section start you add some
padding, for each section end you remove it:
var sectionPadding = 0;
var sectionIndent = 10;
$('#survey div').each(function(){
if( $(this).is('.sectionend') ) {
sectionPadding -= sectionIndent;
}
I'm trying to populate set of lists via some information loaded from
some JSON on $(document).ready. The following code works fine in FF
but breaks in IE:
function insertItem(item)
{
var li = $(li).html(Item: );
$(span).html(item.text).appendTo(li);
return li;
}
.
.
.
function
Hello,
It would be nice if the treeview had drag drop node sorting. It
would also be nice to have a node showing that the tree is loading
from the server.
A section is just and idea, here it is represented by 'sectionstart'
divs and 'sectionend' divs, everything within a section should be
indented progressively based on how deep it is (infinitely deep is
possible).
On Apr 9, 6:53 pm, Wizzud [EMAIL PROTECTED] wrote:
Actually, no I can't see. Every
Is this an ajax call? 90% of these questions seem to come down to the
call not being completed.
On Apr 10, 1:38 pm, OhNoMrBill [EMAIL PROTECTED] wrote:
Yup, agreed. Tried that method too. Both return undefined. Any other
thoughts on why the div and/or it's contents are not showing up in the
Right
I'll try both
thanks
On 10 Apr, 00:31, Wizzud [EMAIL PROTECTED] wrote:
An alternative view of the problem
If you have a PHP while() loop that outputs multiple anchors with the
same id, this results in invalid HTML.
For example...
?php
$i = 0;
while( !empty($fish[$i]) ){
85 matches
Mail list logo