[jQuery] Re: [ANNOUNCE] Machinetag plugin- initial release

2009-04-14 Thread Jean
i want to know how to structure that in sql On Tue, Apr 14, 2009 at 10:16 PM, cldwalker wrote: > > Hi, >  I'm announcing the initial release of Machinetag,  a jQuery plugin > for your machine tag needs. Machine tags (aka triple tags) are just > tags with two levels of context. For an intro to ma

[jQuery] Data() method, just changing value of one hash element

2009-04-14 Thread Dhana
I am using the jQuery Data method to store data for dynamically created elements. Everything works fine until I try to update the value of an attribute. This is how I first create the element. $j.data(item, 'attributes', { Name: name, UOM: uom, Wa

[jQuery] Re: how to call 1 function from many buttons by passing parameters

2009-04-14 Thread Mohd.Tareq
Hi Hissam, If you have 5 div : $(function(){ $('.common').click(function(e){ $('.common').hide(); var targetId = e.target.id; $('#'+targetId).show(); }); }); try with this . cheers. On Mon, Apr 13, 2009 at 6:50 PM, Eric Garside wrote: > > Take a look at the jQuery UI Accordion p

[jQuery] Undo in jquery

2009-04-14 Thread sarvansb
Hi, How to set Undo for particular textbox using jquery. Sarvan .

[jQuery] Superfish menus in nav-bar style require subnavs to behave correctly?

2009-04-14 Thread dimmerswitch
Hey there- I'm working on integrating Superfish menus and have run into an odd problem. It's *looking* like the deselection & hover behavior is predicated on all the top-level elements having nested , which makes me think I've missed something obvious. In an attempt to rule out any CSS si

[jQuery] One ajax post works, but one does not... kind of...

2009-04-14 Thread Douglas Graves
Okay, here's basic run down of this feature so that you know what you are actually looking at: 1) There is a form with a list of checkboxes that users can select. 2) When the user submits the form, my js file is supposed to ajax a post with an array of these checkboxes to the page itself. (We ha

[jQuery] [ANNOUNCE] Machinetag plugin- initial release

2009-04-14 Thread cldwalker
Hi, I'm announcing the initial release of Machinetag, a jQuery plugin for your machine tag needs. Machine tags (aka triple tags) are just tags with two levels of context. For an intro to machine tags, read http://tagaholic.me/2009/03/26/what-are-machine-tags.html . Plugin links: Blog post: ht

[jQuery] Help Me Optimize My First JQuery Script (Extinguish The Early Flames of Bad Practices)

2009-04-14 Thread Dante
Hello, I'm just starting to delve into JQuery, and I'd like to extinguish as many bad practices as possible. I wrote my first script from scratch a few days ago, and here is an outline of what I wanted the script to do: >Generate the "category" links/controls onload for graceful degradation >Di

[jQuery] IE problem with each function

2009-04-14 Thread Zhx
here is my code, it works fine in FF, but in IE, the "index" message did not popup. Anyone could give me a suggestion to figure out this? jQuery("#demoform dt").each(function(index,domEle){ if (jQuery(domEle).text() == "ISSN:") { alert(index);

[jQuery] Animation Issue

2009-04-14 Thread Connor
Hi, I've had this issue when animating before, but have always found a hack around it. But for this project I can't think of any work around. What happens is some elements inside the animated element and near the animated element disappear during animation. To view it in action go to http://www.c

[jQuery] Nyromodal frame reference

2009-04-14 Thread Alan Flisch
Hi, I'm using Nyromodal to show some web content that includes page transitions controlled by Javascript that specifies window.location. The trouble with this is that it navigates the main browser window rather than navigating just within the nyromodal frame. I'm not sure how to get round thi

[jQuery] Re: trouble stopping propagation

2009-04-14 Thread gmoniey
I'm still stuck on this...does anyone have any ideas? On Apr 13, 10:35 am, gmoniey wrote: > Hi, > > I have a simple onclick function call for a div which looks like this: > onclick="showPanel(this)". > And the showPanel function header is as such: > > function showPanel(el) { > > } > > I also ha

[jQuery] Re: Slideshow with Carousel and spotlight?

2009-04-14 Thread Jack Killpatrick
Hmm, I have a pretty big collection of plugin bookmarks, but looked through them and couldn't find something that seemed quite right, either. Found this, which seems like a near-hit: http://www.monc.se/galleria/demo/demo_01.htm#img/lightning.jpg and this, but it hooks to Flickr: http://www.

[jQuery] question about dealing with JSON callback

2009-04-14 Thread sneaks
hi! i am trying to use jQuery.post() to send name/value to a php function which then retreives data from mysql and responds with JSON which looks like this when i append it directly to my debug output div: {"product_id":"02","product_name":"Cesario Lo","product_brand":"Creative rec","product_

[jQuery] Problem to get Text displayed in jquery function

2009-04-14 Thread globalpropertyonline....@gmail.com
Hi All, I have a function with jcarousel but for some reason, I just can not get the text to show below my images in the Container. One guy helped me with various options but as you can see below, I am still stuck. Any help ? I have now added the function as follows in the head and tried the f

[jQuery] Re: XSLT with anchors

2009-04-14 Thread Jonathan Maddison
Thanks Benjamin. Thanks to you I have finally found the problem. After I uploaded an example to post I tried it on a different computer/ browser and I could not replicate the issue. Apparently it is a bug in my (old) version of Firefox. https://bugzilla.mozilla.org/show_bug.cgi?id=212362

[jQuery] Re: question about each function

2009-04-14 Thread MorningZ
As Leeoniya notes: $(input:text).each(function(){ if(something happened) { return false; } }) On Apr 14, 8:59 pm, Leeoniya wrote: > wait, you should be doing "return FALSE" rather than just "return" > > On Apr 14, 7:57 pm, Leeoniya wrote: > > > well according tohttp://docs.jquery.com/Core/

[jQuery] Re: Slideshow with Carousel and spotlight?

2009-04-14 Thread rubycat
For what it's worth, here's my plea for pretty much the same thing...the magic of Cycle combined with the utility of jCarousel. Have been agonizing over this, searching endlessly for an unobtrusive solution with no luck.

[jQuery] Re: Endeavour: translating X-Library functionality "click-n-drag checkboxes" into Jquery

2009-04-14 Thread Lwangaman
Ok so what's the link to the latest version? (It's a good thing that jsbin deletes files after 3 months of no usage! I was thinking the same myself!) On 15 Apr, 00:45, Ricardo wrote: > On Apr 14, 6:38 pm, Lwangaman wrote: > > > Only thing here is that the text selection is being canceled on all

[jQuery] Re: assign event handler to multiple events

2009-04-14 Thread Leeoniya
if you still need the performance of event delegation (live), you should make the handling function separately and assign it using several "live"s. eg: function handleStuff(e) { // do things } $("div > p, #nav a").live("click", handleStuff).live("keydown", handleStuff); be aware that live() d

[jQuery] Re: question about each function

2009-04-14 Thread Leeoniya
wait, you should be doing "return FALSE" rather than just "return" On Apr 14, 7:57 pm, Leeoniya wrote: > well according tohttp://docs.jquery.com/Core/each > returning false SHOULD break out of the loop, haven't tried it tho - i > can't imagine something like this would be broken at this point, m

[jQuery] Re: question about each function

2009-04-14 Thread Leeoniya
well according to http://docs.jquery.com/Core/each returning false SHOULD break out of the loop, haven't tried it tho - i can't imagine something like this would be broken at this point, maybe your condition is never being met? On Apr 14, 7:51 pm, Leeoniya wrote: > i, too, am curious how to brea

[jQuery] Re: question about each function

2009-04-14 Thread Leeoniya
i, too, am curious how to break out of a .each() loop. On Apr 14, 7:35 pm, jack wrote: > Hi, all > > See the following. > > $(input:text).each(function(){ >     >    if(something happened) return; >    --- >    --- > > }) > > I found the 'return' only exit form a particular input element. An

[jQuery] question about each function

2009-04-14 Thread jack
Hi, all See the following. $(input:text).each(function(){ if(something happened) return; --- --- }) I found the 'return' only exit form a particular input element. And it won't return from "each" function. It always go through every element. I mean if something happened I don't

[jQuery] Re: Error with BlockUI: 'parentNode' is null or not an object

2009-04-14 Thread Jonathan
http://www.malsup.com/jquery/block/#page On Apr 14, 4:26 pm, Mike Alsup wrote: > > Thanks for the replies. I found out that the problem has to do with > > the fact that The BlockUi plug-in actually removes the passed in node > > from the DOM. At least I know what's going on now and am able to >

[jQuery] Re: Error with BlockUI: 'parentNode' is null or not an object

2009-04-14 Thread Mike Alsup
> Thanks for the replies. I found out that the problem has to do with > the fact that The BlockUi plug-in actually removes the passed in node > from the DOM. At least I know what's going on now and am able to > figure out a workaround. That's not good behavior for a plug-in. What version of the

[jQuery] Re: Creating custom attributes in html

2009-04-14 Thread RobG
On Apr 15, 8:41 am, Josh Powell wrote: > Good to know about the potential for triggering quirks mode > though, thanks. You are already using invalid markup by adding a name attribute to a div element. Have you considered storing the data in the class attribute, then use DOM dot property acce

[jQuery] Re: Creating custom attributes in html

2009-04-14 Thread James
You might want to check out the Metadata plugin: http://plugins.jquery.com/project/metadata It'll let you get data in the CLASS (and other custom) attribute so your HTML can technically remain valid (I think). Personally, I try to keep my code as valid as possible to hopefully avoid quirks mode a

[jQuery] Re: Endeavour: translating X-Library functionality "click-n-drag checkboxes" into Jquery

2009-04-14 Thread Ricardo
On Apr 14, 6:38 pm, Lwangaman wrote: > Only thing here is that the text selection is being canceled on all > the cells and not just the ones with checkboxes. What do you think is > better here? I think it's good to leave text selection on other cells > because they may contain values that the us

[jQuery] Re: Creating custom attributes in html

2009-04-14 Thread Josh Powell
I cannot use .data() as I do not have a node. Creating a node for every td creates impossibly excessive append time. One one page I shortened the time to append for 500 table rows from 29,000ms to 900ms. Good to know about the potential for triggering quirks mode though, thanks. Josh Powell O

[jQuery] Re: Creating custom attributes in html

2009-04-14 Thread Ricardo
If you insert these attributes server-side, the page will not validate and might trigger quirks mode in the browser. If you are adding them after load, there's no harm in it, but I bet using data() would be faster for lots of elements. On Apr 14, 2:56 pm, seasoup wrote: > I was wondering what jq

[jQuery] Re: Is this a Safari/WebKit bug?

2009-04-14 Thread Ricardo
You need to pass the event object as parameter, if you don't you're accessing the global window.event object which differs across browsers: $('a').click(function(e){ e.stopPropagation(); }); On Apr 14, 3:41 pm, "@oscargodson" wrote: > I got this to work, so this isn't a issue anymore, but I'

[jQuery] Re: assign event handler to multiple events

2009-04-14 Thread James
$('.things').bind('focus change click', function() { // your code here }); (Note that this doesn't work for $.live(), as you can only bind one event for that.) On Apr 14, 10:40 am, Tom Worster wrote: > i can assign a handler to one event type thus: > > $('.things').focus(function(){ >    

[jQuery] Re: Highlight table row

2009-04-14 Thread James
This does a highlight on mouseover and remove highlight on mouseout. Is this what you want? // untested $("#storeListTable tbody tr").hover( function() { // mouseover $(this).addClass('highlight'); }, function() { // mouseout $(this).removeClass('highlight');

[jQuery] Re: how to create multiple draggable div's with dynamic content

2009-04-14 Thread hybris77
thanks a bunch for your reply, and a thorough one as well I've experimented with a similar technique that you suggest where I had a template of xhtml and I thought I'll clone this and add the content, sounds like an excellent plan to me, right? one thing I kept running into was the the page goin

[jQuery] Re: min file for jQuery Validation Plugin

2009-04-14 Thread expresso
minified files are just whitespace and line breaks removed, and object names are shortened. Nevermind. On Apr 14, 4:49 pm, expresso wrote: > Ok, obviously we know what a min file is.   But can someone tell me > for the jQuery plugin what does this min file restrict you from or > strip out from

[jQuery] Highlight table row

2009-04-14 Thread spstieng
I've tested different solutions found in here, and on the web, but I can't get it working. I simply want to highlight a table row. I would like to you toggleClass $(this).parents('tr').toggleClass("highlight"); This is my HTML code: Title ID Navn

[jQuery] min file for jQuery Validation Plugin

2009-04-14 Thread expresso
Ok, obviously we know what a min file is. But can someone tell me for the jQuery plugin what does this min file restrict you from or strip out from the main? What is filtered out? I need to know what I'm getting or not getting compared to the main jQuery Validation .js library. http://bassist

[jQuery] Re: Endeavour: translating X-Library functionality "click-n-drag checkboxes" into Jquery

2009-04-14 Thread Lwangaman
Then just wondering, I don't know all the specs... But why shouldn't you use jquery's css method to set css? Will it be deprecated? On 14 Apr, 22:42, Ricardo wrote: > Hi Lwangman, > > Now that we know all your requirements, I rewrote it(again) to clean > it up :) Everything is commented so you k

[jQuery] Re: Endeavour: translating X-Library functionality "click-n-drag checkboxes" into Jquery

2009-04-14 Thread Lwangaman
Wow, you're good! I'm a self-taught, so I can see that you've got your stuff, you make things clean and concise. Only thing here is that the text selection is being canceled on all the cells and not just the ones with checkboxes. What do you think is better here? I think it's good to leave text s

[jQuery] Return Dynamic Image using Ajax and PHP

2009-04-14 Thread Spencer
Hi, I have a PHP script that is generating an image based on values passed to the script using jQuery Ajax functionality. Here is the important part of the PHP script; header('Content-Type: image/jpeg'); imagejpeg($image, 'images/tmp/admin.preview.jpg'); imagedestroy($image); I can get the imag

[jQuery] Re: Bug in my gallery, wtf?!

2009-04-14 Thread @oscargodson
That did the trick! Thanks a lot! A note though is that in Safari, you should put this.event or else it doesn't seem to fire. I did not try it though with function(event), but I just did function (). On Apr 14, 10:16 am, Rey Bango wrote: > Without having access to the code it's hard to test it

[jQuery] Re: JQuery news fade and news scroller(please help me)

2009-04-14 Thread patrickberkeley
http://www.gcmingati.net/wordpress/wp-content/lab/jquery/newsticker/jq-liscroll/scrollanimate.html http://plugins.jquery.com/search/node/ticker+type%3Aproject_project On Apr 14, 1:38 pm, hamed7 <63hosse...@gmail.com> wrote: > hi friends > i want scroll or fade news in one line,please help me and

[jQuery] Can you treat hover as a boolean?

2009-04-14 Thread paulhuband
Hi, I am trying to build a dynamic nav menu. When you hover over a given image, a fly-out menu appears to the right of the image. I want the fly-out to disappear when the user hovers off the initial image, but not if they hover over the fly-out menu. Is there a way to detect if one or the othe

[jQuery] Re: Help- jquery Dynamic Image load - dbl click = loads twice

2009-04-14 Thread Diogo Shaw
$.fn.image = function(fn) { var total = this.length, loaded = 0; this.each(function() { var i = new Image(); i.src = this.src; $(i).load(function(){ loaded++; if(loaded==total) fn();

[jQuery] override shortcut keys in safari 3+ with javascript

2009-04-14 Thread mmurph211
Hello, I am trying to override Safari shortcut keys in javascript for use in an online terminal window that requires key entries such as F5. As this is a shortcut key to refresh the page in Safari this poses a problem. Does anyone know if you can override shortcut keys in Safari 3+ with javascri

[jQuery] Re: Form validator - cross field validation

2009-04-14 Thread Jörn Zaefferer
Okay, then its something else. Could you provide a testpage? Jörn On Tue, Apr 14, 2009 at 10:08 PM, AndyCramb wrote: > > Thanks for getting back to me > I have the id specified > > id="source"/> > > It just had wrapped on to the new line > Sorry I could not find away of formatting the code I p

[jQuery] Re: Endeavour: translating X-Library functionality "click-n-drag checkboxes" into Jquery

2009-04-14 Thread Ricardo
Hi Lwangman, Now that we know all your requirements, I rewrote it(again) to clean it up :) Everything is commented so you know what's going on. Main things changed is that you set the selector for the container, not the the checkbox directly, so if the inputs are nested deeper inside (inside a di

[jQuery] assign event handler to multiple events

2009-04-14 Thread Tom Worster
i can assign a handler to one event type thus: $('.things').focus(function(){ $(this).data('foo', true); ... }); if i want to assign the same handler to several events, say focus, change, and click, what's the tidy way to write it [assuming my handler wants to access $(this)]?

[jQuery] Re: Endeavour: translating X-Library functionality "click-n-drag checkboxes" into Jquery

2009-04-14 Thread Lwangaman
@jscripter Are you referring to my latest http://jsbin.com/isuga/edit ? Because as far as text selection is concerned it's working fine for me on Chrome, Firefox 3, and Internet Explorer 8. Just out of curiosity, are you clicking and dragging on the first column? Because the first column is outsid

[jQuery] Re: Converting JSON to html output

2009-04-14 Thread Nando
I see I'm really still a complete klutz at javascript. Thanks very much Stephan! I will give that a try. On Apr 14, 5:56 pm, MorningZ wrote: > Well, just putting the JSON into a JSON viewer (this one is > excellent:http://www.codeplex.com/JsonViewer) you pasted into your last post > > you have

[jQuery] Re: Form validator - cross field validation

2009-04-14 Thread AndyCramb
Thanks for getting back to me I have the id specified It just had wrapped on to the new line Sorry I could not find away of formatting the code I pasted in so it looks a bit of a mess On Apr 14, 7:06 pm, Jörn Zaefferer wrote: > There is no field with the id "source"? Add id="source" to that i

[jQuery] Is this a Safari/WebKit bug?

2009-04-14 Thread @oscargodson
I got this to work, so this isn't a issue anymore, but I'm curious if this is a bug and I should report it, or if it's a bug everywhere else :) $('a').click(function(){ //Following works in Firefox, but not in Safari 3-4 //event.stopPropagation(); //Works in both Safari as well as Firefo

[jQuery] script modules

2009-04-14 Thread Barquette
Hi all, My code app runs like this: //file app.js var runapp = function () { // I have about 1800 code lines using jquery like this: var fn1 = function (data) {//...code...}; var fn2 = function (data) {//...code...}; var fn3 = function (data) {//...code...}; fn1('blah'); }; //f

[jQuery] Re: Form validator - cross field validation

2009-04-14 Thread Jörn Zaefferer
There is no field with the id "source"? Add id="source" to that input... Jörn On Tue, Apr 14, 2009 at 6:33 PM, AndyCramb wrote: > > Hi, > > I am trying the forms validation plugin and cannot figure out where I > am going wrong with it > I can get cross validation working aginst a checkbox but I

[jQuery] Creating custom attributes in html

2009-04-14 Thread seasoup
I was wondering what jquery developers opinion of adding custom attributes to html tags is, and what your basis is for these opinions? Why is it a good idea, or why is it a bad idea? What I mean is this: content where 'myType' isn't in any specifications. I've run into developers who think th

[jQuery] JQuery Superfish plugin currents-state problem (level 2 menu should not be sticky open after reload)

2009-04-14 Thread borkor
I'm using this plugin in the dynamic PHP enviroment, basic example. http://users.tpg.com.au/j_birch/plugins/superfish/#sample1 After a successful page reload Second level remains OPEN as if I am hovering over the first level menu. What I want is to mark only first (horisontal) level of my naviga

[jQuery] [Superfish] How well does this work with RocketTheme?

2009-04-14 Thread Wade
Hi, I am using the RocketTheme template 'Synapse' on my site: http://www.fitnoke.com; I am interested in upgrading my menu capabilities for the top-nav menu on my site to Superfish, as it is more Web 2.0. What kind of actions are needed to make this work - preferably a step by step way of getting

[jQuery] Re: how to create multiple draggable div's with dynamic content

2009-04-14 Thread roger
Sounds like you need to create a function (or two) to manage the creation of the draggable window and fill it with content. Your function should either clone the markup from a hidden div on the page or create new dom elements with javascript. You would then select the container that you cloned or

[jQuery] JQuery news fade and news scroller(please help me)

2009-04-14 Thread hamed7
hi friends i want scroll or fade news in one line,please help me and send example, (i am new in jquery).

[jQuery] Re: Calling a function from a non-jQuery .JS file

2009-04-14 Thread dhtml
On Apr 14, 8:58 am, Klaus Hartl wrote: > On 14 Apr., 15:41, MorningZ wrote: > > > So what is the error > > The error is obviously that toDate is not a jQuery method. Another Right. > problem is that that Dreamweaver method is using document.write which > can cause a problem depending on wher

[jQuery] How to make the superfish nav menu blend with the Pixture Reloaded menu?

2009-04-14 Thread ptc
Hi, I want to make my superfish menu look just like the menu that exists by default in the Pixture Reloaded theme in my drupal install. It's black with a lighter upper half, which gives it a glassy look. Will someone please direct me to the proper css files? If you could be as detailed as possib

[jQuery] Re: jQuery.support -- No direct support for IE6 detection

2009-04-14 Thread publicJorn
Obviously I agree that IE6 should be banned. But since most big corporations (and clients) still use it, I as a front-end developer find that we need to keep supporting it. But indeedly, conditional statements are once again the key. Add this to the head of your page: This adds the classname .i

[jQuery] Re: Should $(document).ready() be external? And should it be placed at the bottom of the page?

2009-04-14 Thread roger
Andy is absolutely right, but I'd like to add that you can call $ (document).ready() anywhere on the page and as many times as you want. On Apr 14, 10:34 am, "Andy Matthews" wrote: > You can externalize the document.ready call if you choose, I do it all the > time. > > As for putting it at the b

[jQuery] Form validator - cross field validation

2009-04-14 Thread AndyCramb
Hi, I am trying the forms validation plugin and cannot figure out where I am going wrong with it I can get cross validation working aginst a checkbox but I am unable to get it working against an input box HTML is supplied below The rules metadata is below the HTML Any help is much appreciated And

[jQuery] Re: Slideshow with Carousel and spotlight?

2009-04-14 Thread rick
Hi, Amy...just wanted to let you know that I'm looking for something almost just like this...small thumbnails below and a large image above in a slideshow/manual select configuration.   I hope there is a plug-in that someone knows about that will do this!     Rick   Original Message

[jQuery] Re: Should $(document).ready() be external? And should it be placed at the bottom of the page?

2009-04-14 Thread Andy Matthews
That's something that each developer has to evaluate on their own. I'd think it depends on the size of the file, and how it's being served. Better for SEO to have an external file, as content is now closer to the top. Better for the user to cache said file. Maybe set your own personal threshold

[jQuery] Re: Bug in my gallery, wtf?!

2009-04-14 Thread Rey Bango
Without having access to the code it's hard to test it but it looks like an event bubbling issue in the click binding for '#carousel_nav a'. Could you try this: $('#carousel_nav a').click(function(event) { event.stopPropagation(); c_slide($(this)); }); Rey... On Apr 13, 9:56 pm, "@oscargodson"

[jQuery] Selecting radio buttons within different RadioGroups via a click

2009-04-14 Thread madrid440-goo...@yahoo.co.uk
I'm getting lost in selectors... I am trying to achieve the following: A button click needs to select certain radio buttons within different radio groups. e.g RadioGroup1_0 and RadioGroup2_1 A click on another button resets the radio buttons to blank, and then selects different radio buttons wi

[jQuery] Re: [autocomplete] charset

2009-04-14 Thread Tom Worster
On 4/14/09 11:54 AM, "borutt" wrote: > >> was the page with the form containing the input element explicitly served >> with header "Content-Type: text/html; charset=Windows-1250"? (i check >> headers sent in WebKit Inspector, i'm sure there are other ways.) > > I have included in the html head

[jQuery] Re: Final Four: Grabbing Keys, Styling Columns, Pop Up Forms, Edit Select Lists?

2009-04-14 Thread briandus
Hi Tony - #1) thanks so much for the hint on the readonly field. I must have missed that one in the documentation; works perfectly! Howover, the row placement being the value of the "id" that is being sent is obviously a problem as I can't use that to manipulate my database records. Unfortunately

[jQuery] Re: Final Four: Grabbing Keys, Styling Columns, Pop Up Forms, Edit Select Lists?

2009-04-14 Thread briandus
Hi Tony - #1) thanks so much for the hint on the readonly field. I must have missed that one in the documentation; works perfectly! Howover, the row placement being the value of the "id" that is being sent is obviously a problem as I can't use that to manipulate my database records. Unfortunately

[jQuery] Slideshow with Carousel and spotlight?

2009-04-14 Thread amuhlou
Hi everyone, I'm looking for an image slideshow using carousel thumbnails as well as a spotlight for an enlarged version of the thumbnails. YUI has one that *almost* does what I need (http://developer.yahoo.com/yui/ examples/carousel/csl_dynload2_clean.html), however it doesn't allow for portrait

[jQuery] Re: Calling a function from a non-jQuery .JS file

2009-04-14 Thread mkmanning
Your calling toDate() as a method on the jQuery object, which it isn't; it's simply a function that prints out the date (and you should maybe rethink the document.write, it's deprecated). If you want the output to appear as the content of the element with id 'today' then do something like $("div

[jQuery] Re: Calling a function from a non-jQuery .JS file

2009-04-14 Thread Klaus Hartl
On 14 Apr., 15:41, MorningZ wrote: > So what is the error The error is obviously that toDate is not a jQuery method. Another problem is that that Dreamweaver method is using document.write which can cause a problem depending on where the function is being called and which is usually avoided in j

[jQuery] Re: Converting JSON to html output

2009-04-14 Thread MorningZ
Well, just putting the JSON into a JSON viewer (this one is excellent: http://www.codeplex.com/JsonViewer) you pasted into your last post you have no property of ".ROWCOUNT", so that's a bad start.. this is a quick mock up that works http://paste.pocoo.org/show/112508/ (sorry about the if's...

[jQuery] Re: [autocomplete] charset

2009-04-14 Thread borutt
> was the page with the form containing the input element explicitly served > with header "Content-Type: text/html; charset=Windows-1250"? (i check > headers sent in WebKit Inspector, i'm sure there are other ways.) I have included in the html header this line: > have you set the accept-charset

[jQuery] Re: Should $(document).ready() be external? And should it be placed at the bottom of the page?

2009-04-14 Thread kgosser
So do you think placing it in an external file poses caching benefits that outweigh the extra HTTP request? The number of HTTP requests seems to be the biggest killer with speed On Apr 14, 10:34 am, "Andy Matthews" wrote: > You can externalize the document.ready call if you choose, I do it a

[jQuery] Re: Endeavour: translating X-Library functionality "click-n-drag checkboxes" into Jquery

2009-04-14 Thread jscripter
Hi, Here are my testing results: IE7: table cells highlight to yellow when checkboxes are checked, but don't go back to black when unchecked; same issue with ul list items (highlighting stuck on pink) Opera 9.64: same highlight problem that IE7 has Chrome 2.0.169.1: dragging in cells just se

[jQuery] Re: XSLT with anchors

2009-04-14 Thread Benjamin Sterling
Jonathon, Is there a url or some code (pastebin.com) that we can look at? Benjamin Sterling / Web Developer kenzomedia.com / kenzohosting.com / benjaminsterling.com / refreshbmore.org 443.844.7654 // Twitter @bmsterling Skype: benjamin.sterling // AIM: thekenzoco On Tue, Apr 14, 2009 at 4:52 AM

[jQuery] Re: Converting JSON to html output

2009-04-14 Thread Andy Matthews
ColdFusion JSON represent! -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Nando Sent: Tuesday, April 14, 2009 9:51 AM To: jQuery (English) Subject: [jQuery] Re: Converting JSON to html output Sure. Here's the JSON string being retu

[jQuery] Re: Should $(document).ready() be external? And should it be placed at the bottom of the page?

2009-04-14 Thread Andy Matthews
You can externalize the document.ready call if you choose, I do it all the time. As for putting it at the bottom of the page, I'd say no. Putting it in an external JS file, with the ready call makes it so that code is not run until the entire DOM is ready anyway. andy -Original Message---

[jQuery] Should $(document).ready() be external? And should it be placed at the bottom of the page?

2009-04-14 Thread kgosser
Hey all, Two quick questions for you. I couldn't find the answers while searching... This would be a great thing to add to the jQuery FAQ, by the way. (1) Is it advisable to place a page's $(document).ready() stuff in an external .js file? I've been doing a lot of reading and research on optim

[jQuery] Re: [autocomplete] charset

2009-04-14 Thread Tom Worster
On 4/14/09 4:36 AM, "borutt" wrote: > I'm having problem with charset on searching value, that is returned > in param "q". > On main page and od page from where script search for data I have > charset placed: > > main script: > was the page with the form containing the input element explicitl

[jQuery] Re: Converting JSON to html output

2009-04-14 Thread Nando
Sure. Here's the JSON string being returned by the server. The only thing that will need some fiddling is that the year is being returned as a float. Not sure how to get that displayed as just an integer in JS. {"COLUMNS": ["REFERENCEID","AUTHOR","DETAIL","REFYEAR","REFTYPE"],"DATA":[[1,"Chen & C

[jQuery] Re: Converting JSON to html output

2009-04-14 Thread MorningZ
Can you give an example of the JSON to help? On Apr 14, 9:24 am, Nando wrote: > Hi, > > I'm a jQuery and Javascript noob, and can't seem to get this to work. > The JSON output looks right to me via console.log(result), but the > select box isn't being populated. The select box needs to be popul

[jQuery] Converting JSON to html output

2009-04-14 Thread Nando
Hi, I'm a jQuery and Javascript noob, and can't seem to get this to work. The JSON output looks right to me via console.log(result), but the select box isn't being populated. The select box needs to be populated onfocus, because the interface is set up to allow the user to add new options to the

[jQuery] Re: jQuery.support -- No direct support for IE6 detection

2009-04-14 Thread theJorn
Obviously I agree that IE6 should be banned. But since most big corporations (and clients) still use it, I as a front-end developer find that we need to keep supporting it. But indeedly, conditional statements are once again the key. Add this to the head of your page: This adds the classname .i

[jQuery] Event binding in frames

2009-04-14 Thread crawfjs
Hello, In order to create a decoupled UI, I wanted to make the events within some iframes write to the DOM (within the iframe). Then from the main container (top window), I created an observer to detect a 'change' on that hidden element (in iframe) and respond appropriately. I don't want each c

[jQuery] [Validate] Custom error message for a group of fields

2009-04-14 Thread Bizzy
Hi, let's take this example : $("#myform").validate({ groups: { username: "fname lname" }, errorPlacement: function(error, element) { if (element.attr("name") == "fname" || element.attr("name") == "lname" ) error.insertAfter("#lastname"); else e

[jQuery] Re: Calling a function from a non-jQuery .JS file

2009-04-14 Thread MorningZ
So what is the error? And realize something: jQuery *is* JavaScript, don't think of it like two different things On Apr 14, 4:21 am, kiusau wrote: > I am new to jQuery, but understand enough to have already begun > targeted experimentation.  I have run into a snag.  In brief, I am > trying to

[jQuery] Re: Getting index of clicked table cell

2009-04-14 Thread MorningZ
Thomas: Thanks! a big "doh!" for me for missing the fact that i wasn't selecting table cells to find the cell clicked. works like a charm now.. .thanks

[jQuery] Re: Adding incremental numbered classes to divs

2009-04-14 Thread Eric Garside
I just finished documentation on a new plugin I think might help you in this situation. Check out: http://eric.garside.name/docs.html?p=replicator On Apr 13, 11:04 pm, Brain Lava wrote: > Thanks everyone!  You've definitely made some great points for me to > consider.  I'm really new to scriptin

[jQuery] Calling a function from a non-jQuery .JS file

2009-04-14 Thread kiusau
I am new to jQuery, but understand enough to have already begun targeted experimentation. I have run into a snag. In brief, I am trying to call a function from a .JS file that contains no jQuery and assign it to an HTML tag in a Dreamweaver template via jQuery that is located in a different .JS

[jQuery] Event "change" on span/div

2009-04-14 Thread tommyy
Hi! Anyone know how I can bind an event like "change" to the text inside a span or div?

[jQuery] XSLT with anchors

2009-04-14 Thread Jonathan Maddison
Hello, I am using the jQuery Transform plugin to perform XSL transforms. It works great except when I load a page with an anchor. i.e. mysite.com/mypage works fine, but - mysite.com/mypage#xyz gives incorrect output (all HTML tags are missing). Does anybody have any idea what could be going

[jQuery] Re: Node click behavior

2009-04-14 Thread edik
Or comment just toggler.apply($(this).next()); in the programmcode mentioned in the previous post, to leave the hover of the A-element untouched On 14 Apr., 13:54, edik wrote: > Well I found the code-piece where the clik-event is beeing added to > the span element inside of the A el

[jQuery] [autocomplete] charset

2009-04-14 Thread borutt
Hello, I'm having problem with charset on searching value, that is returned in param "q". On main page and od page from where script search for data I have charset placed: main script: search script: header( "Content-Type: text/html; charset=Windows-1250" ); I get some wierd characters when I

[jQuery] Superfish

2009-04-14 Thread timka
Your plugin really easy to use, thanks. But there is no useful option in my case: openOnClick. I want to open submenu by click event, not hover. Could you help me?

[jQuery] Re: Node click behavior

2009-04-14 Thread edik
Well I found the code-piece where the clik-event is beeing added to the span element inside of the A element of the LI element of the tree. If commented out only +/- symbols collapse/expand the tree/ subtree. Anyway it would be nice to have an option where I can enable/disable this behaviour witho

  1   2   >