[jQuery] Re: sent a message, nothing visible

2009-01-08 Thread jQuery Lover
I am not receiving messages. So I am testing if my messages are going out :) On Thu, Jan 8, 2009 at 3:47 PM, lsblsb wrote: > > just send a message here, but it doesnt appear since 2 hours. > so this is a test... > -- jQuery HowTo Resource

[jQuery] Re: jqGalScroll in Joomla

2009-01-08 Thread jQuery Lover
Set css style for your unordered list items to none; ul{ list-style:none; } On Thu, Jan 8, 2009 at 8:33 AM, ozz wrote: > > Installed jQuery into Joomla article, portfolio scroll, looks awesome, > works fine! > Only one problem, it shows bullets beside each image and pagination... > It's fine

[jQuery] Re: Simulate BackSpace key

2009-01-08 Thread jQuery Lover
As far as I can remember trigger function takes only two parameters. The second parameter should be an array: $('#editor').trigger("keypress", [null,{which: 8,pageX:e.pageX,pageY:e.pageY}]); On Thu, Jan 8, 2009 at 3:57 PM, RSol wrote: > > I read that I can simulate keypress with code: > > $('#

[jQuery] Re: Joomla and jqGalScroll

2009-01-08 Thread jQuery Lover
Another one: Set css style for your unordered list items to none; ul{ list-style:none; } On Thu, Jan 8, 2009 at 8:37 AM, Alex Osipov wrote: > Hi there, i am not sure if i am writing to the right place:)Installed > jquery into the joomla, posted, works great > Only one thing it's shows the bu

[jQuery] Re: help me in jquery show( speed, [callback] ) effects

2009-01-08 Thread jQuery Lover
You can do this: $('dd').click(function(){ // here select and show whatever you want $('.somethingToShow').show('slow'); }); On Thu, Jan 8, 2009 at 3:30 PM, nage wrote: > > hi > > I am new to jquery, i have on form with 3 images, i want call > show( speed, [callback] ) > function whe

[jQuery] Re: [tooltip] catch images before showing them

2009-01-08 Thread jQuery Lover
Preload all images used in tooltip with javascript: Detailed article: http://articles.techrepublic.com.com/5100-10878_11-5214317.html Google: http://www.google.com/search?rlz=1C1GGLD_enUZ291UZ308&sourceid=chrome&ie=UTF-8&q=javascript+image+preload On Thu, Jan 8, 2009 at 4:13 PM, kannibal wrote:

[jQuery] Re: bind the same functionality to load and change event

2009-01-08 Thread jQuery Lover
Move your code to some function and then call it on document ready and onchange-event: function myMethod(){ // my custom js code } $(document).ready(function(){ myMethod(); $("#properties div select").bind("change",myMethod()); }); -- jQuery HowTo Resource

[jQuery] Re: jQuery - Binding to Ajax Event

2009-01-08 Thread jQuery Lover
Why don't you use jQuery's helper function $.getJSON( url, [data], [callback] ) http://docs.jquery.com/Ajax/jQuery.getJSON#urldatacallback jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Jan 9, 2009 at 9:32 AM, goodsanket wrote: > > Hi all > > I am developing a portal and

[jQuery] Re: Simulate BackSpace key

2009-01-08 Thread jQuery Lover
Here is how to simulate a backspace in javascript: getElementById('yourTextBox').Select(TextBox1.SelectionStart - 1, 1) getElementById('yourTextBox').SelectedText = " jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Jan 9, 2009 at 11:03 AM, RSol wrote: > > To replace '

[jQuery] Re: simple problem

2009-01-08 Thread jQuery Lover
You are selecting an image and image has no HTML or any kind of text content in it! img element has no html() function. jQuery HowTo Resource - http://jquery-howto.blogspot.com On Thu, Jan 8, 2009 at 8:11 PM, CreativeMind wrote: > > hi all, > i m unable to find the img and its src attribut

[jQuery] Re: how to select all first td's inside all in a table

2009-01-08 Thread jQuery Lover
Once more solution: $("tr td:nth-child(1)").addClass('date'); jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Jan 9, 2009 at 2:58 AM, Tijmen Smit wrote: > > I have a table that contains several , all of them look like > this. > > >20-04 >

[jQuery] Re: Simulate BackSpace key

2009-01-09 Thread jQuery Lover
nd use to editing 'div' tag with .attr > ('contentEditable','true') > > On 9 янв, 08:23, "jQuery Lover" wrote: >> Here is how to simulate a backspace in javascript: >> >> getElementById('yourTextBox').Sel

[jQuery] Re: Attach events to items before $(document).ready

2009-01-09 Thread jQuery Lover
Put your javascript right under the input field. ... document.myForm.username.focus(); It is not jQuery, but plain javascript. Just in case jquery is not fully loaded... jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Jan 9, 2009 at 6:25 PM, Gordon wrote: > > I've go

[jQuery] Re: Tutorials or examples of jQuery and ColdFusion?

2009-01-09 Thread jQuery Lover
jquery is client side scripting language and it does not care nor knows what you are using at the server side as far as you return what it is expecting (xml, json, html, plain text, etc). You should probably ask for utility classes. For example a class that would convert your object or an array t

[jQuery] Re: Preload images for jQuery Cycle Plugin

2009-01-09 Thread jQuery Lover
Here is something from top of my head: $(function () { var imgs = new Array(); imgs[0] = 'images1.jpg'; imgs[2] = 'images2.jpg'; imgs[3] = 'images3.jpg'; imgs[4] = 'images4.jpg'; imgs[5] = 'images5.jpg'; var $img = new Image(); for(var i in imgs){ $($img) .load(functio

[jQuery] Re: jquery abstraction/widget for fixed panel at bottom page

2009-01-09 Thread jQuery Lover
Here is exactly what you need :) http://www.ben-griffiths.com/project/jquery-position-footer/ jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Jan 9, 2009 at 7:07 PM, aldana wrote: > > > hi, > > i read that you can use following for a html-snippet which should be fixed > at

[jQuery] Re: Need help with a Jquery toggle bug in my menu's

2009-01-09 Thread jQuery Lover
Introduce some variable that tracks the current menu state. $(document).ready(function(){ var menuOn = false; $("li.main-nav").children('div').hide(); $("li.main-nav").bind("mouseenter mouseleave", function(){ ... }); }); And then, in your bound function check with "if" statement if

[jQuery] Re: Attach events to items before $(document).ready

2009-01-09 Thread jQuery Lover
I agree with Rob here. Inline javascript is not the worst that may happen to your page. It's just the hype around unobtrusive javascript coding that we have lately that makes some people to think that it is the worst thing ever. jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri

[jQuery] Re: How best to create Google Calendar functionality in Jquery?

2009-01-09 Thread jQuery Lover
jQuery UI already has what you need. First use a container div with bg image of time. Then create a dragable and resizable div that can only be dragged/resized horizontally. Then use jquery.offset() to get where the div's left and right sides are and easily calculate start and end dates. Similar

[jQuery] Re: Superfish Righthand Side of Window Folding

2009-01-09 Thread jQuery Lover
There seems to be no option so you will have to change the code. You will have to check if the menu will overflow the window and proceed accordingly. So check the value of (current menu right side + popup menu width) is bigger than window width. If it is position popup menu to the left side of t

[jQuery] Re: teaching jquery instead of javascript ?

2009-01-09 Thread jQuery Lover
I agree with that :) jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Jan 9, 2009 at 7:47 PM, Ricardo Tomasi wrote: > > I'm sure most will agree that 240 hours is more than reasonable time > to learn the basics of Javascript, and then jQuery and a third library > of your cho

[jQuery] Re: Simulate BackSpace key

2009-01-09 Thread jQuery Lover
You can't trigger but can achieve the same effect :) An you will definitely deal with Ranges to make your code cross browser :) jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Jan 9, 2009 at 7:43 PM, Ricardo Tomasi wrote: > > You can't actually trigger a keypress, only it'

[jQuery] Re: if statement testing for null value

2009-01-09 Thread jQuery Lover
Where are you putting this code? Running it on page load will not do much. Put it into a function and then bind it to all five fields. jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Jan 9, 2009 at 7:50 PM, Chuk wrote: > > Thanks for your suggestions, guys. I tried replac

[jQuery] Re: Does anyonw know a jQuery plug-in like Magic Zoom

2009-01-09 Thread jQuery Lover
Here you go. Exactly the same (SUSPICIOUSLY SIMILAR) jquery plugin: http://www.mind-projects.it/projects/jqzoom/ jQuery HowTo Resource - http://jquery-howto.blogspot.com 2009/1/9 Nguyễn Quốc Vinh : > This tool is so cool! But it is not free! > http://www.magictoolbox.com/magiczoom/ > Does an

[jQuery] Re: Is there a way to create Javascript virtual or logical path mappings?

2009-01-09 Thread jQuery Lover
Why don't you add "/" to your path and it will always work, wherever you are, on the same lever, below or upper ... jQuery HowTo Resource - http://jquery-howto.blogspot.com On Sat, Jan 10, 2009 at 8:04 AM, Rick Faircloth wrote: > > I've got login templates that use jQuery and the > path req

[jQuery] Re: non standard characters in class names, not working in funtion

2009-01-09 Thread jQuery Lover
I don't think there are other solutions but escape special characters in your jquery selector names... jQuery HowTo Resource - http://jquery-howto.blogspot.com > > if any one can point me to other solutions ...

[jQuery] Re: jQuery code not being run

2009-01-09 Thread jQuery Lover
Yeap, the "not defined" errors mean jQuery is not loaded. So you should load your jQuery first and then other js code that uses it. jQuery HowTo Resource - http://jquery-howto.blogspot.com On Sat, Jan 10, 2009 at 6:30 AM, donb wrote: > > Move the jquery.js link ahead of all the others (beca

[jQuery] Re: double $().read()

2009-01-09 Thread jQuery Lover
Yes, you can as many $(document).ready() functions... Because you are not declaring but binding event to document object with $().ready(). jQuery HowTo Resource - http://jquery-howto.blogspot.com On Sat, Jan 10, 2009 at 5:31 AM, saiful.ha...@gmail.com wrote: > > hi all, > > can we put doub

[jQuery] Re: Thickbox and Yahoo Stores

2009-01-09 Thread jQuery Lover
Do you have a link or could you copy&paste html code snippet of your image with the links... jQuery HowTo Resource - http://jquery-howto.blogspot.com On Sat, Jan 10, 2009 at 2:16 AM, MikeFCraft wrote: > > I'm helping someone set up thickbox to work on their yahoo store. It > seems like Yaho

[jQuery] Re: Simplemodal causes validators to fire on webform

2009-01-09 Thread jQuery Lover
You probably binding your validators to ALL input[type=submit] or to some class (Ex: .submit) If so give your selector a scope $('.submit-button', document.forms[0]).bind()... jQuery HowTo Resource - http://jquery-howto.blogspot.com On Thu, Jan 8, 2009 at 9:31 PM, tawright915 wrote: > > Wh

[jQuery] Re: Thickbox and Yahoo Stores

2009-01-09 Thread jQuery Lover
Didn't we already have this message ??? jQuery HowTo Resource - http://jquery-howto.blogspot.com On Sat, Jan 10, 2009 at 2:10 AM, Mike521 wrote: > > I'm helping someone set up thickbox to work on their yahoo store. It > seems like Yahoo has a built-in click tracking system that is messing >

[jQuery] Re: Anyone using jQuery with Tapestry 5?

2009-01-09 Thread jQuery Lover
Hello there, There are no special means or specific incorporations of jQuery to some framework nor to a programming languages. Tapestry is not an exception. Use jQuery to do your front end work, use Tapestry to generate html you need. All you need is a java utility classes to convert your java o

[jQuery] Re: Best way to preload an image to obtain dimensions

2009-01-09 Thread jQuery Lover
Eric gives you the jQuery way, basically the jQuery syntax. I can't agree with Brian's idea. Loading original images in your gallery is not the best thing, unless you know your target audience has high speed internet or they are all in your local area network. Although, Eric's code is jQuery way

[jQuery] Re: Can I get the contents from respose by ajax

2009-01-09 Thread jQuery Lover
I would also suggest to use $load() function in this case. Since it would make your code much readable. $('aa.php #a', {a:123}, function(res){ // res is a responce content }); Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Jan 9, 2009 at 11:11 PM, dropcube wrote: >

[jQuery] Re: How it should be done?

2009-01-09 Thread jQuery Lover
Or if you have just one ul on your page, simply: $('ul li').hover( function () { $(this).addClass("columnSelected"); }, function () { $(this).removeClass("columnSelected"); } ); You may find "jQuery HowTo" useful - http://jquery-howto.blogspot.com On Fri, Jan 9, 2009 at 10:47 PM,

[jQuery] Re: Need help with a Jquery toggle bug in my menu's

2009-01-09 Thread jQuery Lover
@serpicolugnut: read my previous post!!! Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Jan 9, 2009 at 7:06 PM, serpicolugnut wrote: > > > I've got a full width drop down menu setup, using jquery's toggle to > show/hide the hidden divs when the user clicks on the one

[jQuery] Re: jQuery Storage?

2009-01-10 Thread jQuery Lover
Have you tried http://plugins.jquery.com Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Jan 9, 2009 at 9:27 PM, aldana wrote: > > > Hi, > > am looking for the same. Is there any update (since the first post on March > '08) on this? Really want to avoid inclusion of di

[jQuery] Re: jquery abstraction/widget for fixed panel at bottom page

2009-01-10 Thread jQuery Lover
My bad, the plugin is a little crappy :( Forget the javascript use CSS!!! Here is to get you started: http://www.google.com/search?q=bottom+footer+css Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Jan 9, 2009 at 9:25 PM, aldana wrote: > > > i guess i will do the CS

[jQuery] Re: Preload images for jQuery Cycle Plugin

2009-01-10 Thread jQuery Lover
Totally and whole heartedly agree :) It was late and I was kinda only seeing new Image() method. My bad.. Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Jan 9, 2009 at 9:23 PM, Karl Swedberg wrote: > On Jan 9, 2009, at 9:11 AM, jQuery Lover wrote: > >

[jQuery] Re: if statement testing for null value

2009-01-10 Thread jQuery Lover
This code is just beautiful :) Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Jan 9, 2009 at 8:38 PM, MorningZ wrote: > > $('#equipmentNumber, #description').keyup(checkSubmit); > $('#type, #department, #location').change(checkSubmit); > > function checkSubmit() { >

[jQuery] Re: Does anyonw know a jQuery plug-in like Magic Zoom

2009-01-10 Thread jQuery Lover
Not at all. There are some alternatives. A little different approach to zooming: http://valid.tjp.hu/tjpzoom/ Read jQuery HowTo Resource - http://jquery-howto.blogspot.com 2009/1/9 Nguyễn Quốc Vinh : > Wow! Fantastic! Thanks so much! > This is really useful to me! Thanks again! >

[jQuery] Re: [validate] message containers and valid XHTML markup?

2009-01-10 Thread jQuery Lover
Martin probably just concerned about the characters in classname ({:,}). Well they are valid in class names in XHTML 1.0 strict. So no wories :) Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Jan 9, 2009 at 2:19 PM, Jörn Zaefferer wrote: > I don't see how that isn't

[jQuery] Re: Sorting a list of objects ( not in table)

2009-01-10 Thread jQuery Lover
This is easy. All you have to do is select your list items then get them as an array and then user javascript array's native sort method like this: var rows = $('ul#searchResults li').get(); rows.sort(function(a, b) { if (a.CustomProperty < b.CustomProperty) return -1; if (a.CustomProperty >

[jQuery] Re: attr('type') gives me checkbox instead of radio

2009-01-10 Thread jQuery Lover
I just checked. I am getting "radio"! Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Jan 9, 2009 at 7:47 AM, bob wrote: > > Female > Male > > var type = #('inp...@name=gender]').attr('type'); > > alert(type); > > Why do I get checkbox instead of radio?

[jQuery] Re: Swap Image when click

2009-01-10 Thread jQuery Lover
$('#placeWithYourImages a').click(function(){ var href = $(this).attr('href'); $('img', this).attr('src', href); return false; }); This code changes only once and it is very primitive. You may wanna add an if statement to check if the href is equal to src, etc. Or add some extra code to mak

[jQuery] Re: Getting an array via $.post

2009-01-10 Thread jQuery Lover
You need to echo your array in php in json format. To do this you need a json class in your php code. Here is to get you started: http://www.google.com/search?q=json+php+class Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Jan 9, 2009 at 1:58 AM, emmj...@gmail.com wr

[jQuery] Re: jQuery-dependent TouchGraph Visualization (experiment)

2009-01-10 Thread jQuery Lover
Nice work. I should take some time and look through your code. Great job. Here are some performance test (caching in jquery) http://jquery-howto.blogspot.com/2008/12/caching-in-jquery.html Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Thu, Jan 8, 2009 at 11:36 PM, David D

[jQuery] Re: How to access a jQuery object instance?

2009-01-10 Thread jQuery Lover
You mean jquery properties or some element that you selected using jquery? Just in case: $('.inputfield').val(); $('a').href(); Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Thu, Jan 8, 2009 at 9:06 PM, WoutervD wrote: > > Hello there, > > I would like to know how i

[jQuery] Re: How to access a jQuery object instance?

2009-01-10 Thread jQuery Lover
See: http://docs.jquery.com/Attributes http://docs.jquery.com/Manipulation Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Thu, Jan 8, 2009 at 9:06 PM, WoutervD wrote: > > Hello there, > > I would like to know how i can access properties of a jQuery object > instance. > I

[jQuery] Re: create an array from file contents

2009-01-10 Thread jQuery Lover
Pass contents of your file as comma seperated values and then expload(',') to an array. Or parse serverside and return as a json. Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Thu, Jan 8, 2009 at 10:11 PM, Eyveneena wrote: > > is there a way to create an array with a max

[jQuery] Re: Jquery Calling Servlet

2009-01-10 Thread jQuery Lover
Create a new window and direct it to your servlet url then onload.close(); Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Thu, Jan 8, 2009 at 7:08 PM, ruquia wrote: > > Hi i am calling a servlet using JQuery and my servlets create an excel > file at runtime and provides th

[jQuery] Re: jQuery - Binding to Ajax Event

2009-01-10 Thread jQuery Lover
var canI = true; $(window).bind("ajaxComplete", function() { function1(); }); function function1(){ if(canI){ // your function1() code here } }; Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Thu, Jan 8, 2009 at 5:02 PM, goodsanket wrote: > > Hi all > > I am deve

[jQuery] Re: Does anyonw know a jQuery plug-in like Magic Zoom

2009-01-10 Thread jQuery Lover
http://jquery-howto.blogspot.com 2009/1/10 Nguyễn Quốc Vinh : > Wow! What a wonderful! > Do you have twitter? I want to follow you! > Or Yahoo ID or something like that? > > > 2009/1/10 jQuery Lover >> >> Not at all. There are some alternatives. >> >&g

[jQuery] Re: jQuery Storage?

2009-01-10 Thread jQuery Lover
No, it's just the first place to look at :) Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Sat, Jan 10, 2009 at 3:13 PM, aldana wrote: > > > yes, I had a look. But couldn't find anything. Did I overlook something? >

[jQuery] Re: Is there any plugin or script for making a tree view multi-select

2009-01-10 Thread jQuery Lover
You can bind your own click event to list items of tree-view and keep track of selected items. Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Thu, Jan 8, 2009 at 6:52 PM, Pradeep Garikipati wrote: > Hi Friends, > > I am using jQuery tree-view plugin for generating a tree f

[jQuery] Re: Need help with a Jquery toggle bug in my menu's

2009-01-10 Thread jQuery Lover
I suggest you take the other way. We shall not forget about beloved CSS :) Try this: $(document).ready(function(){ $('#nav li') .bind('mouseenter mouseleave', function(){ $(this).toggleClass('menu-on'); }); }); In your CSS file add: #nav div{ display:none;

[jQuery] Re: J QUERY - COM Objectscombination is possible or not !!!!

2009-01-10 Thread jQuery Lover
You can not call your com objects in jQuery. All you can do is request them (it will not parse it in any way). Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Sun, Jan 11, 2009 at 9:58 AM, bharani kumar wrote: > > Hi every one, > > > Am working on the PHP COM Objects , > >

[jQuery] Re: COM Objectscombination is possible or not !!!!

2009-01-10 Thread jQuery Lover
ble to call like > > load('phpfile name '); ? > > > Sorry , i dont jquery, > > > > On Sun, Jan 11, 2009 at 10:38 AM, jQuery Lover > wrote: >> >> You can not call your com objects in jQuery. All you can do is request >> them (it will no

[jQuery] Re: Best way to preload an image to obtain dimensions

2009-01-10 Thread jQuery Lover
It is creating a DOM element () and then binding a load event listener to it. Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Sat, Jan 10, 2009 at 11:37 PM, nabrown78 wrote: > > More specifically, I don't understand these couple of lines: > > img = $('').load(function(){ >

[jQuery] Re: COM Objectscombination is possible or not !!!!

2009-01-10 Thread jQuery Lover
possible to increase the com object performance using >> jquery, Am correct sir ? >> >> >> >> On Sun, Jan 11, 2009 at 10:51 AM, jQuery Lover >> wrote: >>> >>> If you do $.load('yourfile.php') you will get the contents of your &

[jQuery] Re: [validate] Doesnt work with Struts2 generated forms

2009-01-10 Thread jQuery Lover
There is another way too. You can simply quote your class names like this: "department.code":{required:true} Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Sat, Jan 10, 2009 at 7:10 PM, Jörn Zaefferer wrote: > Absolutely! Documented here: > http://docs.jquery.com/Plugins/

[jQuery] Re: z-index issue

2009-01-10 Thread jQuery Lover
I guess this was solved in your later repost. Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Sat, Jan 10, 2009 at 12:05 PM, godzilla74 wrote: > > Hi, > > I'm just learning jQuery and working on stuff for fun, but right now, > I am stumped! I have a hover animation happeni

[jQuery] Re: IMAP PHP is possible or not !!!!

2009-01-11 Thread jQuery Lover
Ok, > > Here another question , this is new question, > > am working in imap php, > > it take too much time for load the inbox mail, > > any idea , to increase the speed, > > > On Sun, Jan 11, 2009 at 11:09 AM, jQuery Lover > wrote: >> >> I don't think

Re: Fw: [jQuery] Re: IMAP PHP is possible or not !!!!

2009-01-12 Thread jQuery Lover
Sorry, what do you mean? - Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Sun, Jan 11, 2009 at 7:01 PM, bharani kumar wrote: > > So , need to increase the speed, i thing my english is very poor, > On Sun, Jan 11, 2009 at 7:30 PM, bharani kumar > wrote: >> >> r

[jQuery] Re: How to grab the filename (src attribute) of an image?

2009-01-12 Thread jQuery Lover
I believe he/she is binding an event with javascript not jquery's event binding. Webmaster you can refer to an element which was clicked with "this" keyword. So to get your image source just use "this.src" property. Example: The same when applying with event listeners... - Read j

[jQuery] Re: Correct me!

2009-01-12 Thread jQuery Lover
User this sintax: (function ($) { // code goes here // Here "$" is a jQuery reference })(jQuery) More detailed description is here: http://jquery-howto.blogspot.com/2008/12/what-heck-is-function-jquery.html - Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On

[jQuery] Re: [treeview] Expand the trees on the image and no link

2009-01-12 Thread jQuery Lover
Did I understand you correctly. Your html code is like this: link And you want to show tree content if user clicks on an image, but follows the link on anchor click? If so you should give you img's an "id" (or class, but id's are faster) and do this: $(document).ready(function(){ // Assume

[jQuery] Re: Form validation, not typical name of input.

2009-01-12 Thread jQuery Lover
You might find this useful (just as a note for the future) http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_select_an_element_that_has_weird_characters_in_its_ID.3F - Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Mon, Jan 12, 2009 at 6:40 PM, grassoal

[jQuery] Re: Posting Repeating Ajax Requests

2009-01-12 Thread jQuery Lover
There is no option in jquery for auto requests in a set period of time. The javascript native setInterval() is a better option don't you think ?! - Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Mon, Jan 12, 2009 at 4:50 PM, Adeel Shahid wrote: > > Is there so

[jQuery] Re: function text() in jquery

2009-01-12 Thread jQuery Lover
This is quite tricky. I could not figure out how to get the text (probably I should go home:) ). If there is no other solution here is a dirty trick: var tmp = $('#testText select'); //remove the select box $('#testText select').remove(); // get the text within the div var txt = $('#testText').t

[jQuery] Re: load script regarding to value of textfield

2009-01-12 Thread jQuery Lover
Try this: $('#searchButton').click(function(){ var url = 'http://gdata.youtube.com/feeds/api/videos?q=' + $('#searchText').val() + '&alt=json-in-script&callback=showMyVideos&max-results=7&format=5">'; // ajax functions to call $.ajax, $.load, $.get, $.post }); - Read jQuery

[jQuery] Re: Dialog - Can't Copy or Select Text

2009-01-12 Thread jQuery Lover
You can set resizable option to true/false (read docs http://docs.jquery.com/UI/Dialog/dialog#options) - Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Mon, Jan 12, 2009 at 1:41 PM, sirmoreno wrote: > > Hi, > I Set up a JQuery Dialog in my site. > But in FF the

[jQuery] Re: select() not working

2009-01-14 Thread jQuery Lover
*type: $jQ("#country_id").val(my_value); - Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Wed, Jan 14, 2009 at 4:24 PM, Beres Botond wrote: > > > It seems you don't know what .select() should be used for. It has > absolutely nothing to do with selecting and opt

[jQuery] Re: syntax selector problem

2009-01-14 Thread jQuery Lover
Alternatively $("div").click(function(){ // all child p's $("p", this).show(); // first child p $("p:first", this).show(); // another way to select first child p $("p:eq(0)", this).show(); // etc. Other ways to select first child... :) }); - Read jQuery HowTo Resource

[jQuery] Re: select() not working

2009-01-14 Thread jQuery Lover
OFFTOP: Ups, I meant *typo not *type (made a typo myself :) ) Sorry. - Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Wed, Jan 14, 2009 at 4:44 PM, Beres Botond wrote: > > Ah yeah, sorry I didn't pay enough attention there :p

[jQuery] Re: jQuery selector question - Having ":" in attribute name

2009-01-14 Thread jQuery Lover
You can not have special character in attribute names. (it's not valid markup) Documentation is saying that your should escape VALUE bit if it contains special characters. - Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Wed, Jan 14, 2009 at 2:11 PM, naden wro

[jQuery] Re: Wiki Error trying to access Tabs, Datepicker on docs.jquery.com

2009-01-14 Thread jQuery Lover
I'm not getting this error. I remember a post that says that the doc's are hosted on different servers. So I guess I'm getting mine from not crushed server. I was quite interested of getting offline/downloadable version of jquery docs. Michael, maybe you find jquery cheatsheets useful: http://ww

[jQuery] Re: Cluetip ajax call returns gibberish (utf-8, greek)

2009-01-14 Thread jQuery Lover
Did you change anything, because it works and shows nicely on my browser. PS. I would suggest not printing all products on the same page (you've got at lease 100 items there). - Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Wed, Jan 14, 2009 at 1:31 PM, ion w

[jQuery] Re: jQuery selector question - Having ":" in attribute name

2009-01-14 Thread jQuery Lover
Slightly :) You can not have special character in your html ATTRIBUTES. You should rename "ajax:id" to something else. Ex: ajax_id or ajaxId. - Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Wed, Jan 14, 2009 at 5:16 PM, naden wrote: > > Your right. The docs

[jQuery] Re: Selector problem with $( "a[ajax\\:id='46']" )

2009-01-14 Thread jQuery Lover
Duplicate. See: http://groups.google.com/group/jquery-en/browse_thread/thread/e47ce13098a16ef/606e652153c624a2#606e652153c624a2 - Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Wed, Jan 14, 2009 at 3:32 PM, naden wrote: > > I'm using jQuery 1.2.6 and having a

[jQuery] Re: Superfish - problem with supersubs plugin

2009-01-14 Thread jQuery Lover
I suggest you use Stu's CSS only dropdown menu: http://www.cssplay.co.uk/menus/final_drop.html - Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Wed, Jan 14, 2009 at 3:11 PM, simon wrote: > > Hi all, > > When I have a lot of nodes in the superfish menu it loads

[jQuery] Re: createElement, get its value

2009-01-14 Thread jQuery Lover
OFFTTOP: The live() function will reduce so much questions on this mailing list :) Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Wed, Jan 14, 2009 at 6:52 AM, Kean wrote: > > using jQuery 1.3 > > This will most probably work. > > $('#grabMe').live('click', function(

[jQuery] Re: Input Element Focus Dancing

2009-01-14 Thread jQuery Lover
You missed the [0]. The focus code must be: $("input[tabindex=1]")[0].focus(); Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Wed, Jan 14, 2009 at 1:10 PM, stephen wrote: > > Hi, > > I have a text input that when it receives the text "RESET" and a tab, > the form sho

[jQuery] Re: Display Loading Image While Ajax Content Loads

2009-01-14 Thread jQuery Lover
Unfortunately it will not. jQuery will know that it is getting some data and that is all. It does not know that it's html, xml or plain text. Image loading is done by browser when you insert the markup into the DOM. So the workaround would be to load your content then add it to the DOM, bind count

[jQuery] Re: Cluetip ajax call returns gibberish (utf-8, greek)

2009-01-14 Thread jQuery Lover
t > called as a.load-local but as '#content div.product_photo a.load- > local. I read somewhere that this increases performace as jquery has > to search less. > Are there any other tips concerning performance. > Thanks a million:) > > On Jan 14, 2:43 pm, "jQuery Lover

[jQuery] Re: keep session alive

2009-01-14 Thread jQuery Lover
You could also use jquery ui tabs for your form sections (http://docs.jquery.com/UI/Tabs). Just add two buttons "proceed" and "previous" to the bottom of each tab window and you have nice looking form :) Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Wed, Jan 14, 2009

[jQuery] Re: wildcard match question

2009-01-14 Thread jQuery Lover
Duplicate: http://groups.google.com/group/jquery-en/browse_thread/thread/a7eb506135169136/b69c5734587c995e#b69c5734587c995e Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Wed, Jan 14, 2009 at 8:30 AM, Davis wrote: > > i want to "grep" a pattern of DIV id with x_div_

[jQuery] Re: jQuery 1.3 Released

2009-01-14 Thread jQuery Lover
Super !!! Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Wed, Jan 14, 2009 at 7:45 PM, John Resig wrote: > > Hey Everyone - > > jQuery 1.3 is out! Full details here: > http://blog.jquery.com/2009/01/14/jquery-13-and-the-jquery-foundation/ > > Happy 3rd Birthday, jQuer

[jQuery] Re: IE Problem with (function($)

2009-01-15 Thread jQuery Lover
Well, it says jQuery is undefined. Have you put your jquery.js file before colorpicker.js ? Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Thu, Jan 15, 2009 at 2:27 PM, Sagar Arya wrote: > Hello, >It doesn't seem to work even after adding the braces. It wo

[jQuery] Re: $("area") not working in IE (sorry if this is a repost)

2009-01-15 Thread jQuery Lover
Did you solve the problem? My FF and IE show the same border and act the same way (except FF has fade in/out effect). I'm using IE7. Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Thu, Jan 15, 2009 at 10:44 AM, Chrisw wrote: > > Let me try to clear this up in FF whe

[jQuery] Re: getJSON - how to retrieve plain text?

2009-01-15 Thread jQuery Lover
Documentation quote: > As of jQuery 1.2, you can load JSON data located on another domain > if you specify a JSONP callback, which can be done like so: > "myurl?callback=?". >jQuery automatically replaces the ? with the correct method name to call, >calling your specified callback. About JSONP

[jQuery] Re: IE Problem with (function($)

2009-01-15 Thread jQuery Lover
zilla and chrome.. but it doesn't turn up in IE. > Cheers ! > Sagar > > On Thu, Jan 15, 2009 at 3:03 PM, jQuery Lover wrote: >> >> Well, it says jQuery is undefined. Have you put your jquery.js file >> before colorpicker.js ? >> >> >> R

[jQuery] Re: Images resize problem with Aajx

2009-01-17 Thread jQuery Lover
If the image is not loaded by the time you call .height() function it returns 0. Since your code is run right after the ajax request is completed browser has no idea what is the size of that images. Tip: You could bind a .load() event to your images and change the size of that particular image on

[jQuery] Re: jQuery 1.3 selector :first; :first-child

2009-01-17 Thread jQuery Lover
Just checked. Works just fine. Maybe something wrong in your html? Could you paste it here? Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Sat, Jan 17, 2009 at 6:26 PM, Charlie22 wrote: > > Hi all, > I have trouble in jQuery 1.3 with :first; :first-child selector. >

[jQuery] Re: [jquery]Need help in Simple Jquery Function I develop for tabs

2009-01-17 Thread jQuery Lover
I have just created html with your content and js. It works just fine. ALL tabs work fine... Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Sat, Jan 17, 2009 at 3:30 PM, Yuvraj Mathur wrote: > > Hi, > I am stuck up with this function to make simple Tabs. It works abso

[jQuery] Re: Hide content until loaded

2009-01-17 Thread jQuery Lover
// fired right away $('tn-hide').css('display', 'none').addClass('tn-loading'); $(document).ready(function() { // fired on DOM ready }); Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Sat, Jan 17, 2009 at 9:53 AM, Christine Masters wrote: > > Hi everyone! > > I'm

[jQuery] Re: jQuery 1.3 - am I missing something or is this a bug?

2009-01-17 Thread jQuery Lover
I have just spent about 5 minutes trying to select elements without "." and also tried to select classes with different capitalization. None could be selected... Works just fine, as it should be!!! I am getting my jquery from: http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js Re

[jQuery] Re: jQuery 1.3 - am I missing something or is this a bug?

2009-01-17 Thread jQuery Lover
WebKit): > > http://dev.jquery.com/ticket/3840 > > Anyway, thanks for the feedback! > > On Jan 17, 8:02 am, jQuery Lover wrote: >> I have just spent about 5 minutes trying to select elements without >> "." and also tried to select classes with differ

[jQuery] Re: Hide content until loaded

2009-01-17 Thread jQuery Lover
Saif, do you have a point or is this spam? MorningZ, I am sure you did not have time to go into much details just like me with my first post :) Christine, MorningZ suggested (IMO) the best way to do it. Just keep in mind those users that do not have js enabled. Add some id or class to your tag

[jQuery] Re: Images resize problem with Aajx

2009-01-17 Thread jQuery Lover
d(function() >> { >> $(this).each(function() >> { >> if($(this).height() > $h) $(this).height($h); >> }); >> >> }); >> >> On 1月17日, 下午9時21分, jQuery Lover wrote: >> >> > If the image is not l

  1   2   3   >