[jQuery] Re: how can i make in joomla 1.5 - superfish expand or close on click

2009-07-12 Thread ironwiller
HAS ANYONE DONE WHAT I ASK? is this SO difficult On Jul 5, 12:52 pm, ironwiller orfn...@googlemail.com wrote: hi, i need SPECIFIC guide how to make the superfish vertical menu toexpandor close on click and not on hover. has anyone done it? please explain the steps you did.. ty in

[jQuery] Getting the current page HTML URL via JQuery variable

2009-07-12 Thread Alexandru Adrian Dinulescu
I am trying to get the current page HTML URL (the one at the top in the address box) and place it in a variable. Any help ? --- Alexandru Dinulescu Web Developer (X)HTML/CSS Specialist Expert Guarantee Certified Developer XHTML:

[jQuery] Re: jCarousel Appears Vertical then Horizontal

2009-07-12 Thread Sparky12
Hi Jonathan, Thanks so much for the response. Yeah, I tried this and it partially solves the problem (no probs in safari) - but it seems that IE and Firefox still have the vertical rendering issue? Do you know anything else I could try ? Thanks

[jQuery] Form with Ajax Load Content combined with onClick

2009-07-12 Thread Erik
Is it possible to combine the following? form action=https://www.expressdb.com/edp/? AppKey=3905B91021BD0A1490189D249874B317AAD9067B method=post enctype=multipart/form-data

[jQuery] Re: Form with Ajax Load Content combined with onClick

2009-07-12 Thread András Csányi
2009/7/12 Erik eriks...@mac.com: Is it possible to combine the following? form action=https://www.expressdb.com/edp/? AppKey=3905B91021BD0A1490189D249874B317AAD9067B method=post enctype=multipart/form-data I suggest you, try it! :) -- - - -- Csanyi Andras -- http://sayusi.hu -- Sayusi

[jQuery] Re: Superfish - Align sub menus to top

2009-07-12 Thread Charlie
Following will return the index of li you are hovering over within it's UL onBeforeShow: function() { var parentIndex= $(this).parent("li").parent("ul").find("li").index($(this).parent("li")); // use parentIndex to calculate offset for (this)- per API *this* is the UL about

[jQuery] Re: Getting the current page HTML URL via JQuery variable

2009-07-12 Thread Charlie
use native _javascript_ var url =""> alert(url); Alexandru Adrian Dinulescu wrote: I am trying to get the current page HTML URL (the one at the top in the address box) and place it in a variable. Any help ? --- Alexandru Dinulescu Web Developer (X)HTML/CSS Specialist

[jQuery] Re: Form with Ajax Load Content combined with onClick

2009-07-12 Thread Erik
I already did and no luck :-( Any suggestions? Erik On Jul 12, 8:14 am, András Csányi sayusi.a...@gmail.com wrote: 2009/7/12 Erik eriks...@mac.com: Is it possible to combine the following? form action=https://www.expressdb.com/edp/? AppKey=3905B91021BD0A1490189D249874B317AAD9067B

[jQuery] Re: Jquery index question

2009-07-12 Thread Charlie
active class is on the a tag not li so example doesn't work try this: var arr = [ ]; $(".active").each(function() { indexLi=$(this).parents(".buttons").children("li").index($(this).parent("li")); arr.push(indexLi); }); alert(arr); Dave Ward wrote: I don't

[jQuery] Re: Form with Ajax Load Content combined with onClick

2009-07-12 Thread András Csányi
2009/7/12 Erik eriks...@mac.com: I already did and no luck :-( Any suggestions? there is another two way: - change the method to get - use hidden fields to send special data These are good for you? -- - - -- Csanyi Andras -- http://sayusi.hu -- Sayusi Ando -- Bízzál Istenben és tartsd

[jQuery] install Supersubs in Superfish. How?

2009-07-12 Thread Mike
Hello, Sorry, I'm lost. I installed Superfish, use the menus, everything is ok. Great coding! Now, how can Supersubs be enabled in Joomla? I cannot find a tweak in the Superfish backend module? Does any file have to be edited by hand? Any tip is welcome! Greetings, Mike

[jQuery] Can this plugin be structured better?

2009-07-12 Thread Harvey
Hey, I'm in the process of developing a new plugin but the way I have structured the codes doesn't seem quite right to me so I'm hoping someone might be able to offer a better way to do it. The plugin itself has different behaviour if called on different types of elements (images, divs etc)

[jQuery] Re: Superfish - Align sub menus to top

2009-07-12 Thread allenm541
Use .length() For example: var length = $('#something ul li').length(); On Jul 11, 9:25 pm, galilee99 he...@nickjacobs.net.nz wrote: Hi, any tips on how to count the number of li's?? On Jul 8, 11:51 am, Charlie charlie...@gmail.com wrote: you can use onBeforeShow to insert function to

[jQuery] Best way to structure this plugin

2009-07-12 Thread Harvey
Hey, I'm in the process of developing a new plugin but the way I have structured the codes doesn't seem quite right to me so I'm hoping someone might be able to offer a better way to do it. The plugin itself has different behaviour if called on different types of elements (images, divs etc) it

[jQuery] Re: Superfish conflicht with Header Image for Joomla 1.5

2009-07-12 Thread deboni
The superfish menu is being used here. http://www2.sdnag.com/ Meanwhile I found at least one error in the superfish.js. This script is not using the no-conflict function. The superfish menu in itself is a great module but when using it in Joomla 1.5, it causes a lot of problems and there is no

[jQuery] Re: Getting the current page HTML URL via JQuery variable

2009-07-12 Thread Zac Witte
you don't need jquery - just window.location alert(window.location); On Jul 12, 4:50 am, Alexandru Adrian Dinulescu alex.d.a...@gmail.com wrote: I am trying to get the current page HTML URL (the one at the top in the address box) and place it in a variable. Any help ? ---

[jQuery] Re: Ajax ,dataType and success

2009-07-12 Thread Vjacheslav Trushkin
There is a typo in your code: data:act=buy, Closing quote is missing. On Jul 11, 10:39 pm, raoh hiy...@gmail.com wrote: this is my code, a normal code as the examples on jquery.com ajax.php can only echo OK1, OK2 or KO, so I wonder why none of the if in the success function work ? but the

[jQuery] thickbox+tablesorter

2009-07-12 Thread marksimon
Hi. I have a page that utilizes tablesorter on a table. Works fine. I have a page that loads the tablesorter page via thickbox. The page loads fine inside the thickbox, but the tablesorter functionality is not working. Any ideas on this issue? Thanks!

[jQuery] Re: question about identifying what should be updated in an an ajax post

2009-07-12 Thread marksimon
You could try using a hidden field to hold the id. Then you could look for that field. $(document).ready(function() { $('.favorite').click(function(){ var tid=$('.hiddenfield').text(); alert(tid); }); }); pa href=# class=favoritesome linkspan

[jQuery] validate plugin only checking first required input

2009-07-12 Thread Zac Witte
the validate plugin at the form at the below URL is validating as true as long as the first required input is valid even though subsequent required fields are invalid. It even gives the invalid class to all fields correctly but the submitHandler function is triggered anyway. I have an alert

[jQuery] JQuery Editor

2009-07-12 Thread nodarin...@mail.ru
Well.. I've an idea.. what about: make editor for JQuery... like an Flash. Flash + ActionScript = HTML + JQuery.. or something like this :D

[jQuery] I need an opinion

2009-07-12 Thread yo2lux
I have a jQuery code: $(document).ready(function() { var xPos = 200; var yPos = 50; var links = $('.buttons a'); links.each(function() { var index = links.index(this); if ($(this).hasClass('active')) { $(this).css('backgroundPosition', -index * xPos + 'px ' + -yPos +

[jQuery] Re: JQuery Editor

2009-07-12 Thread donb
Since jQuery is simply another layer of code on top of javascript, and the highly-capable FCK editor is often as simple as adding one line of script to activate it, I see no advantage to this. I would never want a flash-based editor myself. On Jul 12, 4:21 am, nodarin...@mail.ru

[jQuery] Re: how to detect if user input is a chinese character?

2009-07-12 Thread 刘永杰
this is not jquery function. 2009/7/12 Plant More Tree markth...@gmail.com Hi guys, I got a textarea and I need to detect instantly if user input is a chinese character or not. IS there anyway jquery can help this? Thanks Regards, Mark -- View this message in context:

[jQuery] Re: Can this plugin be structured better?

2009-07-12 Thread 刘永杰
why send twice the same email? 2009/7/12 Harvey scottandrewhar...@gmail.com Hey, I'm in the process of developing a new plugin but the way I have structured the codes doesn't seem quite right to me so I'm hoping someone might be able to offer a better way to do it. The plugin itself has

[jQuery] Re: jCarousel Appears Vertical then Horizontal

2009-07-12 Thread MorningZ
How about using display: none on the ul list and then removing that CSS property when jCarousel is done doing it's thing? There is going to be time in between the HTML being generated and getting to the script to set it up On Jul 12, 6:28 am, Sparky12 timo...@gmail.com wrote: Hi Jonathan,

[jQuery] Re: install Supersubs in Superfish. How?

2009-07-12 Thread Charlie
have you tried the inputs in :VARIABLE WIDTH SUB-MENUS (BETA) ? It applies a sizing script to superfish but I have no experience with it Short of that working might have to manually install superfish in template to use supersubs Mike wrote: Hello, Sorry, I'm lost. I installed

[jQuery] Re: Superfish conflicht with Header Image for Joomla 1.5

2009-07-12 Thread Charlie
jquery plugins aren't written for specific use in Joomla or any other CMS, web app etc that uses multiple libraries. It's up to user to sort those issues out. You do have noConflict here! http://www2.sdnag.com/plugins/system/sc_jquery/jquery.no.conflict.js. The script is working fine. You

[jQuery] Re: Form with Ajax Load Content combined with onClick

2009-07-12 Thread Erik
A little more detail and example would be great. Erik On Jul 12, 9:08 am, András Csányi sayusi.a...@gmail.com wrote: 2009/7/12 Erik eriks...@mac.com: I already did and no luck :-( Any suggestions? there is another two way: - change the method to get - use hidden fields to send

[jQuery] Re: Form with Ajax Load Content combined with onClick

2009-07-12 Thread András Csányi
2009/7/12 Erik eriks...@mac.com: A little more detail and example would be great. First: But, I'm not sure this is working fine. form action=https://www.expressdb.com/edp/? AppKey=3905B91021BD0A1490189D249874B317AAD9067B method=GET enctype=multipart/form-data Secondly: form

[jQuery] send table with input elements to server

2009-07-12 Thread david
Hi all, I have a table of input elements which i create through a javascript widget. When i press submit i want to make an action and a part of the output should be the same unchanged tables with the values in it. I don't know how to accomplish it. At first i used the html() function, but it

[jQuery] Dynamic Links

2009-07-12 Thread mnaveed
Hi, I am new to JQuery, can anyone help how to generate dynamic links. I have a loop which generate some links and for each, an onclick event is attached, calling a javascript method with some arguments. some thing like this, for(x = 0; xitems.length; x++) a href=#

[jQuery] Re: how to detect if user input is a chinese character?

2009-07-12 Thread Plant More Tree
i am jus asking if there's anyway we can check if user input is chinese character. 刘永杰 wrote: this is not jquery function. 2009/7/12 Plant More Tree markth...@gmail.com Hi guys, I got a textarea and I need to detect instantly if user input is a chinese character or not. IS

[jQuery] Seeking a plugin that .... emulates a selectbox but allows for more styling

2009-07-12 Thread sso
I'm looking for a selectbox plugin. Preferably something that doesn't actually use the select element. Suggestions?

[jQuery] Re: Dynamic Links

2009-07-12 Thread brian
On Sun, Jul 12, 2009 at 12:46 PM, mnaveedmnaveed...@gmail.com wrote: Hi, I am new to JQuery, can anyone help how to generate dynamic links. I have a loop which generate some links and for each, an onclick event is attached, calling a javascript method with some arguments. some thing like

[jQuery] Re: question about identifying what should be updated in an an ajax post

2009-07-12 Thread brian
On Sat, Jul 11, 2009 at 8:24 PM, jtj...@arclocal.com wrote: I have only used jQuery for fairly simple things and am a little stumped on how best to achieve the following. I have a list of items (similar to the three items at the bottom) and I want a user to be able to assign it as a

[jQuery] Re: Seeking a plugin that .... emulates a selectbox but allows for more styling

2009-07-12 Thread MorningZ
Found links like this http://www.headcircus.com/uiguy/selectboxfactory2.1/selectboxfactory.html by Googling select box with style http://www.google.com/search?q=jquery+select+with+style On Jul 12, 1:00 pm, sso strongsilent...@gmail.com wrote: I'm looking for a selectbox plugin.  Preferably

[jQuery] Re: Form with Ajax Load Content combined with onClick

2009-07-12 Thread Erik
Still can't get this form to post submit and load a confirmation page via ajax. form action=https://www.expressdb.com/edp/? AppKey=3905B91021BD0A1490189D249874B317AAD9067B method=post enctype=multipart/form-data input id=send1 class=field3 src=/images/send1.png style=cursor: pointer

[jQuery] Galleria plugin - can it degrade to thumbnails instead of full-sized images?

2009-07-12 Thread oswaldcobblepot
Hi everyone, I've been doing some work with jQuery photo galleries and have found myself running up against this problem again and again (disclaimer: I'm totally not a javascript expert): My requirement is to build a gallery/slideshow that can potentially acommodate hundreds of images at a

[jQuery] Re: send table with input elements to server

2009-07-12 Thread Charlie
this isn't exactly clear but sounds like you are taking input values and want them as straight text in a td of the new table? how you go about this will depend a lot on the size and structure you have for markup as well as how much of original goes into new table. Could be as simple as

[jQuery] Re: send table with input elements to server

2009-07-12 Thread Charlie
After rereading this, if tables are same size and same config; the following clones the existing table and strips out all inputs inserting the values as text in new table $("#originalTable").clone(function () { $("#originalTable").clone().appendTo("body").attr("id","newTable");

[jQuery] Re: send table with input elements to server

2009-07-12 Thread Charlie
I think I confused myself and not sure what objective isoh well, was good practice Charlie wrote: After rereading this, if tables are same size and same config; the following clones the existing table and strips out all inputs inserting the values as text in new table

[jQuery] Re: Jquery index question

2009-07-12 Thread Dave Ward
You're right. The conditional can be modified more simply to $(item).children (a).hasClass(active). On Jul 12, 9:02 am, Charlie charlie...@gmail.com wrote: active class is on the a tag not li so example doesn't work try this:                var arr = [ ];            

[jQuery] Re: validate plugin only checking first required input

2009-07-12 Thread Mean Mike
you might be running into problems because you have spans with the class required which is one used by jquery.validate try giving those spans a slightly different class and maybe that will help Mean Mike On Jul 12, 6:12 am, Zac Witte zacwi...@gmail.com wrote: the validate plugin at the form at

[jQuery] Re: Dialog: set focus after 'show' animation

2009-07-12 Thread dnagir
Hi Richard, I added the bug report (4675). Sorry for posting UI question here. Cheers, Dmitriy.

[jQuery] Re: Determine content type in $.post callback

2009-07-12 Thread dnagir
Anybody? How can I check the ContentType header in the $.post callback?

[jQuery] Auto-submitting an AJAX Form

2009-07-12 Thread phused
Does anyone have some references or samples on auto-submitting forms using AJAX and the form plugin? I currently have an accessible UI slider which has a select field, as you move the slider the select field changes to the according option. What I'm trying to achieve is whenever the select field

[jQuery] Re: Can't drag items outside Carousel

2009-07-12 Thread menslow
Not sure if you found a solution to this or not, but I'm also having you exact problem. It's due to the overflow: hidden property on the carousel wrapper. I'm don't have a solution yet, but I'm working on it and will post if I figure out a solution. ~Michael On Jun 13, 11:01 am, VaN

[jQuery] Struts2, JQuery and JSON result to create a dynamic ajax website

2009-07-12 Thread GF
Hello all, i wrote a simple guide that explains how to use together Struts2 and JQuery to create dynamic content with Ajax and JSON. http://www.zulutown.com/blog/2009/07/12/ajax-dynamic-content-with-struts2-jquery-and-json-plugin/ I hope someone can appreciate it Thank You

[jQuery] Re: how to detect if user input is a chinese character?

2009-07-12 Thread Steven Yang
hi are you checking for Chinese specifically? or just non-English? I remember seeing a solution for non-English somewhere. Someone told me you can check the first byte or something for Chinese. not to be mean or anything But I think its really best if you google it more will faster than sitting

[jQuery] Re: Determine content type in $.post callback

2009-07-12 Thread RobG
On Jul 13, 9:29 am, dnagir dna...@gmail.com wrote: Anybody? How can I check the ContentType header in the $.post callback? Try the W3C XMLHttpRequest Object specification: URL: http://www.w3.org/TR/2006/WD-XMLHttpRequest-20060405/#dfn-getresponseheader -- Rob

[jQuery] Re: jQuery ajax - can i know if the server is alive ?

2009-07-12 Thread Veeru
anybody?

[jQuery] document.ready - how to make sure all js is loaded?

2009-07-12 Thread Veeru
Hi there, I was wondering if there is something like document.ready; to trigger after all the DOM+Js is loaded. document.ready is triggered when the DOM is ready, but the js might be still loading, i would like to trigger an event only after DOM along with all the JS is loaded. Any way to do

[jQuery] document.ready - how to make sure all js is loaded?

2009-07-12 Thread Veeru
Hi there, I was wondering if there is something like document.ready; to trigger after all the DOM+Js is loaded. document.ready is triggered when the DOM is ready, but the js might be still loading, i would like to trigger an event only after DOM along with all the JS is loaded. Any way to do

[jQuery] Re: Thick box Parent window

2009-07-12 Thread bharathbhooshan ambati
ok thanks On Fri, Jul 10, 2009 at 6:29 PM, Rick Faircloth r...@whitestonemedia.comwrote: Hi, jazz... I'm not sure how best to fit this into your code, but you could try this: script $(document).ready(function() { $('#redirect').click(function() {

[jQuery] Re: Thick box Parent window

2009-07-12 Thread bharathbhooshan ambati
here is my code: a href='#' onclick=self.parent.tb_remove(); self.parent.location = ' http://www.google.com/' ;here/a On Mon, Jul 13, 2009 at 10:02 AM, bharathbhooshan ambati bharathbhooshan.amb...@gmail.com wrote: ok thanks On Fri, Jul 10, 2009 at 6:29 PM, Rick Faircloth

[jQuery] Re: document.ready - how to make sure all js is loaded?

2009-07-12 Thread Michael Geary
If you load your JavaScript with script tags - either inline scripts or external file references - there is nothing to wait for. Simply put your code after all other script tags that you rely on. For example: script type=text/javascript src=jquery.js /script ... script

[jQuery] Re: jQuery ajax - can i know if the server is alive ?

2009-07-12 Thread Steven Yang
I dont believe there is a way to tell whether the server is alive or not before you try to connect to it. if you listen on the jQuery Ajax event ajaxError you will be able to get the HttpStatus from the request object. I am not sure which code means the server is down, but you will be able to

[jQuery] Re: document.ready - how to make sure all js is loaded?

2009-07-12 Thread Veeru
Hi Michael Yes i am using the regular script tags. I understand what you meant. But considering a situation like this script type=text/javascript src=myevents.js $(document).ready(function(){ .. . }) lets say myevents is still being loaded and document.ready has already fired. that

[jQuery] return false; on links only working on first click in IE

2009-07-12 Thread pedalpete
I've been trying to make my very ajaxy site more SEO friendly, lots of the returned actions from ajax can be retrieved as a full page, so it's just a matter of exposing the links. Up until now I've had 'span' tags which I have now changed to 'a href' so that the search engines will follow them.

[jQuery] Re: document.ready - how to make sure all js is loaded?

2009-07-12 Thread Steven Yang
i think its best if you do script type=text/javascript src=myevents.js/script script $(document).ready(function(){ .. . }) /script instead of writing your code inside the myevent.js script tag

[jQuery] Re: document.ready - how to make sure all js is loaded?

2009-07-12 Thread Veeru
hi steven i was just typing a sample code. That's what i am doing, 2 separate script tags script type=text/javascript src=myevents.js script $(document).ready(function(){ .. . }); /script