Hi folks,
The following function works fine in jQ1.3, but not in jQ1.4
function getArchive(pID){
$.get(scripts/ajax_editor.asp?id=getArcepID=+pID+q= + new
Date().getTime(),
function(responseText){
//console.log(responseText);
Hi folks,
I'm hoping for some help/direction in a problem I'm having with some
tab switch code (originally presented @
http://www.mind4m.com/stories.php?pageid=10)
that I've introduced onto a test page @
http://rudderlive.bito.org.nz/employment_dev.asp
While the tab a links are working in so
Hi folks,
I'm having difficulty with a flicker/repaint of an 'unhidden' div in
the following scenario
A user clicks on a region of an image map and triggers the following
function which 'unhides' previously populated divs, each with an id of
the clicked region and each containing a list of
it's a net gain).
Michel Belleville
2009/11/27 Bruce MacKay thomasba...@gmail.com
Hello folks,
I have some html returned via ajax that contains several 'a' tags to
which I am binding a function.
Both of the following methods does the job, but my perception of other
posts about
('h6.expand_group').removeClass('expand_group');
$(this).next('fieldset').slideToggle('fast').siblings
('fieldset:visible').slideUp('fast');
return false;
});
Regards,
Adriana
On Nov 26, 11:41 am, Bruce MacKay thomasba...@gmail.com wrote:
Hello folks,
I have
Hello folks,
I have some html returned via ajax that contains several 'a' tags to
which I am binding a function.
Both of the following methods does the job, but my perception of other
posts about this general practice from more wiser folk than me is that
the first method is the better method.
Hello folks,
I have an operational accordion based on a series of fieldset tags
(the content) and h6 tags (the triggers).
It is initiated by:
$('.accord h6').click(function() {
$(this).next('fieldset').slideToggle('fast').siblings
('fieldset:visible').slideUp('fast');
});
The trigger
version of SimpleModal.
-Eric
[1] http://code.google.com/p/simplemodal/downloads/list
On Oct 30, 6:20 am, Eric Martin emarti...@gmail.com wrote:
Bruce,
Thanks for reporting the issue. I was able to reproduce the issue and
will work on a fix.
-Eruc
On Oct 29, 10:51 pm, Bruce MacKay b.mac
Hi folks,
I've just updated a previously functioning piece of code that uses
the simplemodal plugin - the code does an ajax call to a file
containing a email form and loads it into a modal layer.
The code now longer works in IE7 using the latest version of
simplemodal
Hello folks,
I'm having difficulty getting the contents of a particular tab within
a jquery-ui Tabs collection that is present in a lightbox (Fancybox)
My print.css sheet is:
html, body {
display:block;
}
body * {
display:none;
}
#printresults {
display:block!important;
Hi folks,
I have a set of 3 divs with a class element of hideme. Through
the code that follows (it's not mine; it works!), I can click a
dedicated a.tag for each div to toggle the visibility (or not) of the
contents of the associated div.
What I'd like to be able to achieve is that if
at the above link.
On Aug 12, 10:00 am, Bruce MacKay b.mac...@massey.ac.nz wrote:
Hi folks,
I have a set of 3 divs with a class element of hideme. Through
the code that follows (it's not mine; it works!), I can click a
dedicated a.tag for each div to toggle the visibility (or not) of the
contents
The answer I needed - and found in the jQuery documents - was
var parentTag = $('#'+ni).parent().get(0).tagName;
I should have looked more closely sooner.
Cheers,
Bruce
At 04:58 p.m. 30/06/2009, you wrote:
Hello folks,
I have a function, triggered when a particular type of link is
Hello folks,
I have a function, triggered when a particular type of link is
clicked, which collects and inserts some text after the parent of the
clicked link.
This function works fine when the parent is a p tag, but I'm having
trouble when the link is within a list tag. In this instance I
Hello folks,
I have an application which removes an image from within a paragraph,
wraps that image in a div and places it in front of the paragraph.
I now want to remove that paragraph.
Why doesn't the following use of remove() not achieve my
objective? I've tested the length - it is 0,
Thanks Mauricio, I hadn't tried that angle, but
unfortunately it didn't make any difference.
I've also tried adding a class to the initial
parent p and then trying to remove all paragraphs
containing that class name - and have achieved the same nil outcome.
Thanks for your input.
Cheers,
Hi folks,
I'm having difficulty understanding how to get Klaus's history plugin
working in my application.I have an ebook application in which
the page has a static index of pages which, when an individual link
is clicked, a file is loaded into an adjacent div (#ebook).
Upon being
Conventions for the JavaScript Programming Language
-http://javascript.crockford.com/code.html
On Jun 6, 5:11 pm, Bruce MacKay b.mac...@massey.ac.nz wrote:
Hi folks,
The following function takes an image tag (or table) that appears
within a p tag container in the form
p img text /p
Hi folks,
The following function takes an image tag (or table) that appears
within a p tag container in the form
p img text /p
and wraps the image (and caption if a title is present) into a div
for floating left, right, or centering.
My problem is that I don't know how to shift the
Hello folks,
I'm getting an IE-only error (IE6/7) on a page for which I cannot
find a solution. IE reports an error (Unexpected call to method or
property access) at line 12. The Script Debugger is pointing to
this.appendChild(E) in jquery (v1.3.2 rev. 6246).
The context of the code is
Thanks Jordon - but alas this adjustment made no difference to IE.
Bruce
At 09:57 a.m. 20/04/2009, you wrote:
Try doing $(#editorbox).fadeIn(500).html(field.doeditor);
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com]
On Behalf Of Bruce MacKay
Sent: Sunday, April 19
My apologies in advance for posting this question here - but I feel
I've exhausted other avenues available/known to me and I don't know
where else to seek help. Even direction to more appropriate forums
to post such a query would be very helpful.
I'm having difficulty identifying a strange
I found a solution (thanks to Steven Bristol -
http://codesnippets.joyent.com/posts/show/1345 - )...
which namespaced the click event.
Then, but detailing the id of the a tag you want to cancel, you can
unbind the behaviour from that link (id) and that link only.
Hi folks,
I'm after some help/ideas of how to link a couple of things together.
I have a page which holds several pieces of text that are hidden on
pageload. These are toggled into and out of view via a function tied
to an a.showme class combo.
I also have functionality to load content
Hello folks,
The code and HTML below are from a quiz editor - I have an onClick
function that fires duplicateRow to add another question box onto the
end of the table.
Firefox does what I expect to happen - it selects the last tr
row. IE7 and Safari, on the other hand, appear to treat the
Thanks RobG - sorry about the layout - I didn't send it like it
appeared. I didn't notice the missing tr tags and wouldn't have
thought of the tbody + id solution.
Cheers, Bruce
At 06:48 p.m. 13/02/2009, you wrote:
On Feb 13, 1:36 pm, Bruce MacKay b.mac...@massey.ac.nz wrote:
Hello
Hi folks,
I've tried a zillion combinations but I can't find the one that will
make Shadowbox (http://mjijackson.com/shadowbox/index.html) fire.
I am running jQuery 1.3.1 and Shadowbox v2.
Would someone mind checking out my test page at
http://horticulture127.massey.ac.nz/dumpthis.htm and
!
Read jQuery HowTo Resource - http://jquery-howto.blogspot.com
On Sat, Feb 7, 2009 at 2:54 PM, Bruce MacKay b.mac...@massey.ac.nz wrote:
Hi folks,
I've tried a zillion combinations but I can't find the one that will make
Shadowbox (http://mjijackson.com/shadowbox/index.html) fire.
I
Hi folks,
The following snippet processes a JSON string sent back to the
browser (it is part of a poll)
function loadResults(data) {
var OPT_VOTES = 2;
var total_votes = 0;
for (id in data) {
total_votes = total_votes+parseInt(data[id][OPT_VOTES]);
Hello folks,
I want to remove a css class (.qyes) from every label element inside
a single div (id=quiz).
Each label element has an ID of the form fb*** where *** represents
a unique identifier (that is not in numerical sequence and is not
related to the label element's position or order
Hello folks,
I've been successfully using .serialize() to prepare input data when
my form has the structure
form id=processthislabel for=d1Your name/labelinput
id=d1 type=text name=dStartDate etc...
/form
However, if the input elements are enclosed within a table structure
within the
Thank you Dave.
The tables were formed fine (I'd checked that) but I had managed to
include duplicate form IDs in the page and once that was fixed, the
.serialize() is now working as expected.
Cheers,
Bruce
At 02:54 p.m. 4/10/2008, you wrote:
That code looks okay.
Have you run the HTML
I appreciate the input (no pun intended!) but that workaround didn't
do the job.
Cheers, Bruce
At 01:54 p.m. 4/10/2008, you wrote:
a quick workaround that springs to mind is $
(#form :input).serialize();
On Oct 3, 6:26 pm, Bruce MacKay [EMAIL PROTECTED] wrote:
Hello folks,
I've been
I haven't set breakpoints before - will follow that up now - but if
it helps, my code is
function saveForm(ej) {
var temp=new Array();
alert(ej);
temp=ej.split('*');
var sct = temp[0];
var fID = temp[1];
alert('#'+sct);
var str =
Hello folks,
I have a page containing a number of forms e.g.
div id=alerts
pa href=# class=ctrl_s[an image]/a/p
form id=f_alert
[various form elements]
/form
/div
div id=whodidit
pa href=# class=ctrl_s[an image]/a/p
form id=f_whodidit
Hello folks,
I want to dynamically update a parameter value when using jEditable.
The following function loads a div on the current page with new
content relating to an item ID of fID (selected from a list of items
in another div on the page). I then use jEditable to allow the user
to
, Bruce MacKay wrote:
The following function loads a div on the current page with new
content relating to an item ID of fID (selected from a list of items
in another div on the page). I then use jEditable to allow the user
to update the content of that item. That bit works fine on the
first cycle
',
submitdata : function() {
return {foo: fID}
},
type : 'textarea',
width : '95%',
tooltip : Click to edit...
});
At 12:51 a.m. 30/09/2008, you wrote:
On Sep 29, 2008, at 11:55 AM, Bruce MacKay wrote:
The following function loads a div
Hi folks,
I'm having trouble with lower elements (correct usage of the term???)
of disappearing under the footer div of my page.
A test page is here:
http://www.watereducationalliance.net/technology.asp (click on key info)
In both IE7 and FF3, the lower two items of the accordion are not
More searching has led me to a solution, and another question
$(a.openW).click(
function() {
var sTarget = this.href;
if (!winRef.open){
winRef=window.open(sTarget);
return false;
}else {
Hello folks,
I'm using the Cycle plugin to display annotated slideshows - I'm
having problems with it remembering and presenting the titles of
previous slideshows.
My sequence is this:
1. The page is loaded and the current slideshow is started
$(document).ready(function() {
...
Hello Mike,
Thanks for your interest.
A link is here...
http://ramosus.massey.ac.nz/jQuery.htm
Cheers/Bruce
At 12:24 a.m. 28/05/2008, you wrote:
In its simplest form my problem is this. Suppose I have two
slideshows, A and B. Slideshow A runs properly. However, when I
replace
Thanks Mike, that did solve the problem.
Cheers/Bruce
At 11:25 a.m. 28/05/2008, you wrote:
Hello Mike,
Thanks for your interest.
A link is here...http://ramosus.massey.ac.nz/jQuery.htm
Cheers/Bruce
Since the first slideshow was never explicitly stopped you actually
have two running
Hello folks,
I'd appreciate insight to the fault in this function which works in
FF and Safari but not in IE7. Specifically, the returned ajax file is
not displayed.
function fnGetEbookFile(ni){
$.ajax({
url: 'textfiles/'+ni+'.txt',
type: 'GET',
cache: false,
Sorry folks - I was looking in the wrong place - the file being
loaded had a malformed div tag and IE7 was responding to that.
Cheers,
Bruce
At 11:45 p.m. 12/05/2008, you wrote:
On 12 Mag, 12:57, Bruce MacKay [EMAIL PROTECTED] wrote:
Hello folks,
uhm... it's kinda strange O_o
maybe
Hello folks,
This piece of code
if (($('#theImage').length0)) {
var img_width = $('#theImage').width();
$.log(img_width);
$(#sCaption).css(width,img_width);
};
follows an ajax call to bring content to an existing div...
Hello folks,
I am wanting to find the width of an image loaded via an ajax call so
that I can alter the width of a div holding the caption for that image.
The image that is loaded is always tagged with an id of
'theImage'. Each image loaded with each ajax call has a slightly
different
').animate({backgroundColor:'#9C3'},2000).animate({backgroundColor:'#E0F88F'},1000);
}
);
Karl Rudd
On Thu, Apr 3, 2008 at 12:41 PM, Bruce MacKay [EMAIL PROTECTED]
wrote:
Hello folks,
I have a table of data, with each row containing a checkbox. What I
want
users
Hello folks,
I have a table of data, with each row containing a checkbox. What I
want users to be able to do is tick the box of each row of data they
want to delete (and after ticking, they will submit the form etc etc.
As a visual aid, I want to alter the background colour of the row -
Hello folks,
I'm having difficulty getting a successful file upload working with
the form plugin for which I'd appreciate assistance.
My backend is ASP - I can catch the posted elements using
request.form(..), but not via the objUpload object created by my
upload program (Persits.Upload) as
Hi Mike,
I've finally seen my problem - 6 hours after starting - the forms
plugin that I was using was an old version. I downloaded the most
recent version, changed the options statement appropriately, and
voila - the form works as expected.
Sorry for the false report.
Cheers/Bruce
At
Hi folks,
I have a form (id=sshoweditor) containing - let's say 6 -
fieldsets, each containing an input element.
The fieldsets have a unique ID - fs0, fs1, ... fs5.
I have a function that can delete any specific fieldset.
My looping problem comes now - when the fieldset is removed, I want
Thanks Jason - appreciated.
At 03:33 p.m. 8/03/2008, you wrote:
I think you're looking for something more like this for that last bit:
$('#sshoweditor fieldset').each(function(i){
$(this).attr('id','fs' + i);
});
- jason
On Mar 7, 8:51 pm, Bruce MacKay [EMAIL PROTECTED] wrote:
Hi
Can someone tell me/show me what I'm doing wrong here please?
I'm duplicating a fieldset that contains an input form. However,
within this fieldset lies the string:
a href=# onclick=showImageList(x);.
... where (x) is the zero-based number of the fieldsets in the overall form.
So, for
Thank you Andrea for the solution - I'd never have gotten there.
Cheers, Bruce
At 10:05 p.m. 13/02/2008, you wrote:
On 13 Feb, 09:05, Bruce MacKay [EMAIL PROTECTED] wrote:
s=clonedRow;
var myString = 'showImageList'+iRowID;
var myString2 = 'showImageList
Thanks Charles for this full and complete response - I very much appreciate it.
Cheers
Bruce
At 09:27 a.m. 6/02/2008, you wrote:
Bruce MacKay wrote:
: Hello folks,
:
: I'm trying to duplicate a row of an existing table using a function
: adapted from
: http://www.nabble.com/Add-Table-row
Hello folks,
I am using the .clone() method to duplicate a fieldset containing
some form elements e.g.
var clonedRow = $( #sshow_input fieldset:last ).clone();
Within that cloned fieldset is a string of the form sListImage(x)
where x = 1, 2, or 3 etc
With each duplication I need to
Hello folks,
I'm trying to duplicate a row of an existing table using a function
adapted from
http://www.nabble.com/Add-Table-row-to12989886s27240.html#a13300133
My problem is that I cannot identify the identifier of the last row
(of the original table).
The last row of my table has the
Hello folks,
Has anyone had experience with the autogrow plugin
(http://plugins.jquery.com/project/autogrow)
It works like a dream in FF, but in IE7, the lower 10px of the
autogrown textarea pulses up and down.
I'm using v1.02 of the plugin with v.1.2.3a of JQuery
Any ideas?
Thanks,
Hello all/Michael,
I'm wanting to use Shadowbox in an application where the content of
the page is being changed via AJAX
I have added Shadow.init(); into the callback function that is fired
when the page's content is repopulated. From the generated view of
the source code, the
div
At 04:59 p.m. 30/01/2008, you wrote:
Any idea/suggestion to allow me to achieve what I'm seeking here?
Can you post a demo link? That would be most helpful.
Sorry, I cannot do that for a couple of days. Could we try it this way...
The following code retrieves new content into an existing
... by reading Michael's docs a little more closely.
Into the document.ready block
Shadowbox.init({
skipSetup: true, // skip the automatic setup
});
Into the getNextPage function
Shadowbox.setup($('a.sbox'),{overlayOpacity: 0.8});
Apologies for not doing
Hello folks,
I've just belatedly upgraded to the latest version of jQuery and am
finding old plugins now misbehaving.
I'm having trouble with Kevin Luck's styleswitch.
FIrebug is reporting $ is not a function on the first line of this
code. I can't understand it - jquery is already loaded.
Bruce
Date: Mon, 28 Jan 2008 22:26:03 +1300
To: jquery-en@googlegroups.com
From: Bruce MacKay [EMAIL PROTECTED]
Subject: styleswitcher problem
Hello folks,
I've just belatedly upgraded to the latest version of jQuery and am
finding old plugins now misbehaving.
I'm having trouble with Kevin
is inside a
$(document).ready() ? If not, it might be getting called before the
jquery.js file loads. Just grasping at straws here.
--Karl
_
Karl Swedberg
http://www.englishrules.comwww.englishrules.com
www.learningjquery.com
On Jan 28, 2008, at 6:12 AM, Bruce MacKay wrote:
Hi
Hello folks,
I'm having a problem with clueTip overwriting or affecting the title
attribute of a returned a tag.
I have an application which dynamically returns the names of images
in a user-selected folder.
The returned strings (via JSON) appear in the form:
a href=#
Hello folks,
I'm having problems with the following line of code
$([EMAIL PROTECTED]'del_']).id(del_*+pb+_+iA+_ck);
in the function below.
What I'm trying to do is replace the id of the a tag from its
existing id of 'del_' to 'del_*x_y_ck', where x and y are the
variables pb and iA.
I
On 10/17/07, Bruce MacKay
mailto:[EMAIL PROTECTED][EMAIL PROTECTED] wrote:
Hello folks,
I'm having problems with the following line of code
$([EMAIL PROTECTED]'del_']).id(del_* +pb+_+iA+_ck);
in the function below.
What I'm trying to do is replace the id of the a tag from its
existing id
to the aparence of the images in your
gallery.
On Oct 4, 12:28 am, Bruce MacKay [EMAIL PROTECTED] wrote:
Hello,
I'm having difficulty getting this plugin to
work - a test page is here:http://www.thomasbaine.com/gallery.asp
I'm sure I've followed the example, but obviously
I'm missing something. When
At 02:28 a.m. 20/09/2007, you wrote:
Is there an implementation of Tag Cloud css or logic using jquery?
This might help you:
http://www.nabble.com/-Plugin--DynaCloud-Plugin-tf4254840s15494.html#a12109312
Hello folks,
I am using the ajaxForm plugin in combo with Jörn's validation plugin.
The relevant code is below - it is called from
$(document).ready(function() and it works -
except for one thing. I need to click on the
submit button twice in order for the validation/submit to be fired.
:
On 9/11/07, Bruce MacKay
mailto:[EMAIL PROTECTED][EMAIL PROTECTED] wrote:
submitHandler: function(form) {
$(#cform).ajaxForm(options);
}
This should be
submitHandler: function(form) {
$(#cform).ajaxSubmit(options);
}
ajaxForm() binds an event handler that (among other things) calls
ajaxSubmit
Folks,
I have a small blog application at http://www.thomasbaine.com/thetuis.asp
The application works fine in IE7 and FF on both the production
server (above) and my local development machine.
IE6 works fine on my local machine, but fails on the production server.
By fail, I mean that
the attributes width and height
for the images within the carousel.
Try, specifying width and height attributes and lemme know if it works.
-GTG
On 8/3/07, Bruce MacKay
mailto:[EMAIL PROTECTED][EMAIL PROTECTED] wrote:
Hi folks/Ganeshji
I'm having trouble getting jCaroselLite to work first time
of the body tag and initialize it there
and see if it solves your problem...
-GTG
On 8/5/07, Bruce MacKay
mailto:[EMAIL PROTECTED][EMAIL PROTECTED] wrote:
Hi Ganeshji,
I specified these attributes but the problem still remains.
A test page is at
http://www.thomasbaine.com/thetuis.asphttp
Hi folks/Ganeshji
I'm having trouble getting jCaroselLite to work first time round.
When I either link to a page containing a carousel or to a thickbox
containing a carousel, in neither case do the images appear when that
page/thickbox is visited via the link.
However, if I refresh the
is not a
defined plugin method (you've used it in multiple places). Did you
mean to use scrollTop?
Also, to catch errors in async callbacks bind an error handler using
ajaxError:
$().ajaxError(function(ev, xhr, opts, err){
alert(err);
})
Cheers.
Mike
On 7/16/07, Bruce MacKay [EMAIL PROTECTED] wrote
Hi folks,
I'd greatly appreciate some help with an opacity problem (I think
that's what it is) on a page where I'm using the tabs plugin:
http://horticulture127.massey.ac.nz/degreecdays_test.asp
When I move from one tab to another in IE7, the font quality breaks up.
Any suggestions?
Hi Mike,
A sample page is here:
http://horticulture227.massey.ac.nz/admin/prolearn13.asp?id=1which=2
Click on the [view student list] link (the 'class=gao' link); the
[view search options] link which replaces it is unbound - despite my
best attempts to re-bind.
Thanks,
Bruce
original
Hi folks,
I've tried, but I just cannot get my head in the right direction with this one.
In a non-ajax application I have, if a database record is
successfully updated, the return stream from the server contains an
appropriate message of the form:
p class=alertThe record was successfully
$(this).text(); was the key
Cheers,Bruce
At 11:36 a.m. 2/07/2007, you wrote:
Try:
$(this).html();
Or, better yet:
$(this).text();
html is a function not a member variable.
Karl Rudd
On 7/2/07, Bruce MacKay [EMAIL PROTECTED] wrote:
Hi folks,
I've tried, but I just cannot get
Hello folks,
I'm wanting to incorporate jEditable into a slideshow editor I'm
making. I want to be able to pass the ID of the particular slide
being edited back to the server at the same time as the edited text.
The js source file indicates this is possible, but I don't understand
the
Hi folks,
I'm working on a site that, by default, has a RHS sidebar. I want to
be able to selective hide that sidebar based on the value of a querystring.
More specifically, there are times when I need the whole page to
display a large table, so when I submit a post or call to the server
83 matches
Mail list logo