[jQuery] Re: JSS - New Plug-in

2007-10-06 Thread weepy
Very cool How would you recommend using it ? Ie. would you have a jss.css containing specific CSS included after the normal CSS ? Or is your intention to ignore users without javascript ? Jonah On Oct 7, 3:16 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > A question. > Probably I do not

[jQuery] Re: Off-line documentation

2007-10-06 Thread Glen Lipka
Ahh, if you are a CF guy, you will like this one: http://www.bennadel.com/blog/961-Convert-jQuery-XML-Documentation-To-HTML-PDF-Using-ColdFusion-And-XSLT.htm Glen On 10/6/07, Christopher Jordan <[EMAIL PROTECTED]> wrote: > > Thanks Glen... where do you suppose I could get the 1.1 offline docs...

[jQuery] Re: Off-line documentation

2007-10-06 Thread Christopher Jordan
Thanks Glen... where do you suppose I could get the 1.1 offline docs... I just want a sample of it for my ColdFusion Users Group preso next Tuesday. We don't typically have a live internet connection so I can't show them the online documentation. Any help would be great. Thanks, Chris On 10/6/07

[jQuery] Re: How to check for specified fonts

2007-10-06 Thread Joel Birch
I set up a test and added some debugging code and it works for me. Here is the relevant stuff so you can see how it differs. HTML: Some well-chosen sample text Some well-chosen sample text JS: function IsItThere( fontname ){ $("#test").css("font-family", fontname + ", monospace

[jQuery] Re: Problems with Firefox

2007-10-06 Thread Steve Finkelstein
You're going to need to at least provide some code if you want a decent response from anyone. Sent from my iPhone On Oct 6, 2007, at 8:26 PM, tramblie <[EMAIL PROTECTED]> wrote: Several JQuery APIs won't work with Firefox (2.0.0.7). Has someone noticed the same problem? Is it a bug, an in

[jQuery] Re: More Superfish Questions

2007-10-06 Thread Joel Birch
On 10/7/07, Ryura <[EMAIL PROTECTED]> wrote: > http://simplythebest.net/scripts/DHTML_scripts/dhtml_script_122.html > What I'm asking is if I can do a menu like sample 2 using superfish. Hi Ryura, Sorry for the slow reply. Superfish does not handle this type of menu, but fortunately there is a

[jQuery] Re: Calling JavaScript via .load(), Possible?

2007-10-06 Thread Jeff Griffiths
form the docs: "Note: Avoid to use this to load scripts, instead use $.getScript. IE strips script tags when there aren't any other characters in front of it." Also, it doesn't seem like you have a callback or anything that calls the code that gets loaded into the dom. unless I'm missing somethi

[jQuery] Keeping the calendar plug in open?

2007-10-06 Thread iain duncan
Apologies if I'm posting in the wrong place, I'm new to jquery. I've got the calendar plugin working ok, but would I would like it to do is to stay open all the time ( as in google calendar ). I don't see in the calendar docs any options or methods for preventing it from closing. Am I missing som

[jQuery] Re: JSON Help?

2007-10-06 Thread sgrover
Thank you for the response. I'm looking into the various points. The brackets were an attempt to get the thing working. Normally that would just be the array block "[ . . . ]", and the inner objects. Shawn Michael Geary wrote: > That's not JSON code. > > * JSON doesn't use a () wrapper arou

[jQuery] Re: JSON Help?

2007-10-06 Thread sgrover
Got it I think I had a semicolon at the end of my json array. Took that off, and things started working fine. The semicolon was originally added to help me troubleshoot (i.e. cut/paste the block into a javascript variable) - this was the case with the new line characters too. I've also

[jQuery] Problems with Firefox

2007-10-06 Thread tramblie
Several JQuery APIs won't work with Firefox (2.0.0.7). Has someone noticed the same problem? Is it a bug, an incompatibility or what?

[jQuery] Re: More Superfish Questions

2007-10-06 Thread Ryura
Sorry, I suppose I was not too clear in my question. http://simplythebest.net/scripts/DHTML_scripts/dhtml_script_122.html What I'm asking is if I can do a menu like sample 2 using superfish. On Oct 6, 3:06 pm, Olivier Percebois-Garve <[EMAIL PROTECTED]> wrote: > What do you mean by collapsible ?

[jQuery] Problems with jQuery & Firefox

2007-10-06 Thread tramblie
The jQuery's Ajax Requests (and some other) API won't work with Firefox (2.0.0.7) has someone noticed the same problem? Is it an incompatibility, a bug or what?

[jQuery] How to check for specified fonts

2007-10-06 Thread EdMartin
Back in the day, using HTML 4.01, I could check for the presence of a specified font (different from the default monospace font) by placing a DIV containing a couple of SPANs, absolutely positioned off-screen using this kind of arrangement (I'm spreading the tags because I don't know how this foru

[jQuery] Re: calling all jQuery Safari wizards!

2007-10-06 Thread muccy
> $("#photo").fadeIn("slow"); > $("#photo").show; $("#photo").fadeIn("slow", function() { $(this).show(); } it should work well

[jQuery] Re: JSON Help?

2007-10-06 Thread sgrover
Thanks. I'll look into this. The various fields are escaped with PHP's json_encode function. So I'll see if I need to pre-process line feeds. Shawn Jeffrey Kretz wrote: > I'm not sure if this is the issue, but I noticed that you have line feeds > inside your string values. The server-side J

[jQuery] Re: JSS - New Plug-in

2007-10-06 Thread [EMAIL PROTECTED]
A question. Probably I do not get itbut how you could use it in real world? I mean what you think this should be helpfull. Looks quite interesting but I do not get it completely. Andrea On 6 oct, 18:51, "Glen Lipka" <[EMAIL PROTECTED]> wrote: > This looks interesting. > Would it fix this pr

[jQuery] Re: TableSorter - Storing Sorted Columns To Restore After Ajax Call

2007-10-06 Thread James Dempster
Your quite welcome to use the tablesorter cookie widget. http://www.jdempster.com/category/code/jquery/tablesortercookiewidget/ On Oct 6, 6:54 pm, zacware <[EMAIL PROTECTED]> wrote: > I have a page whereby everytime it receive focus the tables on it refreshes > automatically so the user always ha

[jQuery] Figured it out

2007-10-06 Thread jarrod
jarrod wrote: > > I'm finding that the Dimensions plugin sometimes doesn't return the "top" > position of an element, just returns zero. (Sometimes works perfectly > though.) > Right after I posted I realized that it was because the element was hidden. I changed the method to first show the e

[jQuery] Dimensions plugin, offset['top'] returns 0 regardless of position

2007-10-06 Thread jarrod
I'm finding that the Dimensions plugin sometimes doesn't return the "top" position of an element, just returns zero. (Sometimes works perfectly though.) Here is my code, sanitized for the forum software. // Finds the height that an element should be to be X number of pixels from the // bottom o

[jQuery] OT: Page layout issues

2007-10-06 Thread DaveG
Although I'm using jQ on this project, this particular issue is CSS related, not jQ related. I'm having a fairly minor layout problem, but I've been trying to resolve it forever, and getting no-where. Hopefully some can shed some light on the problem. Here's the URL: http://skidoo.solidgon

[jQuery] Re: force page to load content from another page

2007-10-06 Thread Brian Cherne
I'm pretty sure the history plug-in works when navigating in a single-page architecture (hijacking deep links like foo.html#deeplink), but it sounds like this is an issue related more to the caching of a page in memory. You may be stuck with forcing the given page not to cache. Best to do it on th

[jQuery] Re: Off-line documentation

2007-10-06 Thread Glen Lipka
There are a few I have seen, but all for 1.1, not 1.2. When the 1.2 xml is released, I think we should have some new hard copies around. Glen On 10/6/07, Christopher Jordan <[EMAIL PROTECTED]> wrote: > > I seem to remember reading once that I could download the jQuery > documentation for use off

[jQuery] Re: JSS - New Plug-in

2007-10-06 Thread Glen Lipka
This looks interesting. Would it fix this problem here? http://www.commadot.com/jquery/cssAND.php Glen On 10/6/07, Andy Kent <[EMAIL PROTECTED]> wrote: > > > Hi Guys, > > This is a plug-in that was thrown together in a few spare hours after > chatting with some people at FOWA last week, I hadn't

[jQuery] JSS - New Plug-in

2007-10-06 Thread Andy Kent
Hi Guys, This is a plug-in that was thrown together in a few spare hours after chatting with some people at FOWA last week, I hadn't had much sleep at the time so it's still a bit rough round the edges. In a nutshell though it gives you full support for all jQuery selectors from within your CSS

[jQuery] Re: force page to load content from another page

2007-10-06 Thread Josh Nathanson
Forward and back button is a different story...I think there may be a plugin for that? -- Josh - Original Message - From: <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Saturday, October 06, 2007 10:40 AM Subject: [jQuery] Re: force page to load content from another page Tha

[jQuery] Re: More Superfish Questions

2007-10-06 Thread Olivier Percebois-Garve
What do you mean by collapsible ? sounds like an accordion to me... Superfish is an improved version of suckerfish. Suckerfish makes pure css menu "compatible" with IE. Pseudo-classes like :hover are only possible on "a" elements in IE. Pure css menus require :hover to be possible on li elements

[jQuery] Re: JSON Help?

2007-10-06 Thread Jeffrey Kretz
I'm not sure if this is the issue, but I noticed that you have line feeds inside your string values. The server-side JSON parser I use replaces all line breaks within a string value with control characters (in addition to escaping quotes). val.Replace("\"", "\\\"").Replace("\r", "").Replace("\n"

[jQuery] TableSorter - Storing Sorted Columns To Restore After Ajax Call

2007-10-06 Thread zacware
I have a page whereby everytime it receive focus the tables on it refreshes automatically so the user always has the latest data I want to store the currently selected sort order from tablesorter so that after I re-create the table again I can specify what the users sort order was before the tab

[jQuery] Re: force page to load content from another page

2007-10-06 Thread [EMAIL PROTECTED]
Thanks for the idea. I tired it by switching my load code out with the code below but still no luck. When I watch firebug I can see create.cfm be called when I first hit the page, but when I use the forward and back button to hit the page it never calls create.cfm again (until I manually refresh

[jQuery] Re: force page to load content from another page

2007-10-06 Thread Josh Nathanson
Try using the $.ajax function instead of load (load just does an ajax get), with cache param set to false. -- Josh - Original Message - From: <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Saturday, October 06, 2007 10:11 AM Subject: [jQuery] force page to load content from anoth

[jQuery] force page to load content from another page

2007-10-06 Thread [EMAIL PROTECTED]
I need the page to be forced to load content EACH TIME the page loads. If I do this: $(document).ready(function(){ $('#target').load('create.cfm'); }); The page will grab the stuff from create.cfm and load it into the div as it should. (Note: Create.cfm contains the current timestamp) The

[jQuery] Re: Validation plugin errors on IE6

2007-10-06 Thread Josh Nathanson
I have also found that the unpacked version works fine, but the packed version doesn't work on IE6. I tried repacking without "base62encode" and "shrink variables" checked, to no avail. I get error something like "missing '(' in regular expression". -- Josh - Original Message -

[jQuery] Re: JSON Help?

2007-10-06 Thread Michael Geary
That's not JSON code. * JSON doesn't use a () wrapper around the whole thing. * JSON requires all property names to be double-quoted, e.g. "billed":null. * JSON does not allow executable code such as "new Date(...)". You can use the plain date strings instead and execute the "new Date" on them

[jQuery] Off-line documentation

2007-10-06 Thread Christopher Jordan
I seem to remember reading once that I could download the jQuery documentation for use off-line. I've looked a little, but couldn't find it. Does anyone remember if this is so? And if so, where do I get it? Cheers, Chris -- http://cjordan.us

[jQuery] jcarousel vertical safari bug

2007-10-06 Thread hollow
Hi, Trying to implement jcarousel in a website the horizontal jcarousel works perfect in safari but the arrows on the vertical doesn't work. Tried in safari 2.04 and safari 3. ie and firefox are ok. checked the example on the webpage http://sorgalla.com/projects/jcarousel/examples/static_verti

[jQuery] Re: Thanks to all the jQuery developers out here

2007-10-06 Thread howardk
Peter, Very nice! You might note that the week shown on the current set of cards tho runs from October 6 to October 6 (a very short week indeed! :-) Howard On Oct 5, 12:07 pm, vulgarisoverip <[EMAIL PROTECTED]> wrote: > 1.2 has been a dream come true, fixing a lot of the little animation > bugs I

[jQuery] .click function running multiple times

2007-10-06 Thread wattaka
Hi all. This piece of code runs in FF only once as expected, the click gets called once, but it gets called multiple times in IE6, can someone tell me what I am doing wrong? Its the second click below. Not the livequery click Thanks // CODE $('#intended_branch_container .delete').livequery('c

[jQuery] Re: Validation plugin errors on IE6

2007-10-06 Thread wattaka
Hi Jörn, The valide.js works, the validate pack does not, same error as before. Thanks. Just let me know, I´ll be glad to test. On Oct 6, 12:41 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > wattaka schrieb:> This is just plain infuriating, this piece code works > perfectly well > > on FF 2,

[jQuery] Re: calling all jQuery Safari wizards!

2007-10-06 Thread To
I've a simular problem using jQuery in Safari. I'm using the following code: $("#photo").css("display","none"); // prevent to fade in the image before it's fully loadad $(window).load(function() { $("#photo").fadeIn("slow"); }); To prevent flickering in IE (7.0 as well as 6.0 or 5.5) I needed

[jQuery] Problem with JQuery form plugin, file uploads, and rails.

2007-10-06 Thread [EMAIL PROTECTED]
So I have a remote form that uploads a file. It works, but I can't get any sort of response from the server even though the upload succeeds. I have to refresh the page. Here's my code: $("form.remote").ajaxForm({ dataType: 'script', beforeSend: function(xhr) { xhr.setReques

[jQuery] JSON Help?

2007-10-06 Thread sgrover
I think my generated json code is messed up, but for the life of me, I can't see it. In *some* cases, my $.ajax() call process the results properly, in others it triggers the Error callback, but doesn't actually have an error. I've asked about this before and the responses I got then aren't

[jQuery] using jcarousel as image viewer - how to load large image onclick with loading animation

2007-10-06 Thread aussiebob
I'm trying to use the excellent jcarousel plugin to create an image viewer/slideshow for a friends site I am a real newbie & my first post so go easy on me :) Can someone point me in the right direction how to load an image on demand with some sort of callback so a loading image can be displayed

[jQuery] Treeview borks on large lists?

2007-10-06 Thread sgrover
I just got a report from a contact of mine that their site map which is using the Treeview plugin (http://www.airdrie.ca/site_map/index.cfm) is causing IE7 to periodically crash. FF handles the tree just fine. Their comment is that it's the larger lists that are causing grief. Anyone else see

[jQuery] Re: Delete photo on confirm

2007-10-06 Thread Codex
Thanks. That's about what I had, but yours is less code: function delete_photo (photo_id) { var answer = confirm("Are you sure you want to delete this photo?") if (answer){ $.post("http://www.domain.com/delphoto/"+ photo_id); //$("#"+ photo_id).fade

[jQuery] Re: multiple selects, hiddens and text inputs with same name

2007-10-06 Thread rgrwkmn
In addition to Wizzud's solution: Since it seems that you want to be able to access each select with the name "foo" individually and change their values individually you could try something like this: $('select[name=foo]').each(function(i){ $(this).addClass('foo'+i); }); This

[jQuery] Re: jQuery and Mootools again...

2007-10-06 Thread caruso_g
Hi you all guys. First of all Thank you all for the time you spent to help me. I am sorry for the bad code I wrote, it is the first time I try to write script code and I was even proud of it. :P About the compressed javascript.js file, is been compressed by Packer, but the problem was there even b

[jQuery] Setting radio button values

2007-10-06 Thread Isaac
I have a page that retreives values from a database using an ajax call. Then I take those values and try to populate a web form. The problem I'm having is with radio buttons. I try setting them using the following line: $("#Gender").val(jsonData.feedback.Gender); where gender is 2 radio butto

[jQuery] Re: Validation plugin errors on IE6

2007-10-06 Thread Jörn Zaefferer
wattaka schrieb: This is just plain infuriating, this piece code works perfectly well on FF 2, on IE6 , it just causes errors: [...] Does anyone have any ideas? Could you please give the latest revision a try? http://dev.jquery.com/view/trunk/plugins/validate/ I haven't managed to just rele

[jQuery] Validation plugin errors on IE6

2007-10-06 Thread wattaka
This is just plain infuriating, this piece code works perfectly well on FF 2, on IE6 , it just causes errors: // ERROR error -> "object does´t support this property or method" code 0 // CODE var container = $('#error_container'); $("#login_form").validate({ errorContainer: co

[jQuery] Re: Please TEST? Re: Safari crash and burn on Accordion form

2007-10-06 Thread Howard Jones
MichaelEvangelista wrote: update - it was actually super easy to sniff for Safari and to replace the calls to the accordion function with plain ol' jQuery .slideUp() and .slideDown() My only safari version is via Browsercam - and I really can't tell how the animation looks. http://comparem