[jQuery] Re: Powerfull WYSIWYG editor with upload image capability

2009-09-20 Thread David D
You don't need to use ckfinker. Ckeditor 3 just needs an upload and a browse url. You can make them in your prefered language. David Op 18 sep 2009 5:53 PM schreef Rama Vadakattu rama.vadaka...@gmail.com: you can't run CKFinder without a backend server. http://ckfinder.com/download Where do

[jQuery] Re: Paste an image into a tag...

2009-09-20 Thread Hogsmill
Hi Dan, In order to paste an image from the clipboard, you'll need something that can also upload the image to the server on the paste operation. Absolutly. Cheers for suggestion - I'll have a look at XStandard; sounds like it'l fit the bill. This is for an app, not a web site, so the users

[jQuery] Re: getJSON returning undefined instead of XMLHttpRequest

2009-09-20 Thread Michael Geary
Ah, I did misread the problem. Now I follow you, thanks for the clarification. There is indeed a better and simpler way to do this, which works with *any*kind of asynchronous callback. You don't need to rely on having a specific object returned that you can stuff data into. Simply use a closure.

[jQuery] Some problems with rounded corners

2009-09-20 Thread Cecil Westerhof
For pages with a lot of text (and other content) I would like to have the possibility to hide and show parts of the page with 'buttons'. I have come a long way, but have some problems. I made a page to show them: http://www.decebal.nl/testing.html I have come a long way and for the most part

[jQuery] Re: help to simplify code

2009-09-20 Thread ryan.j
i wasn't being snarky mate, just that you phrased your question like a homework assignment! besides, i thought i /was/ answering your question tbh :S On Sep 20, 3:14 am, alienfactory alienfacto...@gmail.com wrote: wow really! not sure what to say about that. Here is a development link to the

[jQuery] Re: help to simplify code

2009-09-20 Thread ryan.j
for fear of offending you further, i apologise in advance for posting code. personally i'd be tempted to call 'test1(this)' on the mouseover and mouseout events and have it do something like... function test1(t) { var c = $(t).css('background-color') var o = '1'

[jQuery] [Attrib external not working...]

2009-09-20 Thread Lord Gustavo Miguel Angel
Hi, Why this code not working? a rel=external href=www.google.comgoogle/a url www.google.com open in same windows. Thank´s

[jQuery] Re: [Attrib external not working...]

2009-09-20 Thread Steven Yang
trya href=http://www.google.com;google/a On Sun, Sep 20, 2009 at 7:25 PM, Lord Gustavo Miguel Angel goosfanc...@gmail.com wrote: Hi, Why this code not working? a rel=external href=www.google.comgoogle/a url www.google.com open in same windows. Thank´s

[jQuery] Clear (cancel) Option

2009-09-20 Thread Carlos Raniery
Hello, I'm trying to enable or disable the clear (cancel) from a button click. I also want to remove/add the star-rating-hover css class of this clear/cancel option. Is it possible? My code is based on Test 3-B example. Thanks in advance.

[jQuery] Re: [Attrib external not working...]

2009-09-20 Thread Sergios Singeridis
add this and it will work. if you want it to work it needs the following js code. function externalLinks() { if (!document.getElementsByTagName) return; var anchors = document.getElementsByTagName(a); for (var i=0; ianchors.length; i++) { var anchor = anchors[i]; if

[jQuery] Re: Some problems with rounded corners

2009-09-20 Thread Mike Alsup
For pages with a lot of text (and other content) I would like to have the possibility to hide and show parts of the page with 'buttons'. I have come a long way, but have some problems. I made a page to show them:    http://www.decebal.nl/testing.html I have come a long way and for the

[jQuery] Re: data function

2009-09-20 Thread cafaro
Yes, and it returns true. On Sep 19, 6:47 pm, Mike McNally emmecin...@gmail.com wrote: Have you put a console.log() call in your mouseover handler? On Sat, Sep 19, 2009 at 10:03 AM, cafaro tvdbu...@gmail.com wrote: Hi, I'm trying to get the data() function working, but no success so

[jQuery] Re: help to simplify code

2009-09-20 Thread alienfactory
i was asking about javascript/jquery not html 101 but that is cool though and yes that was snarky. LOL No worries at least you are trying to help thanks I dont see where you are fading the addtional div see link above for sample you focused on the navigavtion but i have 4 divs when mousing over

[jQuery] Re: help to simplify code

2009-09-20 Thread ryan.j
http://docs.jquery.com/Traversing/siblings On Sep 20, 3:51 pm, alienfactory alienfacto...@gmail.com wrote: i was asking about javascript/jquery not html 101 but that is cool though and yes that was snarky. LOL No worries at least you are trying to help thanks I dont see where you are

[jQuery] Re: Some problems with rounded corners

2009-09-20 Thread Cecil Westerhof
2009/9/20 Mike Alsup mal...@gmail.com: For the biggest part this works. There is a problem with the displaying of the buttons. In Firefox and MIE it goes allright. But in Opera and Konqueror (and possible Safari, because this uses the same engine as Konqueror) the border is not displayed.

[jQuery] Re: help to simplify code

2009-09-20 Thread Karl Swedberg
Here is another way you could do it: var bgColors = { services: '#8ac2b7', vision: '#9e97ca', approach: '#e5b120', team: '#cf1858' }; var $navigation = $('#navigation'); $('#bodycopy').children() .bind('mouseenter', function() { $(this).siblings().stop().fadeTo('slow', .2);

[jQuery] jqModal problem

2009-09-20 Thread Dennis Madsen
I'm trying to use the jqModal plugin on my page: http://dev.iceburg.net/jquery/jqModal/ Here is a sample showing my problem: http://dennismadsen.com/uploads/modalTest/ If you see this example in a IE6 or IE7 or IE8 in compatibility mode, you will see, that the the modal box is not 100% opacity.

[jQuery] Re: help to simplify code

2009-09-20 Thread alienfactory
Thanks Karl That was more then i expected. However the $navigation.find('a') section is a little over my head could add a few comments to that one to help me understand it Terry On Sep 20, 8:49 am, Karl Swedberg k...@englishrules.com wrote: Here is another way you could do it: var

[jQuery] AJAX search result filtering

2009-09-20 Thread Toaster
Hello I was thinking of having my search result filters affect data automatically without reloading the page. What would be the best approach to this? I was thinking of attaching $.post(); to each filter checkbox or dropdown to submit that elements input then have the page update the results

[jQuery] jQuery Star Rating from Fyneworks

2009-09-20 Thread Kewats
I'm trying to adapt the Star Rating method given at: http://www.fyneworks.com/jquery/star-rating/#tab-Testing. I would like to use #3-B, except that when I click on a particular rating I want the tip to permanently change to the corresponding text, instead of reverting back to the original upon

[jQuery] Re: data function

2009-09-20 Thread cafaro
I already thought about adding it to an ID/class values, but the problem is that i need to pass a DOM object. On Sep 20, 4:28 pm, cafaro tvdbu...@gmail.com wrote: Yes, and it returns true. On Sep 19, 6:47 pm, Mike McNally emmecin...@gmail.com wrote: Have you put a console.log() call in

[jQuery] Queue event after getJSON request

2009-09-20 Thread cerberos
I'm trying to queue to start once a getJSON request has finished but it's not working, I'm getting '...queue is not a function'. I've tried $.getJSON(http://;, function (data){ $.each(data, function(i,item){ ... }); }).queue(function(){ $(#div).fadeIn(); }); and

[jQuery] Re: data function

2009-09-20 Thread cafaro
I'll just make an array to store the data for each element. On Sep 20, 8:30 pm, cafaro tvdbu...@gmail.com wrote: I already thought about adding it to an ID/class values, but the problem is that i need to pass a DOM object. On Sep 20, 4:28 pm, cafaro tvdbu...@gmail.com wrote: Yes, and it

[jQuery] Re: Powerfull WYSIWYG editor with upload image capability

2009-09-20 Thread Anush Shetty
On Sun, Sep 20, 2009 at 11:29 AM, David D dlinc...@gmail.com wrote: You don't need to use ckfinker. Ckeditor 3 just needs an upload and a browse url. You can make them in your prefered language. This one looks good too http://github.com/zilenCe/mootools-filemanager ( works with TinyMCE ) -

[jQuery] Re: Powerfull WYSIWYG editor with upload image capability

2009-09-20 Thread Meroe Meroe
What about tinymce? We use it in our app and love it. --- Why Be Red? Project Management Software http://whybered.com On Sun, Sep 20, 2009 at 3:45 PM, Anush Shetty anushshe...@gmail.com wrote: On Sun, Sep 20, 2009 at 11:29 AM, David D dlinc...@gmail.com wrote: You don't

[jQuery] Variable Lifetime

2009-09-20 Thread Mad-Halfling
Am I correct in thinking that variable in jquery are limited in scope by their parent functions, and if I want to persist data during a particular page's lifetime (thinking of a page that will exist for a while, being updated by AJAX calls, etc) I need to put it in an input control on that page -

[jQuery] Re: fadeIn with IE 8 Compatibility Mode forced off

2009-09-20 Thread Mad-Halfling
Sorry to bump this, but can anyone shed any light on this please? On Sep 16, 10:51 am, Mad-Halfling mad-halfl...@yahoo.com wrote: Hi, are there problems with the animation with IE8 compatibility mode forced off?  I am using meta http-equiv=X-UA-Compatible content=IE=EmulateIE8 to force IE 8

[jQuery] Re: jqModal problem

2009-09-20 Thread Mad-Halfling
Have you tried adding modal: true into your jqm statement? On Sep 20, 5:52 pm, Dennis Madsen den...@demaweb.dk wrote: I'm trying to use the jqModal plugin on my page:http://dev.iceburg.net/jquery/jqModal/ Here is a sample showing my problem:http://dennismadsen.com/uploads/modalTest/ If

[jQuery] Re: jQuery Star Rating from Fyneworks

2009-09-20 Thread Kewats
More specifics: I added the following function to jquery.rating.js. I want to have a variable called permatip which starts out as the tip from the stored value (this is connected to a db), and gets overwritten every time the user clicks on a particular star, via the select method. My problem is

[jQuery] Re: Queue event after getJSON request

2009-09-20 Thread Michael Geary
In your first example, you're trying to call a .queue() method on the return value from $.getJSON(). $.getJSON() returns either an XMLHttpRequest object or nothing. It doesn't return the $ object. Also, $getJSON() returns *before* the request is completed. In the second example, you're trying to

[jQuery] Re: jqModal problem

2009-09-20 Thread Dennis Madsen
I've done that now - doesn't help me :( I've uploaded a zip-file with the complete sample if it's easier for you: http://dennismadsen.com/uploads/modalTest/modalTest.zip On Sep 20, 9:56 pm, Mad-Halfling mad-halfl...@yahoo.com wrote: Have you tried adding modal: true into your jqm statement?

[jQuery] Re: Variable Lifetime

2009-09-20 Thread Michael Geary
The reason you can't find any information about jQuery variables is that jQuery doesn't have variables! :-) You're talking about JavaScript, not jQuery. jQuery is not a language of its own, it's just a library of JavaScript code that you can use in your own JavaScript code. If you look for

[jQuery] Re: data function

2009-09-20 Thread Mike McNally
No, that's not what I meant. I mean this: add an id or class value to your a elements **in order to identify them in the console.log() output**. Keep using the data() function for storing values. Again, data() does really work; I use it all over the place and I've never had any problems with

[jQuery] Removing an element from Droppable with N elements triggers N times the event.

2009-09-20 Thread msordo
Hi all. My situation: I've a droppable div that I use for querying a database. Everytime I drag-drop an element to this droppable div, it updates the query. Following the same idea, if I remove an element from this div, it should update the query (deleting the removed element from the query).

[jQuery] Re: help to simplify code

2009-09-20 Thread Karl Swedberg
Sure. // find all a elements within $navigation (which is a variable for $ ('#navigation') $navigation.find('a') // bind two events to those links: mouseenter and mouseleave. pass the event object as an argument to the anonymous function .bind('mouseenter mouseleave', function(event) {

[jQuery] [tablesorter] parsers[i] is undefined

2009-09-20 Thread macsig
Hello guys, I have hard time to use tablesorter 2.0 with a javascript div update. I have tried it in several ways (using default Rails rjs file or all jquery call) but the result is the same: I get parsers[i] is undefined. Here what i would like to achieve: I have a list of states (California,

[jQuery] Suggestions on form validtion

2009-09-20 Thread Scott Haneda
Hello, I created this: http://dl.getdropbox.com/u/340087/Drops/09.20.09/form-e3ae8599-180653.html The basics are that jQuery will immediately hide a div that is the right most column. $('div.right').hide(); I have three input elements that when focus is given, I take the next() element,

[jQuery] [ScrollTo] animation only when mouseover

2009-09-20 Thread macsig
Hi there, I'm trying to use scrollTo in oder to scroll vertically a div. I want to use 2 anchors, one to go up and the other to go down and I need that the effect works ONLY when the mouse is over the anchor (when I move it out the animation has to stop). How can I achieve so? For instance the

[jQuery] Re: How do you make text selectable when using IE browser?

2009-09-20 Thread RobG
On Sep 19, 6:53 am, amtames matt.a...@tnmed.org wrote: Hi, We recently had our site redeveloped by a professional firm. We originally requested that users not be able to copy and paste text from our site. This has created an outcry and we would like to have text be selectable. I see that

[jQuery] Re: Convert AJAX XML response to HTML

2009-09-20 Thread Ricardo
First, make proper use of XML: root statusSuccess/status response div label for=SlotsOffered id=SlotsOfferedLabelNumber of Slots/label input id=SlotsOffered name=SlotsOffered type=text value=1/ /div /response /root Then it's easy: $.get('myserver.xyz', function(data){ var

[jQuery] Re: Browser sniffing - the correct way?

2009-09-20 Thread RobG
On Sep 18, 1:32 am, ldexterldesign m...@ldexterldesign.co.uk wrote: [...] This still leaves the issue of targeting browsers with JS/jQuery. You still seem to be missing the message: trying to compensate for browser quirks by detecting specific browsers is a flawed strategy. Browser detection