Sorry, I hit tab/space which auto-sent. Let's try to finish this...
Basic idea is a template:
.card .ct-$(type.id()) {
width: x; /* etc. */
color: $(type.color());
}
In truth, it is a little more complicated, because I have to make lots of
rules for all different classes, but the key eleme
Basic idea is a template:
.card .ct-$(type) {
width: x
--
John Arrowwood
John (at) Irie (dash) Inc (dot) com
John (at) Arrowwood Photography (dot) com
John (at) Hanlons Razor (dot) com
--
http://www.irie-inc.com/
http://arrowwood.blogspot.com/
I'm using Beauty tip http://www.lullabot.com/files/bt/bt-latest/DEMO/index.html
for example such as:
$('.myclass').bt({
content: 'test content'
});
which displays a nice tooltip.
But how can I use it with jQuerys live event so that dynamically added
classes
you'd likely find this a lot easier by either using a database or
array search
here's an example using JSON. All of the information is stored in JSON
until needed and can be searched easily with $.each
http://jsbin.com/ohulu/edit
CreativeMind wrote:
Hi,
I need the ways to solve the probl
How many DIVs of class "tv" do you have? One?
And you want an other DIV to trigger the cross-fade on the "tv" DIV?
If that is the case...
$(document).ready(function () {
$('div.tv, #theOtherDiv').hover(function () {
var div = $('div.tv > div');
if (di
I figured something out.. in de js file of the validator is the next
section:
formatAndAdd: function( element, rule ) {
var message = this.defaultMessage( element, rule.method
),
theregex = /\$?\{(\d+)\}/g;
if ( typeo
I would strongly suggest downloading the one of the demos [1], like
the basic one, which will probably help answer all of your questions.
-Eric
[1] http://www.ericmmartin.com/projects/simplemodal-demos/
On Jan 7, 7:57 pm, polarwarp wrote:
> I am using the jquery simplemodal code to display a
> Am I missing something?
Well, *we're* missing something, like the markup that goes with the
code. Can you point to a sample page maybe?
Is #CalendarBody the TABLE tag? If so, you should be appending a THEAD
or TBODY tag to it.
Instead of returning HTML fragments, you might want to return JSON
> $('t...@class^=child-]').hide().children('td');
Get rid of any @ for attribute selectors. In jQuery 1.3 we went to css
standard syntax, which does not use the @.
How can I validate this as one hidden field.I have 3 dropbdown list
month, day, year and I do not want to validate each separate on so I
would like to combine the strings together and validate the hidden
field. Pleas and thank you for your help.
Birth dat
I've been working with this script that is used within to group a
parent row with it's children, and then expand the children rows out
when you click on the parent. I'm having trouble getting it to work
in internet explorer using jquery-1.3.2.min.js The original script
was using jquery-1.2.1.js.
I saw this warning in Chrome's console for the first time today while
loading a jquery.js file in a new site. I used the same
Very confused. Working on a Wordpress site/theme and integrating
superfish for the main (pages) navigation. Everything is working on
locally (running XAMPP on an XP box), but on the live site, child
pages are not appearing as dropdowns. I can see in the source that
the children are being written
Hi,
I'm using Jquery.validation to remotly test if an e-mail is already
in use, it works fine, but... if i do a remote check, it returns the
correct response e.g. "some...@abc.com already in use" but when i
click on the field, and then somewere else the message changes to
"filename.php already i
Hi,
Only found superfish today, and man oh man do I love it! It's
fantastic, and so customisable. My only problem I am having, is
getting a separator to show between the menu items! I have tried
editing mod_superfishmenu.php and in the xml file and just can't get
it to show up. Tried stuff with th
I recently implemented the Image Cross Fade Transition (http://
jqueryfordesigners.com/image-cross-fade-transition/)
It works great, and I'm hoping to add to the code to enhance the
functionality. Currently, if I hover over the image, it runs the cross
fade transition, which I would like to keep.
site isn't loading jquery , or superfish css and script files. Suggest
removing one version of jQuery and only loading one.
Check the paths to all these files. If they are avaialbel at the
correct path you should be able to open them in a browser.
Example:
http://www.assured-it.com/modules/m
Yes, please.
Thanks,
-w
kippi-2 wrote:
>
> West
>
> The way that I was doing it was to store the HTML into the database.
> Once I get to work I can get an example if you would like?
>
> Thanks
>
> Chris Owen
> Sent from my iPhone
>
> On 8 Jan 2010, at 06:52, West415 wrote:
>
>>
>> bump
sigh...several hours later I find out it's because the submit button
has the id "submit" :(
Hi,
I need the ways to solve the problem.
scenario is: I have a dropdown and 4 textboxes, which are filled
through a callback function.
dropdown has multiple values. on selected index change of dropdown i
want to fill the text boxes with associated values. e.g
dropdown has list of countries.
when i
Rick,
Thank you for your response. I was able to figure out $
(this).val() grabbed the value and you explained $(this).attr should
do the trick with grabbing what type the input element is. I
appreciate your help. I had to change .input to :input since I'm
filtering out by the element not
Been trying to find the best answer to a problem a co-worker is having
with a form select field that gets loaded via an ajax call into a
table cell.
He has a form and when the page loads based on the value of another
form field he makes an ajax call and loads a complete select
statement.
the ajax
thanx a lot!
On Jan 8, 3:07 am, Charlie Griefer wrote:
> http://docs.jquery.com/Events/live
>
>
>
> On Thu, Jan 7, 2010 at 2:01 PM, CreativeMind wrote:
> > hi,
> > i'm appending a child div in a parent div. parent div has already
> > child div's which have classes ws_c1 and plus.
>
> > $('').add
I can't see what might be causing that although you could change these 2 lines:
$('#CalendarBody').children().remove();
$('#CalendarBody').append(response);
... to:
$('#CalendarBody').html(response);
That's if you're not using thead, tfoot, and tbody tags, of course.
On Fri, Jan 8, 2010 at 12:
Do these cells contain *only* the nbsp? If so, you could go at it another way:
$('td:last-child').each(function()
{
if ('' == $(this).text().trim())
{
$(this).parent().addClass('markeme-sub');
}
});
On Fri, Jan 8, 2010 at 7:41 AM, Jonatan wrote:
> Hi,
>
>
On Jan 7, 7:48 pm, Frank Peterson wrote:
> Well the xml file is not on my server, but I'll try to shoot them an
> email and let them know, they should set the headers.
Are you sure that you're not running into cross-site scripting issues?
Security restrictions will prohibit you from AJAXing cont
I'm trying to get an upload popup working with the jQuery form plugin
(http://jquery.malsup.com/form/).
When I click a link I load a form html from the server and add it to a
container div by setting the div's html attribute. I then attach a
submit handler to the form so I can call the ajaxSubmit
Jackson
as professional programmer who exclusively does .NET, allow me to tell
you that getting into jQuery changes *everything* .NET's built in
controls and jQuery (or any AJAX library in general minus MS Ajax or
whatever they call it nowadays) do not play nicely together...
in the case
You could consider modifying your plugin to follow the jQuery UI
Widget format. This takes advantage of the widget factory, which
provides ways to access the methods and properties in 2 ways:
1) Through the element the plugin is applied to, eg:
$("#myElement").smartList("selectedValue")
2) Or
> take a look at jqGrid
>
> http://www.trirand.com/blog/
jqGrid rocks!!
Hey Mark!
Thanks for taking the time to respond! That is a great way to do it. I
am learning jquery so I wanted to see how to do it in jquery. As you
can see im having a tough time with it lol.
thanks for the feedback though
Glen
On Jan 7, 9:53 pm, Mark Kelly wrote:
> Hi Glen.
>
> I'm late to
Hey,
I would add another class to the div you want to show. That way you
can keep it selected until you go over another div. Like this:
$("a.mSelect").hover(
function () {
$('.selected').each(function(){
$(this).removeClass('selected');
$(this).hide();
});
Hey,
I would add another class to the div you want to show. That way you
can keep it selected until you go over another div. Like this:
$("a.mSelect").hover(
function () {
$('.selected').each(function(){
$(this).removeClass('selected');
$(this).hide();
});
Hello there,
Obviously I've a problem :)
An object's position is updated relatively to mouseposition on
mousemove (opposite direction). Works perfectly well, but I failed to
set up the code with smooth easing as result. The code works in
Actionscript in Flash (of course in proper syntax) but it d
Hey,
I would add another class to the div you want to show. That way you
can keep it selected until you go over another div. Like this:
$("a.mSelect").hover(
function () {
$('.selected').each(function(){
$(this).hide();
});
var month = $(this).attr("rel");
$(
Hey,
Maby this will help:
$('.input').each(function(){
alert('Value: ' + $(this).val() + ' - Type: ' + $(this).attr
('type'));
});
That should do the trick. Just let me know.
Greetz,
Rick
On Jan 7, 11:33 pm, rich wrote:
> Hello all, I'm relatively new to JavaScript. I would like to loop
I just checked the headers and they seem to be outputting correctly.
Date: Fri, 08 Jan 2010 13:47:32 GMT
Server: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.6 with Suhosin-Patch
mod_ruby/1.2.6 Ruby/1.8.6(2007-09-24) mod_ssl/2.2.8 OpenSSL/0.9.8g
X-Powered-By: PHP/5.2.4-2ubuntu5.6
Content-Length: 454
K
take a look at jqGrid
http://www.trirand.com/blog/
I rarely use asp these days but i think there is a component available.
good luck
Jon
2010/1/8 Jackson...!!!
> Hello All,
>
> Using jQuery can we include asp.net 2.0 gridview, paging sorting and
> in-place editing.
>
>
> Waiting for a favor
Currently I am adding my custom validation (messages, rules) into
jquery.validate.js directly.
Anyone know how to adding in own customized validation into another js
file and if possible, make the jquery.validate.js UNTOUCH.
Hi Glen.
I'm late to the thread (and this is probably a bit off-topic for this list)
but up until the point where you asked for the cross-fade, everything you need
can be done with vanilla CSS, no need to involve jquery at all.
In the page:
Currently accepting new jobs
In the CSS:
div#avai
$("a.mSelect").hover(
function () {
var month = $(this).attr("rel");
$("#m" + month).fadeIn();
},
function () {
var month
Hello all, I'm relatively new to JavaScript. I would like to loop
through all the elements within a form and grab their values and what
type of input they are. So far I came up with:
$(':input').each(function(idx, item) {
alert(idx);
});
The alert is placed there to see if it loops and it
Hi
I am using jquery form plugin http://jquery.malsup.com/form/
I am not sure if I am doing something wrong but it seems to be
stripping out my tr and td html tags when I send stuff back from the
server and I am not sure why.
I have an asp.net MVC ContentResult that returns some html code. When
Hello All,
Using jQuery can we include asp.net 2.0 gridview, paging sorting and
in-place editing.
Waiting for a favorable response.
Thanking you,
Jackson C.
Hi i was wondering if it would be possible to lock out other tabs so
the user is stuck on one ..until a user hits a button.
For example an Admin is adding someone to a database- the Admin is on
the add user tab but after enacting this add process(by input) they
cannot leave this tab until either c
Hi,
I've just recently started to use jQuery, and it has already proven
extremely useful for formatting tables (and other things as well!). I
get raw html-tables into my page, and my only way of styling them are
css and, now, jquery. And it's worked out fine.
But now I've run into a problem. Whic
Hi,
I have a block of code which iterates through a list of urls and
performs an asynchronous ajax request on each url.
The call back function assigns the returned data object to the key of
another object. The key is the current item in the list that is being
iterated on.
The problem: The key is a
Did you look at jQuery UI's dialog plug-in?
It's very easy to use: http://jqueryui.com/demos/dialog/#modal-message
Salman
On Jan 7, 10:57 pm, polarwarp wrote:
> I am using the jquery simplemodal code to display a div on a page.
>
> I am pretty much calling .modal(); on the div, which has a clas
Hi
I work for some time with JBoss Richfaces and I like it for several
reasons.
However now it was requested to study the integration of JBoss
Richfaces and JQuery. I saw in the Richfaces demo that's already some
kind of integration between the two (Richfaces and JQuery).
However, from your poin
I in IE 8 and Firefox , Opera , and Safari it works fine but im having
problems with IE6 and IE7 for some reason when i mouse over and try to
move down the box dissappears ... it is a modified version of Plain
Drop Down Menu
http://afterofficemiami.com/dropdowntest.html
in IE6 and IE7 it doesnt w
As a learning experience (and to get the look I wanted), I hand wrote
HTML/CSS/jQuery code for a photo gallery with a thumbnail filmstrip. I
started with a few ideas of how to slide the thumbnails underneath the
main panel of the gallery, and figured the easiest and smoothest way
would be to initia
In many situations I use jQuery selector and I want to check that
result is non empty. To make this simple, I use this code:
// jQuery extension to test non-empty select
(function($)
{
$.fn.notempty = function()
{
if (this.length==0)
throw('Empty jQuery selector');
Hi,
I have a search interface on my site http://www.govforyou.co.uk/Default.aspx
that allows users perform multiple kinds of searches. You can try it
out by typing in the text box at the top.
It basically contains a drop down which has 5 options and a text box
next to it where user can type searc
Well, maybe the guys at jQuery optimized the text method only for
elements that can appear more than once... I don't know.
However, text() should not be used for TITLE anyway, so this "bug" is
not a problem.
Hi
I've just downloaded the plugin and I'm starting to play around with
it.
Firstly, on first display, the selected tab is defaulting to 1 rather
than 0 as documented. This looks odd with the second tab selected
rather than the first. I see this in both 1.8.0 and 1.8.1
Secondly, I'm starting wit
Thanks ... this will surely help me...
On Tue, Dec 29, 2009 at 5:39 PM, brian wrote:
> OK, I think I understand now: you need to have separate groups of
> files, each with their own MultiFile input and, thus, one or more
> files for each group? In that case, you can check for the existence of
>
Šime,
$('title').html() works fine in both IE8 and FF, fixing my problem.
But I don't understand why the difference in behaviour on :
surely if there's only one title element than the innerHTML of the first
matched element should be the same as the concatenated innerHTML of all
matched elemen
If you want to manipulate the DOM you can find it documented here;
http://docs.jquery.com/Manipulation
As for your question, you could either do the following;
$("#foo").after("text I want to insert");
$("#foo").before("text I want to insert");
Or more neatly;
var pToInsert = $('').append("text
58 matches
Mail list logo