d off to get an idea what a screen
reader sees). Improved accessibility is always a good thing.
Hope this helps, if not for this (CSS can't do you a cross-fade) then maybe
other projects,
Mark
Thank you, you have help out so much
On Jan 6, 2010, at 6:14 PM, Šime Vidas wrote:
> If you want to manipulate with the DIV inside the $.get function, you
> can declare a local variable and put the reference to DIV in it...
>
> (function($) {
>$.fn.myPlugin = function() {
>
>
The Goal
I want to cycle through list items in an unordered list. I want the
list items to take up the full width of the browser, even when the
browser is resized.
The Problem
Once the first slide transition takes place and the browser is resized
smaller horizontal scroll bars are introduced. Then
; code is parsed on the server. The script tags, however, are parsed by
> the browser's JS engine, and are unrelated to PHP.
>
> On Tue, Dec 29, 2009 at 11:25 AM, Mark K. Ayler Jr.
> wrote:
> > Alex,
> > Thanks so much. It does look a lot better...and looking through your
t; Firmware Version > th>
> > Software Version > th>
> >
> >
> >
> > > $i=0;
> > while ($i < $num) {
> > $host_name=mysql_result($result,$i,"host_name");
> > $device_type=mysql_result($result,$i,"device_type");
> > $firmware_version=mysql_result($result,$i,"firmware_version");
> > $software_version=mysql_result($result,$i,"software_version");
> > ?>
> >
> >
> >
> > ?>
> >
> > > $device_type; ?>
> > > =strstr($firmware_version, "\""); echo ($cleanstring); ?>
> > > =strstr($software_version, "\""); echo ($cleanstring1); ?>
> >
> >
> >
> >
> >
> > > $i++;}
> >
> > ?>
>
--
Mark K Ayler Jr.
CCNA, MCSE, NNCSS, OASIS.
Works now :) Had to create a special class that combined all three
classes.
On Dec 17, 5:36 pm, Mark Livingstone wrote:
> OK, thanks. I will try and report back.
>
> On Dec 16, 12:22 pm, Jörn Zaefferer
> wrote:
>
> > You have three classes specified for the errorClass. Th
gt;
> Jörn
>
> On Wed, Dec 16, 2009 at 4:43 PM, Mark Livingstone
> wrote:
>
> > On Dec 16, 9:59 am, Jörn Zaefferer
> > wrote:
>
> > > At least post your full JS codes instead of just excerpts.
>
> > > Jörn
>
> >http://jsbin.com/is
error: function (msg) {
// message to display on error
},
complete: function () {
// hide load message
}
});
Sometimes I just get in my own way!
On Dec 17, 5:23 am, Mark wrote:
> I have two Ajax methods in a page. The first handles the loading of
> html conten
html load event, the 'loading...' message appears above the form.
How can I separate the ajaxStart() event for two different Ajax
methods on the same page?
Cheers,
Mark
I'm trying to emulate the multifile plug-in (http://www.fyneworks.com/
jquery/multiple-file-upload/) with files stored on a server. This
worked with the 1.24 version of the plug-in. I've upgraded to the 1.46
version and now it isn't working fully correctly.
This is my relevant HTML:
This i
On Dec 16, 9:59 am, Jörn Zaefferer
wrote:
> At least post your full JS codes instead of just excerpts.
> Jörn
http://jsbin.com/isuco/edit
I can e-mail you the link to my working page if that will help.
Unfortunately I cannot share it here.
On Dec 16, 9:59 am, Jörn Zaefferer
wrote:
> At least post your full JS codes instead of just excerpts.
>
> Jörn
http://jsbin.com/isuco/edit
I can e-mail you the link to my working page if that will help.
Unfortunately I cannot change it here.
s way.
On Dec 16, 8:58 am, Jörn Zaefferer
wrote:
> Could you provide a full example, eg. via jsbin.com?
>
> Jörn
>
> On Wed, Dec 16, 2009 at 2:53 PM, Mark Livingstone
> wrote:
>
> > anyone? :)
>
> > On Dec 15, 12:37 pm, Mark Livingstone wrote:
> > > H
anyone? :)
On Dec 15, 12:37 pm, Mark Livingstone wrote:
> Hi,
>
> Since I moved to a new design I cannot figure out how to stop the
> validate plug-in to append error messages and instead have it remove
> the previous error message before creating another one.
>
> here is wh
Hi,
Since I moved to a new design I cannot figure out how to stop the
validate plug-in to append error messages and instead have it remove
the previous error message before creating another one.
here is what my HTML code looks like with multiple error messages:
E-mail
This field is mandat
Hi,
I am looking for a way to use JQuery to upload video files. Since
these files are so large it is important to provide a cue to the user
when the download is in progress and when it ends.
Thanks,
Mark
heFieldName" for the resulting
stripped string - so far, so good.
//This all works to this point, but when I try to do the math on the
field:
formData.theFieldName.value = formData.theFieldName.value/12;
// the jQuery Form plugin sees "theFieldName" as a form field name
which of course does not exist
}
Question: it is possible to insert a variable in the formData.[field
name].value statement?
Mark
update to the chart, but no go.
Any help would be greatly appreciated. I have posted in the code
below. Thanks. Mark.
-
http://www.w3.org/1999/xhtml"; >
ion working but without displaying the countdown:
var countdown = setTimeout(function(){
form.submit();
}, 5000);
$("body").append("cancel");
like that.. but how do i display the number after the "cancel" text?
Thanx to all s
change(function () {
alert("Now selected: " + $("select#foo > option:selected").text());
}
}
var select = $("select#foo");
select.find("option:first").select();
select.change();
The alert is only displayed when the user changes the selection, not
wh
findSortKey = function($cell) {
return $cell.find('sort-key')
.text().toUpperCase() + ' ' + $cell.text
().toUpperCase();
};
}
In this case both '.sort-alpha' and 'sort-key' are CSS classes. H
I have such similar case in my project, but it did work in FF and IE.
but recent days, I found it does not work in Safari instead.
On 11月2日, 下午6时29分, nomen wrote:
> Hi all:
>
> I have a simple page.
> Clicking in a button it loads a content by Ajax to the page, let's
> call to it "subpage
t should the server code return? Still
JavaScript code that calls the callback function with the json content
or just the json content?
> On Oct 26, 8:14 pm, Mark Volkmann wrote:
>> I have some code working that invokes an HTTP service that returns JSON.
>> From my JavaScript I call
6) write the string of JavaScript to the response
Is this the recommended approach? I was expected that
I wouldn't need to pass the callback function name to the servlet and
could just return the JSON from the servlet instead of a string of
JavaScript code.
--
R. Mark Volkmann
Object Computing, Inc.
Hi,
I am using jQuery and blockUI to prevent the user from submitting a
form twice by double clicking on the interface:
This is in my global js file and is called on every pages
document.ready:
$('form').submit(function(){$.blockUI({message:'', overlayCSS:
{opacity:0.2}})});
This was working r
d in null to the server method.
Mark
On Oct 8, 10:45 am, MorningZ wrote:
> Are you using firebug or another Developer Console like program to see
> what request the AutoComplete is sending out?
>
> it should be something like
>
> http://yourwebsite/Serice/AutoComplete.ashx?q
Hi,
I'm using the AutoComplete Plugin with ASP.NET MVC. For some reason
the client side input value is NULL when it reaches the Server method.
Any suggestions would be appreciated.
Thanks,
Mark
end on
your input as somtimes that will brake and i never did work out why
On Sep 30, 10:27 am, mattastic wrote:
> Thanks very much for your reply, however, could you please tell me how
> I can populate the loading div with the response text, rather than an
> alert?
>
> Many thanks
&
yay for it not showing what you said before i posted, try on your
start and stop doing $(document).ajaxStart(); for some reson is can be
quite silly with that also use $(document).ready(); its nicer that way
and avoids unexpected issues
On Sep 29, 1:52 pm, Mark Gorman wrote:
> this is how
wrote:
> Thanks very much for your replies.
>
> Could you please post the whole page code?
>
> So I can see how the javascript, html and ajax works together
>
> I'mn struggling to understand how the whole page is layed out.
>
> Thanks in advance
>
> On Sep 28,
http://docs.jquery.com/Ajax has everything you need but a simple
example would be...
$(document).ready(function(){
$.ajaxStart(function(){
$('.loading').show();
});
$.ajaxStop(function(){
$('.loading').hide();
});
//i have trouble with the post permiters so i always do it the {} way
but you c
i did try ealer to send a reply but that did not seem to apper so
heres a shorter version
http://docs.jquery.com/Ajax has everything you need, to make a loading
image come up on start you can just ether in your click function
inlude $(".loading").show(); or use the event
http://docs.jquery.com/A
I'm having issues with using slideUp/slideDown on lists; when list
items reappear, their bullets are missing, both in Safari and Firefox.
See example at:
http://www.mnot.net/test/slide-list.html
Is this a known issue?
Thanks,
--
Mark Nottingham http://www.mnot.net/
We have great deals for Real Estate Investors. As real estate
investors ourselves we are very eager to work with other real estate
investors like you.
http://www.greenmiraclesinc.com/inv.php?sysac=9&pg=26&tm=
> > page in it's response, parse for this and then use it - is that feasible?
>
> > SUBMIT FORM
> > PARSE RESPONSE WHICH WILL CONTAIN NEW PAGE URL IN IT
>
> > window.location = newPage;
>
> > Regards,
> > Michael Price
>
> > -Origin
But then the page that gets served to the user with have no parameters
posted to it.
On Aug 12, 3:50 pm, Liam Potter wrote:
> well, on the post callback, forward the browser to the page?
>
> window.location="/page.php"
>
> Mark Smith wrote:
> > Hi,
>
> >
Hi,
I know you can use jquery to post data from a json object ajaxly.
However I want to redirect the browser to the new page (like
submitting a form) only passing the values explicitly from javascript
rather than actually submitting a form.
Is this possible using jquery?
Thanks
; Dhruva Sagar.
>
> Jonathan
> Swift<http://www.brainyquote.com/quotes/authors/j/jonathan_swift.html>
> - "May you live every day of your life."
>
> On Wed, Aug 12, 2009 at 3:18 PM, Mark wrote:
>
> > Hi all.
> > I got an php page who picks up data
9028","end_datum":"8230948","afspraak_type":"verjaardag"}}
What i need to have is that it gives me an array that looks something
like this:
[
{
id:5,
title:test,
start_datum:6161616,
end_datum: 663461,
afspraak_type: Memo
}
{
id:10,
title:bla,
start_datum: 4819028,
end_datum:8230948,
afspraak_type:Verjaardag
}
]
What is the best way to get to this?
Mark
ks much for any help / clarification / workarounds!
Mark
Relatively inexperienced. I'm creating a dashboard using some of the
Google visualizations. Want to do a selective refresh of certain
pieces of the dashboard based on user action (rather than a full page
reload).
Was hoping to use jquery for this, but when I try to use in
combination with the G
7;).val()
>
> }//,
> //do_something(data)
> );
> return false;
> });
>
> Jonathan
>
>
>
> Mark wrote:
> > I used "$(document).ready(function() {
> > $("from#myfrom").submit(fun
dea to use submit() instead of click(), to catch
> people that use keyboard shortcuts and the like.
>
> so use:
> $("form#myform").submit(function()...
> instead of
> $("button").click(function()...
>
> Jonathan
>
>
>
> Mark wrote:
> >
Can anybody find anything what i did wrong?
the only code that is not commented out in the handler.php is
To show me what kind of values it gets and how it looks in an array so
i can make an associative of it.
On Jul 7, 3:01 pm, Mark wrote:
> http://webserver.c4v.nl/mark/agenda%20ni
var scrUrl;
var Host = "http://www.example.com/read.php";;
function inializeUrl()
{
scrUrl = Host //+ string //in de string komt de api key
te staan
maar omdat die niet standaard is maak ik er later een string van
}
function do_it()
http://webserver.c4v.nl/mark/agenda%20nieuw/agenda.php for the
main file
http://webserver.c4v.nl/mark/agenda%20nieuw/handler.php for the
handler
http://webserver.c4v.nl/mark/agenda%20nieuw/agenda.css for the
css
http://webserver.c4v.nl/mark/agenda%20nieuw/jquery-1.3.2.js for
echo "";
}
}
?>
I have 3 drop down menu's where is post the value's bij a button.click
(see code below).
But when i push the button i see an error in fire bug "POST"
http://localhost/agenda nieuw/handler.php 67ms jquery-1.3.2.js(line
3633)"
I looked online for awnsers but couldn't find any. Maybe you guys can
he
HI
I am trying to use the Validate plugin for Jquery with .NET. I managed
to work it out on one particular page. However I have a minor problem.
Let's suppose you have a page with 2 Query tabs. In the first tab the
user can add a Person which includes Name, Surname etc. In the other
tab the user c
un 13, 8:37 pm, Mark wrote:
>
>
>
> > Hi all,
>
> > I'm trying to selectively hide and show divs based on what a user
> > specifies using three select boxes in a form.
>
> > I'm quite new to jQuery so I'm probably missing something obvious, bu
Hi all,
I am pretty new to jQuery, and I'm looking for a way to kind of
'filter' divs depending on the parameters supplied by a form.
I have three select boxes that set 'area', 'level', and 'time'
parameters (for courses).
I have given corresponding classes to some example divs, and I want
the
Hi all,
I'm trying to selectively hide and show divs based on what a user
specifies using three select boxes in a form.
I'm quite new to jQuery so I'm probably missing something obvious, but
here's what I've got and it doesn't, work, they divs just stay hidden.
Any help would be greatly appreci
Thanks to all.
I know that this can be done using CSS but dailylife.com uses JS,
since disabling it disables the feedback tab. That's why I was
wondering if there's a plug-in for jQuery that does the same.
Example: http://www.daylife.com/ (facebook tab on the left). Is anyone
aware of a jQuery plug-in that would do something similar?
Thanks.
Hi ,
I'm just trying jQuery out for the first time...
Is this a bug in jQuery or am I doing something wrong?
I am trying to chain together a bunch of drop down select boxes.
Whenever I just use .hide() and .show() it works fine. But if I
use .show("slow") it adds big gaps between some of the s
On Tue, Jun 2, 2009 at 10:48 PM, Ralf
Stoltze wrote:
>
> Hi Mark,
>
> First let me say that your request might be better suited for the
> jquery-dev list.
>
> As the author of hoverFlow I'm not quite sure if and how hoverFlow
> should be included in core.
>
> I
On Mon, Jun 1, 2009 at 9:46 PM, Mark wrote:
> Hey,
>
> The biggest issue i always had with jquery was that queue build up stuff.
> Now we have the hoverFlow plugin to fix that:
> http://www.2meter3.de/code/hoverFlow/index.html
> But i was wondering.. shouldn't this be par
Hey,
The biggest issue i always had with jquery was that queue build up stuff.
Now we have the hoverFlow plugin to fix that:
http://www.2meter3.de/code/hoverFlow/index.html
But i was wondering.. shouldn't this be part of the core? like for
example that you can say to the animate function to run o
I am displaying some lists, and some of the list li's display user
generated content. Some of that conetnt seems to have lists in them.
Is there a way to specifically say that treeview should only process
certain uls or lis and ignore others?
e.g.
my user list
my user list
a paragraph
I
I've tried about everything and can't get the results I need.
Basically I have some draggables in a movable div (pane). When I'm
over the pane I only want the draggable to be droppable on elements in
the pane (and have a visual cue as such). When I move beyond the pane
I only want the draggable
I'm using tooltips on a file list.
When I delete a file (and it's DOM structure representation) that has
a tooltip I'm getting an error at line 232.
"setting(current) is undefined"
if (event) {
231 // position the helper 15 pixel to bottom right, starting from
mouse position
232 left = event.p
ass
that's shared by all the divs and placing the divs after each link),
but the cluetips don't display properly: the first three links show
the first div, then the rest show none.
Am I asking too much of cluetip? Or is there a different way to do
this?
Thanks,
Mark Trapp
On Apr 9,
hello,
I want to use this menu but i have so many main items that there are 2
rows.
The first row is always on top.
How can i get the second level menu to be on top of the fisrt item
menu-item1 menu-item2 menu-item3 menu-item4 menu-item5
menu-item6 menu-item7 menu-item8 menu-item9
i have major trouble to get the form validation plugin from Jörg to
run
it seems like it cannot deal with forms coming from a framework like
CAKEPHP
the fields are build the following by cake:
well, now this plugin seems to ignore the id tags and use the name tag
instead
but it has trouble wit
nWidth) { emWidth = o.minWidth; }
to...
if ((emWidth * 1) > (o.maxWidth * 1)) { emWidth = o.maxWidth; }
else if ((emWidth * 1) < (o.minWidth * 1)) { emWidth = o.minWidth; }
Works great with that fix. Thanks for a great script.
Mark
to attach the event handler like this:
$(this.activeXObj).bind("PlayerInitialized", this.handlerFunc);
With the jQuery code I never receive the event.
Can anyone tell me what I am doing wrong?
Thanks,
Mark
}
});
});
On Mar 11, 6:13 pm, Jörn Zaefferer
wrote:
> Using the validation plugin, set a required-rule for each field, after
> removing the value from the 0-option, that is, change it to value"">0
>
> Jörn
>
> On Wed, Mar 11, 2009 at 6:57 AM, Ma
}
});
});
On Mar 11, 6:13 pm, Jörn Zaefferer
wrote:
> Using the validation plugin, set a required-rule for each field, after
> removing the value from the 0-option, that is, change it to value"">0
>
> Jörn
>
> On Wed, Mar 11, 2009 at 6:57 AM, Ma
code to just
add up the values, but that's not really the point).
How would I go about doing this?
Thanks,
Mark
hi
i want to a clone of an element to be dropped and dragged. i am using
the standard jquery 1.3 and jquery ui 1.7.
i tried the helper clone option. it creates a clone when dragged, but
when it is dropped it just reverts back to the original position.
but i want a clone also to be dropped.
for ex
Yup that worked after I got the scoping right
$('#myButton').click(function(){
var validator = $("#myForm").validate();
validator.settings.submitHandler = function() {alert('new
submithandler involed');};
});
Thanks Jorn.
Mark
On Mar 6, 12:39 pm, Jör
t; options with some new code.
so in short:
$(document).ready(function(){
$('#form').validate();
});
function changevalidateoptions()
{
//Set my new options here
}
Thanks, Mark
Ah, I totally forgot to reply to this. This fixed the problem, thank
you so much!
Mark
On Feb 15, 5:18 am, Jörn Zaefferer
wrote:
> The minLength doesn't exist, its minlength. What happens is that an
> error as thrown, and instead of stopping the submit, it just submits.
> To deb
Actually sorry the values should be:
2009-01-04
2009-01-07
2009-01-10
I have the following inputs
The idea is that I have a php script that calculates the date by
building upon the values that are passed into it.
So in the (a|b|c)_preview span the expected values would be something
like:
2009-01-04
2009-01-05
2009-01-06
I then tried to
Any other suggestions?
Regards
- Mark Gibson
), not $("div.postSummary:odd").addClass("odd");
>
> On Feb 17, 12:04 am, mark law wrote:
> > Thanks MorningZ :), yes that is the one I'm trying to mimic. "odd" is
> only
> > declared in:
> >
> > $("div.postSummary-teas
gt;
>Row 3
>
>
>Row 4
>
>
>
> If you had
>
> Teaser 1
> Teaser 2
> Teaser 3
> Teaser 4
> Teaser 5
>
> then, there's no reason why
>
> $("div.postSummary-teaser:odd").addClass("odd")
I copied it from here:
http://blog.jquery.com/2006/10/18/zebra-table-showdown/ and tried
unsuccessfully to modify it for div classes ...
2009/2/17 MorningZ
>
> I'm just curious... where are you getting your syntax from?
>
> "div:.postSummary"
>
> ".postSummary-teaser(odd)" ??
>
> there's n
Thanks Stephen, I suppose it's usually only doctors who say "your colon is
in the wrong place" ;), unfortunately it still doesn't work :(, I appreciate
your help though
2009/2/17 aquaone
> your colon is in the wrong place. (how often does one get to say that?)
> $("div.postSummary-teaser:odd").a
I am trying to append images to a div from a json file, but a don't
see the images. They look broken, but the references are ok. What is
wrong here?
http://www.sionvalais.com/v2/js/
jq.js">
$(document).ready(function(){
$.getJSON("[jQuery] jQuery.validate not working properly?
If I leave all the fields blank, the errors show up as they should.
But if I correctly fill out even just one of them, the form gets
submitted. Why is this happening?
Here's the JS:
$(document).ready(function() {
$("form").validate({
rules: {
emai
).appendTo($
> > ('').attr('colspan','7').appendTo($('').prependTo
> > ('#recent_activity tbody'))).slideDown('slow').fadeIn('slow');
>
> > On Feb 12, 6:51 pm, James wrote:
>
> > > That's prob
#x27;#recent_activity tbody'))).slideDown('slow').fadeIn('slow');
>
> > On Feb 12, 6:51 pm, James wrote:
>
> > > That's probably because you're using the "first-child" of the ,
> > > which is just the first .
> > > M
I have a table that is setup with a tbody tag.
If I run the following:
$("#recent_activity tbody").prepend( 'Testing this func' );
I get a new row spanning 7 columns
If I prepend this:
$("#recent_activity tbody").prepend( 'Testing this func' );
Then try to show it, with something like:
$(".aj
I have a form with four text fields where one must be completed - then
each has their own validation rules (so if a field is not blank it
must validate, but it can be blank as long as at least one other is
completed).
How can I code this using the validate plugin?
body tr td.date:first").text();
>
> On Feb 12, 9:13 am, Mark Steudel wrote:
>
> > I have a table like so:
>
> >
> >
> >
> > t1
> > t2
> >
> >
> >
> >
> > value
> > 2008-09-01 <--- want this content
> &
I have a table like so:
t1
t2
value
2008-09-01 <--- want this content
value
2008-09-01
And I want to try and get the first td with class date, I've tried the
following and I get close, but I think I'm just missing something
easy:
$('#recent_activity tbody:first-child .activity_date'
To make this example more readable, and to better convey my goal, I've
restructured the CSS and HTML. Only the green area is click able (as
it should be, the red area does not have a bound click even for a
reason). When I click any part of the green area, I would like to get
the value from the tabl
I have been tracing this one down for two days.
Has anyone else ever seen jquery making multiple request for a single
call?
Here is the call:
$("#configure_blocks").load(
"config_templates/"+config_template
+".html", { bust: new Date() }, function( data ){
le}
> function(data)
> {
> alert(data);
> // do something
> });
>
> On Jan 30, 4:03 pm, Mark Livingstone wrote:
>
>
>
> > Thanks, Beres.
>
> > I am reading this order_message from a DIV. How do I
ta before putting it in the request or send
> it as POST.
>
> Also I'm not sure how it worked for you on server-side, if you were
> expecting $_POST... I assume you were expecting
> $_REQUEST instead, which is not a good idea in my opinion.
>
> On Jan 30, 8:08 am,
I have the following code:
$.post(order_send_email.php?order_message='+order_message)
my 'order_message' is:
'Dear '+data['salutation']+" "+data['first_name']+" "+data['last_name']
+', \n\nThis is to inform you that your order #'+key+" and payment in
the amount of...';
When using $.POST... the
Hi Rick,
Thanks for your response. I've got it working now. I used the
LiveQuery plugin that you recommended. It took a few attempts but I've
finally managed to get it working!
Thanks again. Saved me a *lot* of time!
Mark
On Jan 19, 9:44 pm, "Rick Faircloth" wrote:
>
I'm using jQuery to perform some ajax when a link with a certain id is
clicked on. The ajax updates a database record and then it replaces
the 'a' tag with a new one. This all works fine. The new 'a' tag has
the same id as the old one, but text and some other properties on it
change. It's the id t
org/en-US/firefox/addon/2108
>
> Mark Gibson wrote:
> > Any chance of getting an alternative stylesheet added to jquery.com?
> > I've got a small 1024x600 display, and the heading of jquery.com, nice
> > as it is, takes up a lot of space. I'd just like to suggest ad
ottom: 4px; }
At the minute I use greasemonkey to add this, but I thought others may
benefit too.
Regards
- Mark Gibson
hi guys,
i am looking for a stock price ticker plugin, that will change color
of the price green or red, and also change in real time.
do you guys know any plugins or any other suggestions for this?
thanks
anging it to a class (or adding an
> iterator to each ID).
>
> Sorry if this isn't the right answer?
> Cherry.
>
> On Jan 10, 1:06 pm, mark wrote:
>
> > Hey Guys, I'm new to jquery, and haven't much experience with
> > javascript. I'm trying t
Hey Guys, I'm new to jquery, and haven't much experience with
javascript. I'm trying to toggle a few rows on a table with a show/
hide. Is this possible with a table or do I need to rewrite my view
using divs?
$(document).ready(function() {
// hides the slickbox as soon as the DOM is ready
//
1 - 100 of 262 matches
Mail list logo