[jQuery] Re: routing event to html map

2009-05-16 Thread jayarjo
Thanks. I've figured it out.The problem is, that the image getting manually triggered click event doesn't route it further to the associated html map (but it should, right? logically thinking). So my solution was to catch the event on image and route it further manually. On May 16, 9:51 pm, info

[jQuery] Re: bubbling of triggered events... ?

2009-05-16 Thread jayarjo
I was trying to catch an event on body tag, for example this doesn't work as expected: $('#one').trigger('click'); although this one works: $('#one').trigge

[jQuery] Re: Slide to fade, can you help me quick? Noob alert!

2009-05-16 Thread mkmanning
Btw, you could also combine both effects: jQuery.fn.slideFadeToggle = function(speed, easing, callback) { return this.animate({opacity: 'toggle', height: 'toggle'}, speed, easing, callback); }; On May 16, 9:49 pm, mkmanning wrote: > You can make your own: > > jQuery.fn.fadeToggle = function(spe

[jQuery] Re: Slide to fade, can you help me quick? Noob alert!

2009-05-16 Thread mkmanning
You can make your own: jQuery.fn.fadeToggle = function(speed, easing, callback) { return this.animate({opacity: 'toggle'}, speed, easing, callback); }; Probably a little beyond you right now, but study it and check out the docs. HTH :) On May 16, 9:50 am, Sobering wrote: > Hey guys, > > I'

[jQuery] Re: Issue with setting click event functions in a for loop

2009-05-16 Thread mkmanning
You might want to doublecheck that when you click the elements you took out of the loop, you really get what you say. Given your example, if you click #page2 it should alert 'page3' also. You don't really need the loop to attach the click and get at the number if it's part of the id: $('div[id^=

[jQuery] problem on fadeIn with flash

2009-05-16 Thread Kenneth Ma
I've tried to use fade in for a div that contain a flash. But there is a split second right before it fadein, it has a sparkling white piece at there. (see kenportfolio.com) Does anyone know how to fix that issue, or even fixable? Remind you to use Konami code to see the fadeIn effect. Code: $(

[jQuery] Issue with setting click event functions in a for loop

2009-05-16 Thread mikfig
I have a webpage that searches a database using a php script to search the database and a jQuery app on the page to retrieve the results and show them. So it works fine, but then I want to add page number buttons to allow the user to go to different "pages" of the results. So I have a DIV with the

[jQuery] Replacing button with but can't copy the onclick stuff

2009-05-16 Thread Qphoria
OK... I have a few input buttons per page: I want to convert them to: http://www.mysite.com/xxx.html";>MyButton How can I convert that with jquery? I try to get the onlick val but jquery or javascript seems to convert onclick to a function. I have this, but it's not quite right, I'm trying to

[jQuery] Repeating userCollapseText

2009-05-16 Thread jorgevima74
Hi! I'm using jquery.expander and I'm getting twice the userCollapseText value ( [collapse all][collapse all]). You know why??? Jorge.

[jQuery] Re: tutorial

2009-05-16 Thread Shawn
Any time you see something like $("a").addClass("test"); You can assume this is JavaScript. In particular, this is JS that makes use of the jQuery library. JavaScript can only appear in certain places - either in an included .js library (via src="someLibrary.js">), or within tags.

[jQuery] Re: bubbling of triggered events... ?

can you show some code that isn't working On May 16, 6:21 am, jayarjo wrote: > "New in jQuery 1.3: > > All triggered events now bubble up the DOM tree. For example if you > trigger an event on a paragraph then it will trigger on that element > first, then on the parent element, and its parent, a

[jQuery] Re: A beginner's problem

Well, looking at your code.. one thing shows up right away, this function var addRow = function(id, name){ $("" + ""+id+"" + ""+name+"" + "" + "" + "").insertAfter($("#atable tbody")) }; To start with, you aren't closing the

[jQuery] A beginner's problem

Hi All, I'm a new comer to this forums and also jQuery. There is this problem that I encountered while practicing with jQuery. jQuery Script $(document).ready(function(){ $("#formDiv :button").click( function(){ var id = $("#userId").val() var name = $("#nam

[jQuery] tutorial

I went through part of the tutorial, and when i got to the section "adding and removing a css class" i got stuck. the question i have is this: do we add the$("a").addClass("test"); part to the html file we created in the tutorial section "The basics"? if so, do we need to delete some of the s

[jQuery] Slide to fade, can you help me quick? Noob alert!

Hey guys, I'm building a site for the company I work at. I'm a pretty experienced web designer and coder (as far as standards compliant html/ css goes), but I'm a complete noob to javascript & jQuery, but I'm trying. I found this snippet of code online: $(document).ready(function(){ $("

[jQuery] Re: routing event to html map

It would be helpful if you posted snippets of your HTML along with the JQuery code. On May 16, 12:26 pm, jayarjo wrote: > I've got several map tags with custom areas defined and corresponding > images with usemap attributes. The problem is that those images are > covered with transparent div. I

[jQuery] Re: Superfish

Check your original page CSS carefully. I have assisted clients with the same problem and found that improper use of the position:relative tag on containing and following div tags can cause this to render incorrectly. On Fri, May 15, 2009 at 3:45 PM, Donald Morgan wrote: > Hello: > > I can't get

[jQuery] Re: Superfish - Multi-Column Dropdown

Thanks for the prompt reply! I took a peek at supersubs.js and my question is this: Is it just a matter of adding an extra div tag between ul's and styling in a manner similar to the link below? http://www.gunlaug.no/tos/moa_41.html I have been working with suckerfish menu's for a year or so an

[jQuery] routing event to html map

I've got several map tags with custom areas defined and corresponding images with usemap attributes. The problem is that those images are covered with transparent div. I manually intercept events on that div and route them to the images underneath it. But maps do not seem to react to routed events

[jQuery] Re: problem with horizontal menu style

fix your overflow: hidden in parent div rui wrote: Sorry! Here it is: www.freequizzes.info/codigo On 15 maio, 18:21, Ethan Mateja wrote: Link? On Fri, May 15, 2009 at 12:00 PM, rui wrote: I've just installed this extension, but i'm having some problems.

[jQuery] Re: ClueTip and ActiveX control...

I wish I had an answer to your question. You already tried the same things I would have tried. Maybe set the z-index of the activex control to -1? Since this isn't really a clueTip issue, per se, I think you might have an easier time troubleshooting with just a static div that you absolut

[jQuery] bubbling of triggered events... ?

"New in jQuery 1.3: All triggered events now bubble up the DOM tree. For example if you trigger an event on a paragraph then it will trigger on that element first, then on the parent element, and its parent, and so on up to the document. The event object will have a .target property equal to the

[jQuery] Re: DOM problem within AJAX call

oops left out 'var'

[jQuery] DOM problem within AJAX call

I have been stuck on this problem for almost 2 days now, consider the following code: '.country-select' occurs twice in the form ( input), $('.branch-row').hide(); $('.country-select').change(function(){ console.log($(this)); country_select = $(this); $.get('get_c

[jQuery] Re: Style Switcher

jQuery UI has class transition effects: Docs: http://docs.jquery.com/UI/Effects http://docs.jquery.com/UI/Effects/ClassTransitions Demos: http://jqueryui.com/demos/addClass/ http://jqueryui.com/demos/removeClass/ http://jqueryui.com/demos/switchClass/ http://jqueryui.com/demos/toggleClass/ - Ric

[jQuery] Re: Superfish - Multi-Column Dropdown

you can put columns into the sub menus fairly easily with supersubs.js okdok wrote: I would like to integrate a multi-column superfish into a Joomla! 1.5.10 production site. Has anyone been able to accomplish something similar?

[jQuery] Re: How to check if jquery is working?

You can also check to see if $ is a function. If the jQuery script loaded properly, that should return true On May 15, 2:16 pm, James wrote: > Try using tools like the Web Development toolbar add-on for Firefox to > debug. Under "Information > View Javascript", you can view all of the > Javascr

[jQuery] Implementing dinamically class alternating in IE7/8 for bgcolor

Hi there, I'm succesfully try this: http://groups.google.com/group/jquery-en/browse_thread/thread/8d85c32c459564fa for copy the last class of a set of two classes in a last TR of an HTML table. The reason that for I'm doing this is for implement dinamically alternate bgcolor color in TR, the chan

[jQuery] jQuery slider noob help

i have seen some pretty cool jquery plugins and apps and what not's out there... here is my idea and i am not sure how to go about this... say we offer "squidgets" and we have 7 types of squidgets with various accessories available. We offer up to 5 gears, up to 5 windows, up to 5 levels of loud

[jQuery] Superfish

Hello: I can't get a second row of superfish menu to display correctly in IE. In IE the top menu displays underneath the second menu, even after fiddling with div z-indexes and .supefish.css. I also tried creating a seperate css file for the second menu, but renaming the classes to say, .sf-gray

[jQuery] same symptoms in jquery.html

I noticed this in jquery.html as well. I've tried it several ways, but I can't get anything that has a script tag in it to come. through.

[jQuery] jQuery Slider Bar

i have seen some pretty cool jquery plugins and apps and what not's out there... here is my idea and i am not sure how to go about this... say we offer "squidgets" and we have 7 types of squidgets with various accessories available. We offer up to 5 gears, up to 5 windows, up to 5 levels of loud

[jQuery] Re: jQuery in Firefox extension is broken in v1.3.2

Hi, I've run into this issue as well. I made an example extension to illustrate what happens: http://gist.github.com/112562 The gist has instructions for how to set everything up... basically you download the extension and add a file to your firefox profile with the path to the extension dire

[jQuery] Dynamically determine AJAX callback content type?

Hi, Is there a way when doing an ajax call to dynamically determine the content type coming back (html vs xml)? Depending on certain conditions on the server I might want to return either xml or a chunk of html. I am curious how I would test and then process one type over another. Is there a way

[jQuery] [validate] email and tld

the current regexp for validation of email adresses isn't really satisfying: emails with domainnames and tld containing only 1char are passing the check as valid eg. t...@t.t pls change the regexp to cover this thx in advance

[jQuery] how to get a row of a table sorted with quicksearch plugin in a text box

Hi, first sorry for my english, but I'm speak spanish. my problem is that I don't know how get a data of a row and passing the result to a textbox located in my form for example : textbox.Text=(result); If somebody can help me.. thanks p.d: I use this jquery plug-in http://rikrikrik.com/jquery/q

[jQuery] Dynamically determine AJAX callback content type?

Hi, Is there a way when doing an ajax call to dynamically determine the content type coming back (html vs xml)? Depending on certain conditions on the server I might want to return either xml or a chunk of html. I am curious how I would test and then process one type over another. Is there a way

[jQuery] Re: jQuery in Firefox extension is broken in v1.3.2

Oh, as an FYI I just noticed someone has filed a ticket for this issue: http://dev.jquery.com/ticket/4443

[jQuery] Loading Images Using Jquery ??

Hi Everyone , Now a days Lot of site having lot of background pictures , so How to loading images quickly .. Can u say any way ? Thanks

[jQuery] Newbie load content into a div

Hello all, I am attempting to load content into a DIV which runs a function in a php script which i have working just fine, but i was wondering how do i set up the loading spinner fade effects? Basic idea is click on the link, the link fades away to saving spinner, and when saved the spinner goe

[jQuery] Style Switcher

Hi, I am just wondering if anyone knows if it is possible to fade the transition between switching one CSS to another? I am currently using jquery style switcher to get the transition. I am also using prototype/ scriptaculous to make div fields appear and fade in a duration of 0.5, and would li

[jQuery] Newbie load content into a div

Hello all, I am attempting to load content into a DIV which runs a function in a php script which i have working just fine, but i was wondering how do i set up the loading spinner fade effects? Basic idea is click on the link, the link fades away to saving spinner, and when saved the spinner goe

[jQuery] Superfish - Multi-Column Dropdown

I would like to integrate a multi-column superfish into a Joomla! 1.5.10 production site. Has anyone been able to accomplish something similar?

[jQuery] Re: what plugin ca do this

You don't actually /need/ a plugin to do this - browser support for the CSS :hover psuedo class is 100% (IE supports it all the way back to pre-5.5 days). Unless, of course, you're talking about something like what's under "More Top Stories." In which case you also don't really need a plugin

[jQuery] what plugin ca do this

HI http://www.bbc.co.uk/ I am looking for a module that can do image and title bars mouseover, so hver over the linek and the phot changes. I remember seeing it womewehre just dont know what its called anymore Armand

[jQuery] Re: help positioning color picker

Either use absolute positioning for the color picker to take it out of the normal flow of the document and set it's left margin and top values to place it in the desired position and/or ensure that the "font" div css clear value is set to 'none'. On May 15, 4:52 pm, skunkwerk wrote: > Hi, >    i

[jQuery] Re: tablesorter with multiple tables problem

Sounds like a css issue. Have you set both tables to 'clear: both;' or 'display: block;'? On May 15, 9:57 am, mlotfi wrote: > Hi, > > I am trying to use the plugin tablesorter that has a pager, for one > table in a page it works fine, but when I put two tables, the pager > links [next, previous,

[jQuery] Re: Closing jqModal from inside of content loaded with AJAX

Hi, I've put the sample code here: http://www.warden.pl/jq/test1/ Any help appreciated cause I'm out of ideas... :/ After clicking "Reload" button, the same ajax.php is loaded, but the "close me" doesn't work any more. Nor the "test me" which is invoked as you have written earlier. THanks!

[jQuery] Re: problem with horizontal menu style

Sorry! Here it is: www.freequizzes.info/codigo On 15 maio, 18:21, Ethan Mateja wrote: > Link? > > On Fri, May 15, 2009 at 12:00 PM, rui wrote: > > > I've just installed this extension, but i'm having some problems. > > > Need to implement a horizontal menu style in user4, or user 3 > > positio

[jQuery] Re: Closing jqModal from inside of content loaded with AJAX

Hi, Actually this doesn't work for me, not even in a very basic example from jquery modal page. Anyway, I was not specific enough. In your scenario it is enough to have Close me inside of the AJAX loaded page. The problem I have is that I have a form inside the ajax page, that is using ajaxFo