Kristinn Sigmundsson wrote:
Hi I got a little problem on a site I'm working on, the problem is
that in FF, it mostly takes for 15sec for some files to load, and I
get this error after load:
illegal character
http://www.haddock.ffs.gu.se/js/default.packed.js
Line 1
A [EMAIL PROTECTED]ß5
Hi I got a little problem on a site I'm working on, the problem is
that in FF, it mostly takes for 15sec for some files to load, and I
get this error after load:
illegal character
http://www.haddock.ffs.gu.se/js/default.packed.js
Line 1
A [EMAIL PROTECTED]ß5•˜%(c)ñqvŒ°vqF']ÆuA\n
The problem
I think it is because you are fading it back before the content has loaded
try this:
$('#list a').each(function(i){
$(this).click(function(event){
$(#list).fadeOut(slow).load(this.href, function () {
$(this).fadeIn(slow);
});
return false;
});
});
not sure bout this, but you could try it:
buildDialogBox({
u:'oba_1_2',
f: function () { loadJson('userlist.txt', buildUserManageTable) },
d:'formDialog600'});
//kristinn
On 3/7/07, bmsterling [EMAIL PROTECTED] wrote:
Hey guys and gals,
I am trying to do something like below:
U could generate a div with the info from the form and use thickbox
internal function TB_show, like this:
$(preview).click( function () {
//generate a div with the contents of the form and then call thickbox with:
TB_show(Post preview,
#TB_inline?height=300width=300inlineId=divId, false);
});
I
Hi there, I've got a really odd problem with the interface plugin. The
thing is that when I go to the specific site that uses Interface
theres no problem, but when I update the page I get this:
http://img02.picoodle.com/img/img02/7/2/25/f_Interfaceerm_e3ca35b.gif
So, following a link or typing in
... and this is totally random any ideas?
//Kristinn
Kristinn Sigmundsson wrote:
Hi there, I've got a really odd problem with the interface plugin. The
thing is that when I go to the specific site that uses Interface
theres no problem, but when I update the page I get this:
http://img02.picoodle.com
thanks brian, as I got a few dynamically made lists I'd put
script type=text/javascript$(makesortable(sort_'.$t['type'].'));/script
after every list, a simple change to:
script
type=text/javascript$(function(){makesortable(sort_'.$t['type'].')});/script
solved it.
For some reason I thought that
Hi, so this is not a specific jQuery problem that I can point out but
let me explain my problem. When refreshing a page in FF 1.5 and FF2,
some images won't load properly. Which images is totally random. When
I check out the net tab in firebug I see that sometimes images (only
one per page view
to be the length
of the gzipped content or the unpacked one?
Kristinn Sigmundsson wrote:
Hi, so this is not a specific jQuery problem that I can point out but
let me explain my problem. When refreshing a page in FF 1.5 and FF2,
some images won't load properly. Which images is totally random. When
I
maybe something like this:
$(newObject).show(slow, function() {
$(this).css(display, table-row)
});
//Kristinn
On 2/25/07, Mark [EMAIL PROTECTED] wrote:
Hey,
well the title really says it all..
i`m trying to add/delete table rows with jquery and that`s working.. the bad
thing is that
Hm, you empty it and then append to it? wouldn't that be the same as
using .html(val)? If that is what you'd want to do, try the .text()
command:
$(this).parents(div.sidebarToDo).find(td.sidebarText).text(val)
contents of td.sidebarText will be replaced with val
On 2/22/07, [EMAIL PROTECTED]
:
---Original Message---
From: Kristinn Sigmundsson [EMAIL PROTECTED]
Subject: Re: [jQuery] appending text nodes
Sent: Feb 22 '07 15:42
Hm, you empty it and then append to it? wouldn't that be the same as
using .html(val)? If that is what you'd want to do, try the .text()
command
Thing is that even if you have a callback to the slideToggle and set
the display property to table-row, it still comes out wierd...
maybe a wrapping div is the best solution?
On 2/21/07, rolfsf [EMAIL PROTECTED] wrote:
Thanks Karl - I've scoured the threads - it's definitely on the list of
this does it for the classes
$(table tr:not([EMAIL PROTECTED])).each(function() {
$(this).attr(class, $(this).prev([EMAIL
PROTECTED]).attr(class));
});
you might be able to get it down to one row...
I would not recommend setting the IDs as
you can use the .lt() command before the .each to narrow the results,
so if you want the first 10, you would use something like
$(this).lt(10).each...
//Kristinn
On 2/21/07, john smith [EMAIL PROTECTED] wrote:
Sorry all Im still a newb to jquery. Ive been messing around with using
jquery
name from a previous tr
/ and combine them into a new class name like so:
from: class=row id=blah-one
to: class=row blah-one
I modified your code a bit to achieve this. Thank you!
Shane
On 2/21/07, Kristinn Sigmundsson [EMAIL PROTECTED] wrote:
this does it for the classes
this is something that I did for a friend not to long ago:
jQuery.fn.paste = function(func) {
if (typeof func == function) {
jQuery(this).each( function () {
if ($.browser.msie) {
hmm, shouldn't you variable items_count, be used in lt(items_count)?
can't see where it's used in you script.
//Kristinn
On 2/22/07, John W [EMAIL PROTECTED] wrote:
Just thought Id post the full deal (well the itty bitty jquery script) for
anyone else that is looking for something similiar to
Not only is it unneccesary to repeat li.expandable, according to
http://docs.jquery.com/DOM/Traversing#not.28_expr_.29 it won't work at
all.
//Kristinn
On 2/20/07, Karl Swedberg [EMAIL PROTECTED] wrote:
Hi Adam,
try this:
$('li.expandable:not([a.on])')
A couple things to note:
1. you
First things first, and I could be wrong here, but I believe that the
correct syntax for a table is:
table
thead/thead
tfoot/tfoot
tbody/tbody
/table
Not sure several tbody elements is correct... anyway, I did some test,
and got some freaky results, I think that the problem lies with the
in IE7,
no need for the display fix there)
///Kristinn
On 2/21/07, Kristinn Sigmundsson [EMAIL PROTECTED] wrote:
First things first, and I could be wrong here, but I believe that the
correct syntax for a table is:
table
thead/thead
tfoot/tfoot
tbody/tbody
/table
Not sure several tbody
Heres a similar example from when I was starting out with jquery, had
ALOT of test pages back then :P
Might help you
Javascript:
var formOptions = {
male: 'test5.php?type=male',
female:
You could do a $(.jqmClose).click(), only thing I could come up with
without having spend much time with jqModal
//Kristinn
On 2/19/07, fatjoez [EMAIL PROTECTED] wrote:
Hi there.
I've actually had a similar problem today. I'm creating a login box
overlay with jqModal on successfull login I
I did something similar once, so I just made some changes this should work:
$( function () {
$([EMAIL PROTECTED]).change( function() {
var reg = /date(on|off)(\d+)/i;
var ar = reg.exec($(this).attr(id)); //id=dateoff3 = ar =
[dateoff3, off, 3]
First thought:
$(table td).each( function () {
var nr = parseFloat($(this).text());
if (nr 1.5)
});
On 2/16/07, rolfsf [EMAIL PROTECTED] wrote:
Is there a clever way in jQuery to find non-zero data in specific columns of
a table, and assign them a class based on whether they are
...
//Kristinn
On 2/16/07, Kristinn Sigmundsson [EMAIL PROTECTED] wrote:
First thought:
On 2/16/07, rolfsf [EMAIL PROTECTED] wrote:
Is there a clever way in jQuery to find non-zero data in specific columns of
a table, and assign them a class based on whether they are positive or
negative? In plain
Hi there.
I'm working on a site that will be using alot of ajax for
edit-in-place, aswell as alot of other javascript. The thing is that
there is practicly no javascript for regular users, compared to
administrators. So I figured that in the top of my indexfile where all
the scripts are I'd do
everytime a single file changes. Just amazing!
Thanks alot guys, I have no idea how I would survive without you.
[1] http://www.ejeliot.com/blog/73
[2] http://joliclic.free.fr/php/javascript-packer/en/
On 2/14/07, Aaron Heimlich [EMAIL PROTECTED] wrote:
On 2/14/07, Kristinn Sigmundsson [EMAIL PROTECTED
jQuery.fn.makeHot = function(settings) {
var settings = jQuery.extend({
sub: _hot,
}, settings);
jQuery(this).each( function ()
{
var src = jQuery(this).attr(src);
var ext = src.substring(src.lastIndexOf('.'), src.length);
src =
I'm not sure if I'm right on this one, BUT the functioncall doesn't
stop the flow does it?
If so then when you do this:
if(mode == edit){
var userObj = getActiveUsers();
dump(userObj); // -- This gets executed before the ajaxcall has completed.
}
And that would explain why you get the
http://www.nabble.com/file/5995/threecolumnfooter.html threecolumnfooter.html
Test that file, doesn't use the dimensions plugin but you'll figure it out.
It handles windowresize, but I didn't find a good way to catch a text
resize, so in this example the placeFooter function calls itself after
Just a quick input on the PHP variables,
If you use double quotes this:
echo $var; will output the contents of $var
but using single quote
echo '$var'; vill output $var (not the contents of a variable)
On 1/27/07, Jeremy Dill [EMAIL PROTECTED] wrote:
Well, I finally got everything working
Hi there,
I'm trying to edit thickbox to call a default function whenever a
iframe has loaded, the function will not always exist in the page
loaded so I would not want a JS-error when this is the case.
Code I'm using atm:
. try {
line 304:
Well that would depend on whether the original document.location.href
returned a absolute or relative url wouldn't it?
You should make sure that the url is either absolute or relative,
depending on how you have your links defined.
something like url.replace(http://www.yourdomain.com/;, ) should
It is always (if not then atleast almost always) possible to do thing
like you describe without using custom attributes, BUT don't you think
that arnauds example makes more sense, codewise?
That way you can set the attribs easily
($(something).attr(selectableday, 1)) and then get all the
Also you had one simple mistake here;
$(#myForm).submit(function(){
alert(Submit Pressed);
)}; -- should be });
On 1/24/07, Mike Alsup [EMAIL PROTECTED] wrote:
I'm new to jquery, I'm trying to make something that work
The thing is that the ajax call will never be made, because the form
submits (to itself?). Adding a this:
/* The same with this code */
$.post(script.php);
return false; -
will stop the form from submitting and process your calls.
On 1/25/07, Karl Rudd [EMAIL PROTECTED] wrote:
Try
38 matches
Mail list logo