[jQuery] Re: text without backspace get error in cluetip

2009-09-01 Thread khin
Thx for the reply! I will look for javascript hyphenation, and thx for the good tip (overflow). I will try this two ways. See ya

[jQuery] Re: text without backspace get error in cluetip

2009-09-01 Thread Liam Potter
There is no simple, perfect way to combat this and keep the text and this happens in all browsers (as far as I know). You could look into javascript hyphenation or just hiding the overflow of the tooltip. khin wrote: Hi all, When i have: title="test|contentwithoutspace">hover if t

[jQuery] Re: text slider

2009-08-16 Thread Charlie
http://jqueryui.com/demos/slider/ dziobacz wrote: Why jquery doesn't have text slider ? Screen: http://yfrog.com/5kbeztytuuitnj

[jQuery] Re: text slider

2009-08-14 Thread dziobacz
Why jquery doesn't have text slider ? Screen: http://yfrog.com/5kbeztytuuitnj

[jQuery] Re: Text manipulation : retrieve tag

2009-07-23 Thread Kris-I
In fact all the text/code is in a variable, it's not display on the screen. The page is more like this : *strong text* MyMessage body {font-family:"Verdana";font-weight:normal;font-size: . 7em;color:black;} Server Error in '/' Application. My

[jQuery] Re: Text manipulation : retrieve tag

2009-07-23 Thread Charlie
I don't believe title tag is valid in body tag however regardless of tag placement try this  alert($('title').text()); Kris-I wrote: Hello, I have an HTML text with text and tags I'd like to get only the text between the tags Then I have this: start text Text to get end text i'd l

[jQuery] Re: Text Scroller vertical

2009-06-06 Thread waseem sabjee
whats the link ? il have a look. On Sat, Jun 6, 2009 at 5:42 PM, Robson wrote: > > Hey guy, take a look at this page of mine and see if my solution is > what you're looking for. If it solves your problem, just copy it from > the code. No plugin requires. >

[jQuery] Re: Text Scroller vertical

2009-06-06 Thread Robson
Hey guy, take a look at this page of mine and see if my solution is what you're looking for. If it solves your problem, just copy it from the code. No plugin requires.

[jQuery] Re: Text Scroller vertical

2009-06-05 Thread simon
Yeah! dont really require a scroll bar just the up and down arrows, I can use scrollPane for the wholw thing but its with just buttons thats hard to find. thanks On Jun 5, 3:52 pm, waseem sabjee wrote: > cool. yeah...its not easy to get right. would you mind it without the scroll > bar for now

[jQuery] Re: Text Scroller vertical

2009-06-05 Thread waseem sabjee
cool. yeah...its not easy to get right. would you mind it without the scroll bar for now ? you would have arrows for scroll up and scroll down. but not a scroll bar. email me on : waseemsab...@gmail.com On Fri, Jun 5, 2009 at 4:48 PM, simon wrote: > > thanks, I have tried and am continuing to e

[jQuery] Re: Text Scroller vertical

2009-06-05 Thread simon
thanks, I have tried and am continuing to experiment with things like carosel, simpleScroll ect, but nothing yet again thanks Si

[jQuery] Re: Text Scroller vertical

2009-06-05 Thread waseem sabjee
Hi there. I haven't seen a non-buggy vertical scroller. I am trying to make one though. the scolling works properly with up and down arrows but the scrollbar causes some buggy behavior. i will let you know when i resolved my bugs. On Fri, Jun 5, 2009 at 10:50 AM, simon wrote: > > I am after a s

[jQuery] Re: text of first sibling of a parent...How do I get it

2009-06-04 Thread jake dimano
nt(). >> > parents() means ancestor and table is ancestor of TDs >> > >> > See: http://docs.jquery.com/Traversing >> > Maurício >> > - >> > >> > -Mensag

[jQuery] Re: text of first sibling of a parent...How do I get it

2009-06-03 Thread Gustavo Salomé
ancestor and table is ancestor of TDs > > > > See: http://docs.jquery.com/Traversing > > Maurício > > ----- > > > > -Mensagem Original- > > De: Ricardo > > Para: jQuery (English) >

[jQuery] Re: text of first sibling of a parent...How do I get it

2009-06-03 Thread jake dimano
I've used parents() not parent(). > parents() means ancestor and table is ancestor of TDs > > See: http://docs.jquery.com/Traversing > Maurício > - > > -----Mensagem Original- > De: Ricardo > Para: jQuery (En

[jQuery] Re: text of first sibling of a parent...How do I get it

2009-06-03 Thread Mauricio (Maujor) Samy Silva
nviada em: quarta-feira, 3 de junho de 2009 15:15 Assunto: [jQuery] Re: text of first sibling of a parent...How do I get it There is no reason why you shouldn't get this working with one of the examples provided. For the nesting issue, filter with :first: $('#knowndiv').

[jQuery] Re: text of first sibling of a parent...How do I get it

2009-06-03 Thread waseem sabjee
ensure that the script src of jquery is correct On Wed, Jun 3, 2009 at 8:15 PM, Ricardo wrote: > > There is no reason why you shouldn't get this working with one of the > examples provided. For the nesting issue, filter with :first: > > $('#knowndiv').parents('tr:first').children('td:first').tex

[jQuery] Re: text of first sibling of a parent...How do I get it

2009-06-03 Thread Ricardo
There is no reason why you shouldn't get this working with one of the examples provided. For the nesting issue, filter with :first: $('#knowndiv').parents('tr:first').children('td:first').text(); parents(xx:first) is similar to closest(xx), only the latter will also try to match the element itse

[jQuery] Re: text of first sibling of a parent...How do I get it

2009-06-03 Thread jake dimano
I must say, I have not tried "closest()" and "prevAll()". I'll give it another go with your suggestions before I throw in the towel. Thanks. jake On Wed, Jun 3, 2009 at 11:22 AM, mkmanning wrote: > > The problem with parents() in the example given is that if your page > structure is more compl

[jQuery] Re: text of first sibling of a parent...How do I get it

2009-06-03 Thread jake dimano
Yes, that is the first thing I did, to no avail. I think all I am left with just trudging through this with pure javascript. jake On Wed, Jun 3, 2009 at 11:20 AM, BigAB wrote: > > have you tried > var myText = $('#knowndiv').parents('tr').find('td:first').text(); > alert(myText); > > The TR is

[jQuery] Re: text of first sibling of a parent...How do I get it

2009-06-03 Thread mkmanning
The problem with parents() in the example given is that if your page structure is more complex, and has nested tables for example, then parents() will return all parent tables. Likewise if there are tr's preceding the tr in your example. Here's a couple ways to get the text you're asking for: $('

[jQuery] Re: text of first sibling of a parent...How do I get it

2009-06-03 Thread BigAB
have you tried var myText = $('#knowndiv').parents('tr').find('td:first').text(); alert(myText); The TR is really the parent of the TDs, not the table. On Jun 3, 7:33 am, jake dimano wrote: > Mauricio, your code basically works fine on a simple test page.  But > there is something about my set-

[jQuery] Re: text of first sibling of a parent...How do I get it

2009-06-03 Thread jake dimano
Mauricio, your code basically works fine on a simple test page. But there is something about my set-up that makes the bit about ".parents('table')" fail. My page still has the same exact element structure with 2 differences; there are 52 "tr"s in the table; also, all the elements (tables, trs, t

[jQuery] Re: text of first sibling of a parent...How do I get it

2009-06-02 Thread Mauricio (Maujor) Samy Silva
var myText = $('#knowndiv').parents('table').find('td:first').text(); alert(myText); Maurício -Mensagem Original- De: con-man-jake Para: jQuery (English) Enviada em: terça-feira, 2 de junho de 2009 16:38 Assunto: [jQuery] text of first sibling of a parent...How do I get it

[jQuery] Re: text of first sibling of a parent...How do I get it

2009-06-02 Thread waseem sabjee
first lets give an ID to your table now heres your script. var obj = $("mytable"); var rows = $("tr"): // according to this we going to find text in the first td of the first tr rows.each(function(i) { var columns = rows.eq(i); alert(columns.eq(0).text()); }); the script above should give

[jQuery] Re: text not right with fade

2009-03-31 Thread simon
Thanks James, I pressed submit before I could then write Only in IE :-) Si On Mar 27, 8:52 pm, James wrote: > I believe this only happens in Internet Explorer. Most of the time > setting a CSS background-color to the element your text sits on will > solve the issue. > > On Mar 27, 2:29 am,simon

[jQuery] Re: text not right with fade

2009-03-27 Thread James
I believe this only happens in Internet Explorer. Most of the time setting a CSS background-color to the element your text sits on will solve the issue. On Mar 27, 2:29 am, simon wrote: > I have noticed that when i fade my text in to 100% its not just right > at all it looks pixelated any sugges

[jQuery] Re: Text append / replace not working in ffx 2.x and HtmlUnit

2009-02-11 Thread Marc Palmer
On 10 Feb 2009, at 22:51, Marc Palmer wrote: Hi, Forgive me as I'm a total jQuery n00b. However, I am rather confused. I have the following trivial code: $(document).ready(function () { $("p").text("The DOM is now loaded and can be manipulated.");

[jQuery] Re: Text to the left of the jQuery Star Rating Plugin

2009-02-07 Thread Tom
Great, that did the trick on the simplified test version I was messing around on. For some reason it didn't work on my site, but I tried giving it a float: left !important instead and that worked. Thanks for the help, Tom On Feb 7, 4:10 am, jQuery Lover wrote: > Surround your text (Rating:) wi

[jQuery] Re: Text to the left of the jQuery Star Rating Plugin

2009-02-07 Thread jQuery Lover
Surround your text (Rating:) with div and give a float:right CSS... worked for me on plugins demo page... Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Sat, Feb 7, 2009 at 12:54 AM, Tom wrote: > > Hi, I'm using the star rating plugin at: > http://www.fyneworks.com/jq

[jQuery] Re: .text()

2009-01-31 Thread brian
On Sat, Jan 31, 2009 at 10:47 PM, Bob O wrote: > > Coupon <-- > This is the reference text that is dynamic > > **Html Form Piece** > > **Html Form Piece** > > $(document).ready(function() { > var $coupon_div = $('#campaign_create_coupon'); > var $contest_div = $('#campaign_crea

[jQuery] Re: .text()

2009-01-31 Thread Dave Methvin
>   $current_campaign.ready(function() { If the document is ready, the div is always ready, right? >     if ($('div.detail_campaign_type').text() == 'Coupon') { Is it possible there are some leading or trailing spaces in the text? The spaces actually retained in the text can vary by browser as

[jQuery] Re: Text Manipulation

2009-01-26 Thread whtthehecker
This works great! Thanks a lot for the help Jay! On Jan 23, 7:08 pm, jay wrote: > Something like this should work: > > str = $(textinput).val(); > $(textinput).val(  str.substr(0,str.indexOf("@"))  ); > > On Jan 23, 7:51 pm, whtthehecker wrote: > > > Hi, > > > I'm trying to create a sign up for

[jQuery] Re: Text Manipulation

2009-01-23 Thread jay
Something like this should work: str = $(textinput).val(); $(textinput).val( str.substr(0,str.indexOf("@")) ); On Jan 23, 7:51 pm, whtthehecker wrote: > Hi, > > I'm trying to create a sign up form where after the user inputs their > email address when they click or tab down to the next field

[jQuery] Re: text link to fire Jeditable

2008-11-18 Thread Mika Tuupola
On Nov 18, 2008, at 8:32 PM, RyOnLife wrote: One note for future readers... Though it seems clear to me now, took me a few minutes to realize that instead of trigger('edit'), use trigger('click') or trigger('dblclick')—whatever event you use in your editable() For people not to get confused.

[jQuery] Re: text link to fire Jeditable

2008-11-18 Thread RyOnLife
Thanks very much, Mika. I was able to adapt this to meet my needs. One note for future readers... Though it seems clear to me now, took me a few minutes to realize that instead of trigger('edit'), use trigger('click') or trigger('dblclick')—whatever event you use in your editable(). On Nov 10,

[jQuery] Re: text-shadow

2008-11-12 Thread Rick Faircloth
Looks good, Martin. I'll work on implementing it soon and provide some feedback then. However, it's certainly good to know this is available. It will save me a *lot* of time not having to create graphics when I want text shadows! Thanks for the good work! Rick Martin Hintzmann wrote: Hello

[jQuery] Re: text link to fire Jeditable

2008-11-10 Thread Mika Tuupola
On Nov 10, 2008, at 9:02 PM, RyOnLife wrote: Hello, I am using Jeditable. Currently firing the plugin when the editable div is double clicked. I'd also like to add a text link outside of the editable div, and when clicked, it would make the div editable. Just want to give my users a visual cue

[jQuery] Re: text after a radio button

2008-10-29 Thread ricardobeat
You can reach it with DOM properties: $('input').each(function(){ while (this.nextSibling && this.nextSibling.nodeType == 3) { $(this.nextSibling).remove(); } }); - ricardo On Oct 28, 7:01 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Working with  Lotus Notes developer

[jQuery] Re: text after a radio button

2008-10-29 Thread edzah
I had the same problem just now. Try this: 1 2 ... Then when you want to hide/show both the radio button and the text: $('#val1').show(); $("#val1txt").show(); $('#val2').hide(); $("#val2txt").hide(); Ed On Oct 28, 9:01 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Working with  Lot

[jQuery] Re: text() as a wrapped set?

2008-09-30 Thread Balazs Endresz
You made me think about confusing the maintainers :) This would certainly do that but wouldn't break any code: $.fn._text = $.fn.text; $.fn.text = function( toTextNode ) { if( toTextNode === true ) return this.pushStack( [ document.createTextNode( this._text() ) ] ); return this._text();

[jQuery] Re: text() as a wrapped set?

2008-09-30 Thread Balazs Endresz
The argument was missing at the end: $.fn._text = $.fn.text; $.fn.text = function( toTextNode ) { if( toTextNode === true ) return this.pushStack( [ document.createTextNode( this._text() ) ] ); return this._text( toTextNode ); } On Sep 30, 3:46 pm, Balazs Endresz <[EMAIL PROTECTED]> wrot

[jQuery] Re: text() as a wrapped set?

2008-09-26 Thread 703designs
Oh, and break everything that depends on the text method. On Sep 26, 9:16 am, 703designs <[EMAIL PROTECTED]> wrote: > I could also do something along these lines: > > $.fn.oldText = $.fn.text; > $.fn.text = function() { >     return $(document.createTextNode(this.oldText())); > > } > > That is, o

[jQuery] Re: text() as a wrapped set?

2008-09-26 Thread 703designs
I could also do something along these lines: $.fn.oldText = $.fn.text; $.fn.text = function() { return $(document.createTextNode(this.oldText())); } That is, of course, if I'd like to confuse the hell out of future maintainers :) On Sep 25, 1:15 am, Balazs Endresz <[EMAIL PROTECTED]> wrote:

[jQuery] Re: text() as a wrapped set?

2008-09-24 Thread Balazs Endresz
I think the easiest way is to write another plugin: $.fn.$text=function(){ return $( document.createTextNode( this.text() ) ) } $("a").$text().appendTo("#sanbox"); but you can extend the String prototype too: String.prototype.jqueryify=function(){ return $( document.createTextNode( this )

[jQuery] Re: text() as a wrapped set?

2008-09-24 Thread ricardobeat
text() is really meant to retrieve text content as a string, and append() is for appending elements, it's probably going through a lot more hoops than just using text(). So it looks like the first way is the best way to do it, enjoy the beauty of jQuery: extend it! $.fn.textCopy = function(sourc

[jQuery] Re: text input glow effect

2008-07-02 Thread Alexandre Plennevaux
On Wed, Jul 2, 2008 at 3:42 PM, cecil <[EMAIL PROTECTED]> wrote: > > Hello ... I'm really new to JQuery; today would be my first time using > it actually. i'd like to reproduce the input highlight effect that > safari applies. when the input is in focus, the border has somewhat of > a glow effect

[jQuery] Re: text input glow effect

2008-07-02 Thread MorningZ
Doesn't look very easy (yet anyways), but there's plenty of options http://www.google.com/search?q=css+cross+browser+glow jQuery could help apply the styles and like

[jQuery] Re: text box keeps focus when another element type is clicked ?

2008-06-09 Thread paulj
Wizzud Thank you *very* much. Your solution works fine. Paul On 8 Jun, 08:47, Wizzud <[EMAIL PROTECTED]> wrote: > Try adding... > > $(':text').bind('focus', function(){ > hasFocus = $(this); > }); > > On Jun 5, 7:43 pm, paulj <[EMAIL PROTECTED]> wrote: > > > Wizzud, thank you for your help.

[jQuery] Re: text box keeps focus when another element type is clicked ?

2008-06-08 Thread Wizzud
Try adding... $(':text').bind('focus', function(){ hasFocus = $(this); }); On Jun 5, 7:43 pm, paulj <[EMAIL PROTECTED]> wrote: > Wizzud, thank you for your help. > > Your code worked perfectly if the user had entered the text box by > *clicking* on it. > But, if the user has *tabbed* to th

[jQuery] Re: text box keeps focus when another element type is clicked ?

2008-06-05 Thread paulj
Wizzud, thank you for your help. Your code worked perfectly if the user had entered the text box by *clicking* on it. But, if the user has *tabbed* to the text box (and then clicks on another element) the focus is returned to the text box that was last *clicked* on. This can be seen in my example

[jQuery] Re: text box keeps focus when another element type is clicked ?

2008-06-05 Thread Wizzud
Any good for you ... ? $(document).ready(function(){ var hasFocus = $(':text:first').focus(); $(document).bind('click', function(event){ var ev = $(event.target); if(ev != hasFocus){ if (ev.is(':text')){ hasFocus = ev; } hasFocus.focus(); } }); }); On

[jQuery] Re: Text Animation Plug-in?

2008-01-16 Thread Rick Faircloth
Well. after looking around in the docs, the animate function will do just as well. Maybe I can combine that with the "Shadow" plug-in released recently. Rick From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rick Faircloth Sent: Wednesday, January 16, 2008 11:13 AM

[jQuery] Re: Text finder in html

2007-11-07 Thread syg6
Hmmm ... yes, this is similar to what I need but I can't get your code to do anything. :( If I understand the code correctly, you capture the keyup event for a input text field called 'filter' (which isn't included in the HTML you posted) and then loop through each with the 'leadName' class (in

[jQuery] Re: Text finder in html

2007-11-06 Thread Andy Matthews
I wrote something exactly like this for a project. It's not 100% complete, but you're welcome to it. Maybe it'll help? // define the table var $table = $('#leadsTable tbody tr .leadName'); // the on keyDown event handler $('#filter').keyup(function(){ // get the current value of the text

[jQuery] Re: Text Flickering/Distorting with Drop Down Menu (Superfish Javascript)

2007-11-02 Thread Joel Birch
It seems that you have found the workaround for this Mac Firefox issue already, ie. setting opacity:.999 on the body element to force all the text permanently into the lighter anti-aliasing mode. Good stuff. Joel Birch.

[jQuery] Re: Text manipulation on a menu

2007-09-14 Thread Karl Swedberg
Hi there, The .hover() method takes two arguments -- one for mouseover and one for mouseout. They are separated by a comma: .hover(function() { // Stuff to do when the mouse enters the element; }, function() { // Stuff to do when the mouse leaves the element; }); Yours has onl

[jQuery] Re: Text manipulation on a menu

2007-09-14 Thread Richard D. Worth
Use filter() for getting only the first 2 levels. Then add the arrow once and use hover to show() and hide(). Something like this: $("ul.nav li a") .filter(function() { return !!($(this).parents('ul').slice(0,2).filter('.nav').length); }) .append(' 〉') .hover(function() { $('.arrow

[jQuery] Re: Text manipulation on a menu

2007-09-14 Thread dogslife
Just to update, the following works (with errors though) by adding an arrow, but how do I keep it from adding the arrow on level3? Also the code generates this error: error --- g has no properties handleHover(Object type=mouseout target=a currentTarget=a eventPhase=2)jquery.js (li

[jQuery] Re: Text node selector?

2007-08-28 Thread willi
It would be realy, realy great if "free" text nodes would also be matched in the core jQuery functionality. eg. here is some text some more text and more text $('form').children() does not select the "free" text nodes within the form. Without the plugin there is no simple solution to mod

[jQuery] Re: Text node selector?

2007-08-15 Thread Thomas Hooper
This bugs me too, I have no way of changing the text part of the following without effecting the image: Example text After some digging around I found this thread, but also of interest, this plugin: http://dev.jquery.com/log/trunk/plugins/textNodes/jquery.textNodes.js?rev=2052

[jQuery] Re: Text node selector?

2007-08-12 Thread Jed Schmidt
Thanks again, John. I'm pretty sure that this would wrap _all_ of the child nodes, and not just the text nodes, correct? Also, in the jQuery philosophy of "get things, do stuff", I'm trying to separate the getting from the doing, using a custom function to "fake" a selector, and then another func

[jQuery] Re: Text node selector?

2007-08-12 Thread John Resig
If that's what you're after, give this a try: $("div").each(function(){ $(this.childNodes).wrap(""); }); --John On 8/11/07, Jed Schmidt <[EMAIL PROTECTED]> wrote: > > Thanks for the tip, John. > > Maybe I don't quite grok it, but could it handle cases like this? > > This is bold. > > It seems

[jQuery] Re: Text node selector?

2007-08-12 Thread Jed Schmidt
Here's what I've come up with: jQuery.fn.extend({ textNodes: function() { return jQuery( jQuery.map( this, function(n){ return jQuery.grep(n.childNodes, function(n) { return n.nodeType == 3; }); }) ); } }); I love how suc

[jQuery] Re: Text node selector?

2007-08-11 Thread Jed Schmidt
Thanks for the tip, John. Maybe I don't quite grok it, but could it handle cases like this? This is bold. It seems to me that innerWrap could give me this: This is bold. but what I'm really after is this: This is bold. In other words, I'm looking for a way to manipulate all text nodes thems

[jQuery] Re: Text node selector?

2007-08-11 Thread John Resig
How about using innerWrap? http://blog.brandonaaron.net/2007/06/04/jquery-snippets-innerwrap/ --John On 8/11/07, Jed Schmidt <[EMAIL PROTECTED]> wrote: > > Looking into the jQuery source, it seems like this would be pretty > daunting ("nodeType == 1" is checked in 5 different places, making it >

[jQuery] Re: Text node selector?

2007-08-11 Thread Jed Schmidt
Looking into the jQuery source, it seems like this would be pretty daunting ("nodeType == 1" is checked in 5 different places, making it seem like a non-trivial fix). Perhaps the next best bet after a proper selector would be a function that, for each matched element, adds the jQuery objects for

[jQuery] Re: Text Box readonly

2007-07-31 Thread Alexandre Plennevaux
setTimeout(functionName,timeInMillisec ,[function arguments (optional)]) should do the trick : jQuery(document).ready(function($) { function removeReadOnly(){ $("input").removeAttr("readonly"); } setTimeout(removeReadOnly,5000); }); -Original Message- From: jquery-en@googlegroups.com [

[jQuery] Re: Text flicker

2007-07-10 Thread tlob
url? On 10 Jul., 05:47, Rob <[EMAIL PROTECTED]> wrote: > I'm getting an animation bug where all text on the page flickers > slightly during a fade() animation. I can't seem to find the specific > reason this appears but I'll keep trying. Any ideas or am I beating a > dead horse? > > Btw I'm using

[jQuery] Re: Text Button

2007-05-27 Thread james_027
Hi rob, Thanks a lot. Your answers are very helpful. cheers, james On May 23, 4:25 pm, "Rob Desbois" <[EMAIL PROTECTED]> wrote: > Karl, > Any particular reason why you would use a link to click the button to > perform the button's task, rather than just disposing of the button and > assigning i

[jQuery] Re: Text Button

2007-05-23 Thread Karl Rudd
Rob, I work at a university (in Australia) doing what can be best described as "web front-end construction". Most of our work is for government and/or educational groups so there are certain guidelines and regulations that we need to follow. A submit button is needed because most of the sites w

[jQuery] Re: Text Button

2007-05-23 Thread Rob Desbois
Karl, Any particular reason why you would use a link to click the button to perform the button's task, rather than just disposing of the button and assigning its task to the link? If that made no sense ;-) take an example: why create an invisible button to save, then use jQuery to create a link ou

[jQuery] Re: Text Button

2007-05-22 Thread james_027
Hi rob, Thanks very much, that really gives me a lot info. I'll take your suggestion ... Another question ... You mention about the browser to update its DOM with $('p').click(...) does this update can be seen when your view the source or it is done internally? Thanks again james On May 22, 10:

[jQuery] Re: Text Button

2007-05-22 Thread Karl Rudd
This has come up a number of times. My suggestion is to use a "proxy link". When the link is pressed it "clicks" the button. Something like this: $(function() { $('input.proxy').each( function() { var input = $(this); $('' + this.value + '')

[jQuery] Re: Text Button

2007-05-22 Thread Rob Desbois
James, The tag is a different element created to allow much more control over styling and content - you can include markup such as images and styling in a tag which is not possible with As for which of the two approaches I prefer - I'd go for as the javascript IS the link target, creating an

[jQuery] Re: Text Button

2007-05-22 Thread james_027
Hi, Thanks a lot, exactly what I am looking for. Cheers james On May 22, 6:50 pm, "Alexandre Plennevaux" <[EMAIL PROTECTED]> wrote: > 1/ you can make any tag clickable by adding a "click" event. That's thanks > to javascript, but jquery makes it more easily accessible. > > $('p').click(function

[jQuery] Re: Text Button

2007-05-22 Thread james_027
Hi, what is the difference between to Thanks james On May 22, 5:20 pm, Bob den Otter <[EMAIL PROTECTED]> wrote: > james_027 wrote: > > Hi, > > > Is this the best way to make a text button? > > > Click Me! > > Slightly offtopic, but you might want to look into > this:http://particletree.com/fe

[jQuery] Re: Text Button

2007-05-22 Thread james_027
Hi, Thanks Rob. Just want to ask you which of the two suggestion is more optimize or efficient? Thanks On May 22, 5:16 pm, "Rob Desbois" <[EMAIL PROTECTED]> wrote: > When you say 'text button' I'm assuming that you don't want the usual button > created with one of: > > > > Two ways to g

[jQuery] Re: Text Button

2007-05-22 Thread james_027
Hi, What I mean is when the cursor go over the tag, it doesn't show that it is clickable ... hope you got what I mean. james On May 22, 5:15 pm, Michael Stuhr <[EMAIL PROTECTED]> wrote: > james_027 schrieb: > > > Hi, > > > Is this the best way to make a text button? > > > Click Me! > > > It's n

[jQuery] Re: Text Button

2007-05-22 Thread Alexandre Plennevaux
1/ you can make any tag clickable by adding a "click" event. That's thanks to javascript, but jquery makes it more easily accessible. $('p').click(function(){ // do this and do that ... }); As for the cursor "hand" look , you can do that in css p{ Cursor: pointer; } -Original Messag

[jQuery] Re: Text Button

2007-05-22 Thread Rob Desbois
Nice article - however it is incorrect when it says the element 'behaves in exactly the same way as [the tag]'. MSIE's implementation of is...a pain in the backside at best! Information on that is at http://www.peterbe.com/plog/button-tag-in-IE --rob On 5/22/07, Bob den Otter <[EMAIL PROTECT

[jQuery] Re: Text Button

2007-05-22 Thread Bob den Otter
james_027 wrote: Hi, Is this the best way to make a text button? Click Me! Slightly offtopic, but you might want to look into this: http://particletree.com/features/rediscovering-the-button-element/ Besides the tag, they also go into styling tags to resemble buttons. Best, Bob.

[jQuery] Re: Text Button

2007-05-22 Thread Rob Desbois
When you say 'text button' I'm assuming that you don't want the usual button created with one of: Two ways to get an anchor tag to invoke a javascript action instead of navigating to a different page / anchor: Click Me! Click Me! If you want to make any tag have the usual clickable lin

[jQuery] Re: Text Button

2007-05-22 Thread Michael Stuhr
james_027 schrieb: Hi, Is this the best way to make a text button? Click Me! It's nice that even with using jquery could make almost any tag to have click event, but the problem is the cursor doesn't indicate that it's clickable. what do you mean by "the cursor doesn't indicate that it's

[jQuery] Re: Text Replacement with Luteman ´s Flash Plugin [Character-Problem]

2007-05-16 Thread Olaf Bosch
Alexander Farkas schrieb: I use Luteman´s Flash Plugin for Text Replacement. But the script has some problems with several special characters, especally with (german) vowel mutations (ä,ö,ß etc.), even if i embed more charcters to the flash-file, it does not work. The character encoding of my

[jQuery] Re: Text Highlighting from Search

2007-05-15 Thread Glen Lipka
On 5/15/07, Renato Formato <[EMAIL PROTECTED]> wrote: > Wow, that looks robust. Definetely let me know when it's released. > So I assume, I would remove the search definitions and add something like: > [/^http:\/\/(www\.)?commadot\./i, /s=([^&]+)/i], > > I get a little lost on the syntax there

[jQuery] Re: Text Highlighting from Search

2007-05-15 Thread Renato Formato
Wow, that looks robust. Definetely let me know when it's released. So I assume, I would remove the search definitions and add something like: [/^http:\/\/(www\.)?commadot\./i, /s=([^&]+)/i], I get a little lost on the syntax there. It might be worth while in the plugin to make a simple api t

[jQuery] Re: Text Highlighting from Search

2007-05-14 Thread Glen Lipka
On 5/14/07, Renato Formato <[EMAIL PROTECTED]> wrote: Glen Lipka ha scritto: > I have a search which yields a URL like this: (searching for [jets daniel]) > http://www.commadot.com/index.php?s=jets+daniel&searchsubmit=Search >

[jQuery] Re: Text Highlighting from Search

2007-05-14 Thread Renato Formato
Glen Lipka ha scritto: I have a search which yields a URL like this: (searching for [jets daniel]) http://www.commadot.com/index.php?s=jets+daniel&searchsubmit=Search

[jQuery] Re: Text Highlighting from Search

2007-05-13 Thread Ⓙⓐⓚⓔ
similar to a prototype I did for a children's book program. http://jpassoc.com/junior/story/ jQuery.fn.hook=function(hash){ var fix = function(text,hash){ var t = text.split(/\b/) var inTag = false for (var i = 0; i < t.length; i++){

[jQuery] Re: Text editer suite in jquery

2007-05-08 Thread FD
The latest version of WYMeditor is using JQuery (JQuery version just reached alpha 1) http://www.wymeditor.org/en/ demo: http://demo.wymeditor.org/ Different approach to FCK et al. but one that I personally think is more useful for CMS type editing. Looks promising anyway. On May 9, 2:19 am, Sha

[jQuery] Re: Text editer suite in jquery

2007-05-08 Thread Aaron Heimlich
On 5/8/07, Leonardo K <[EMAIL PROTECTED]> wrote: http://scriptinverse.com/textify/ Beta version with several bugs. Like not working at all in Firefox 2.0.0.3 -- Aaron Heimlich Web Developer [EMAIL PROTECTED] http://aheimlich.freepgs.com

[jQuery] Re: Text editer suite in jquery

2007-05-08 Thread Leonardo K
http://scriptinverse.com/textify/ Beta version with several bugs. On 5/8/07, Sharique <[EMAIL PROTECTED]> wrote: I think jQuery is powerful enough to build such thing. On May 8, 9:19 pm, Sharique <[EMAIL PROTECTED]> wrote: > Is there any text editor (like FCKEditor) build using jquery. > If

[jQuery] Re: Text editer suite in jquery

2007-05-08 Thread Sharique
I think jQuery is powerful enough to build such thing. On May 8, 9:19 pm, Sharique <[EMAIL PROTECTED]> wrote: > Is there any text editor (like FCKEditor) build using jquery. > If not then why shouldn't build it. > - > Sharique