[jQuery] Cycle plugin creating links

2009-08-29 Thread quez
Hi all, I would like to link each image in the cycle to a specific page. Any ideas on how to do this? I got it to cycle and everything is working fine. I just want it so that the actual image is clickable. Thank you.

[jQuery] jquery.Flash plugin

2009-08-29 Thread unsustainableDesign
I was looking at the jquery.flash plugin and it looks like what I need to get the job done but I am not able to figure out how to do it. Here is some sample code from the plugin site $('.custom').flash(null, null, function(htmlOptions){ // do stuff }); Below is the code I tried using

[jQuery] Re: search list in a div for attribute value

2009-08-29 Thread Peter Edwards
Try this - it may work for you: $(function(){ var srch = [ foo, bar ] ; // make a Regex from the search terms var attr_regex = '('+srch.join('|')+')'; $('#gallery li').each(function(){ if ($(this).attr(title).match(attr_regex)) { $(this).css({background:'#f00'}); } }); });

[jQuery] Re: Cycle plugin creating links

2009-08-29 Thread Charlie
Several methods: Simplest is put an a tag around each image in your markup. Alternate method- create array of the url's and bind a click handler to images. Index the images to the url array and the window function you want such as open() for a new tab. Will need to modify cursor in CSS for

[jQuery] Re: slide one div out left while sliding one in right

2009-08-29 Thread W. Young
A good example of the behavior I want is on the firefox addons home page https://addons.mozilla.org/en-US/firefox/?application=firefox At the top, there is a pane for viewing the content of three items at a time with a back and forward button to scroll through. I need a similar way to slide one

[jQuery] Re: slide one div out left while sliding one in right

2009-08-29 Thread Charlie
there are lots of plugins to do this look for carousel or scroll in a plugin search jCarousel and scrollable are 2 excellent ones that come to mind as well as scrollto W. Young wrote: A good example of the behavior I want is on the firefox addons home page

[jQuery] ajax request form in one page, is it possible ?

2009-08-29 Thread Danny
Hello, I want to build a form that work on one page only, to subtract the PHP pages for getting the data from all my web forms, I tried to pass the parameters to the same page but it dosent work :( i'll be glad if you can direct me to the solution Thanks

[jQuery] Re: slide one div out left while sliding one in right

2009-08-29 Thread Anoop kumar V
You can also try to use animate which is part of jquery core. Look up some examples on the jquery website, there are quite simple. -Anoop On 8/29/09, Charlie charlie...@gmail.com wrote: there are lots of plugins to do this look for carousel or scroll in a plugin search jCarousel and

[jQuery] $.ajax() issue

2009-08-29 Thread g...@iec
Hi all, I have an issue. I am submitting XML data using ajax call which updates data on server. It works fine in firefox but gave 404 error in IE. The ajax call which i am using is mentioned below : var url = '/' + serviceContext + '/services/content/update/' + structid;

[jQuery] Re: $.ajax() issue

2009-08-29 Thread MorningZ
Have you tried an HTTP monitor like Fiddler (http:// www.getfiddler.com) to see what is going on when the $.ajax request starts? That will help diagnose for sure On Aug 29, 9:46 am, g...@iec abhi.pur...@gmail.com wrote: Hi all, I have an issue. I am submitting XML data using ajax call which

[jQuery] Re: $.ajax() issue

2009-08-29 Thread g...@iec
Is there any other way to find out the root cause apart from these. On Aug 29, 6:55 pm, MorningZ morni...@gmail.com wrote: Have you tried an HTTP monitor like Fiddler (http://www.getfiddler.com) to see what is going on when the $.ajax request starts? That will help diagnose for sure On

[jQuery] Re: $.ajax() issue

2009-08-29 Thread MorningZ
I do not understand did you not ask in the original post: So i need help to figure out whether this is client-side or server- side issue Using Fiddler will tell you if it's a client side or server side issue because it will show you EXACTLY what the browser is trying to do something

[jQuery] Re: Is there a 'dropdown button' plugin?

2009-08-29 Thread donb
I ended up combining the standard ui button with a textbox and a 'search' icon a all in a row, styling it so as to emulate the Firefox appearance (more or less) http://www.gotodon.net/dropbutton/selectbutton.jpg The ui button made for a nicer appearance, as I needed to style other dropdown

[jQuery] JqModal

2009-08-29 Thread Steffan A. Cline
Using the very basic jqModal example, isn't it supposed to auto size and auto center the modal on the page? I placed a table that was wider than the modal's default settings and it's off the page and does not create scroll bars on the page to see the hidden section of the modal. The default

[jQuery] tool tip / ajax / image map

2009-08-29 Thread webguy262
Details below, but in a nutshell, here's what I need: Tooltip with text and image... works with an image map... works when the page is ajaxed... allows the hot spot in turn to be ajax in content to another div. Here's the (beta) site that shows what I want, but which only works for one image

[jQuery] Re: I really hope this isn't a dumb syntax error

2009-08-29 Thread n4rc1ssus
Thanks to both of you for trying to help me. I had a little bit better luck trying to nest accordions within a list instead of using treeview because it was simply not working for me. Though I'm stuck in a few places with accordion, at least it's working to some degree. On Aug 17, 1:55 pm,

[jQuery] Re: tool tip / ajax / image map

2009-08-29 Thread Scott Sauyet
Even had this approach worked, I am not sure how I would have preserved the ajax-ability of the hot spot links.  The ajaxify jquery needs class=ajaxify, while the tooltip needs class=screenshot. This isn't an issue; you can always have a space-separated list of class names:

[jQuery] Hover only innermost matching element

2009-08-29 Thread Scott Sauyet
I need to highlight and work with the innermost of several hovered items. My markup is for now nested lists, although that may change, and if the user hovers over one several layers deep, only that one should be highlighted. I have code that is working for my initial case, with a demo here:

[jQuery] Re: tool tip / ajax / image map

2009-08-29 Thread webguy262
Thanks, Scott, for the reply. The space separated class info is great! Actually, the hot spots in the beta do carry the ajaxify behavior, loading their links in the right hand column. And I just discovered they work even if the page that holds the image and the image map does not reference

[jQuery] jquery validate

2009-08-29 Thread James W
Hello, I am using jquery validate on one of my pages with a submit handler, Can anyone let me know how I can specifiy which layer should contain the error messages?. Here is the code I want to change: $(document).ready(function(){ jQuery(function() { var v =

[jQuery] Re: ajax request form in one page, is it possible ?

2009-08-29 Thread Danny
I understand that ive to use - X-Requested-With then I did search a bit about that and I found this code, $.ajaxSetup({ headers: {X-Requested-With:Ajax} }); but I still don't understand how should I send the parameters to the same file and get them in the server side (PHP) I hot to

[jQuery] JSON data manipulation

2009-08-29 Thread Depechie
Hello guys. My question has actually more to do with jqPlot ( graph library for jQuery ), but I'm still asking it here, because it concerns json data manipulation through jquery. I'm not a javascript nor JQuery programmer, I'm just in a learning process. So my question. To plot something

[jQuery] Re: JqModal

2009-08-29 Thread lyubov
Stephan,For positioning adjust margin-left to be half of your new width. For example if you set your width to 800px, then the entry for margin-left should be: magrin-left:-400px; Regards, Lyubov On Sat, Aug 29, 2009 at 12:11 PM, Steffan A. Cline stef...@hldns.comwrote: Using the very basic

[jQuery] Re: Too much recursion

2009-08-29 Thread AmitTheKumar
I think you should try just passing the function name as the second parameter, instead of adding () after it. () will cause the function to execute right away. So: function visibleFadeIn() { jQuery('#visible').fadeIn(2000, visibleFadeOut); } function visibleFadeOut() {

[jQuery] [Form Plugin] - Bug in version 2.28 at line 61 (lack semicolon)

2009-08-29 Thread Pablo-AR
Hi. Today I was trying compress the jQuery Form Plugin V 2.28 (http:// malsup.com/jquery/form/) with JavaScriptPacker (http:// dean.edwards.name/packer/) but I get an error in Firefox 3.5: missing ; before statement. I revised the code and I can see that lack the semicolon at end of line 61:

[jQuery] Re: event-binding to dynamically created elements... (JSP vs JS problem......)

2009-08-29 Thread kali
yes I know they are two different things, I do know both JSP and JavaScript, so I do know the difference; I would like to know why what works in JSP doesn't work in JavaScript.. again: this works in JSP: % for (int i = 1; i 5; i++) { % $('#image%=i%').bind('mouseover',function(event) {

[jQuery] Re: Form got submitted when I hit enter on select the value in autocomplete box

2009-08-29 Thread pankaj sharma
Any help on this? On Mon, Aug 24, 2009 at 11:14 PM, pankaj sharmapankaj1...@gmail.com wrote: Hi  All, In my application,there are several autocomplte field is available. When I type pank and then it list out the several matching in the autocomplete field and select one and then hit the

[jQuery] IE6 script error? Superfish

2009-08-29 Thread Bryan D.
Hi, I am having a hard time getting the dropdown nav under about us to work in IE6 on this site: http://www.mccauleycelin.com/index.php It seems to work it every browser except IE6 (big shocker). Every time I load the page in IE6, I get a script error that points to the initialization script in

[jQuery] Cycle slide #1

2009-08-29 Thread Joseph
Hi everyone, This question probably is easy, probably is not :). Is there a way to apply an entry effect to Slideshow? Like the first image in the index make it zoom and on page load the first image would appear with zoom before everything? Thanks!

[jQuery] Re: IE6 script error? Superfish

2009-08-29 Thread Charlie
path to superfish.js isn't working, opens an html page. Can tell on main page, no delay on hiding of sub menus. Right now all you have is a css menu with no script Bryan D. wrote: Hi, I am having a hard time getting the dropdown nav under "about us" to work in IE6 on this site:

[jQuery] Re: IE6 script error? Superfish

2009-08-29 Thread Bryan D.
Yep. That was it, I didn't have the .js files pathed correctly. Duh. thanks for the help. On Aug 29, 6:21 pm, Charlie charlie...@gmail.com wrote: path to superfish.js isn't working, opens an html page. Can tell on main page, no delay on hiding of sub menus. Right now all you have is a css

[jQuery] Re: Cycle plugin creating links

2009-08-29 Thread Mike Alsup
I would like to link each image in the cycle to a specific page. Any ideas on how to do this? I got it to cycle and everything is working fine. I just want it so that the actual image is clickable. Here's an example: http://www.malsup.com/jquery/cycle/anchor.html

[jQuery] JSON error: missing } after property list

2009-08-29 Thread twitchy
Why does this JSON generate the error missing } after property list in Firebug? What's missing? {newitem: div id='iid_27' class='round-block' div class='left' Test Title 10 /div div class='right' ulliTest Caption 10/li/ uldiv class='drag-handle'drag to reorder/div /div /div } Guessing the error

[jQuery] Re: JSON error: missing } after property list

2009-08-29 Thread Michael Geary
Is what you posted the actual JSON you're using? It has line breaks in the middle of the string, which can't be correct - but would probably trigger a different error. If the line breaks are removed, it's valid JSON which you can test at: http://www.jsonlint.com/ It would be hard for anyone to

[jQuery] Re: Cycle slide #1

2009-08-29 Thread Joseph
An example is available here for those looking the same thing: http://malsup.com/jquery/cycle/fade-in-first.html Just use jQuery UI scale effect or any other for that matter.

[jQuery] Re: jquery.Flash plugin

2009-08-29 Thread unsustainableDesign
Got the above working with slightly different code. Also realized my non flash content had to be displayed then my flash content would be displayed only if flash was present. My code is below. I do not recommend this method since I will have duplicate information on my site and it may interfere

[jQuery] Re: event-binding to dynamically created elements... (JSP vs JS problem......)

2009-08-29 Thread Michael Geary
You can't call jQuery from JSP code, only from JavaScript. Your JSP code *generates* JavaScript code, which is what actually calls jQuery. In your JSP code, the loop is run in JSP, and it generates a separate block of JavaScript code each time through the loop. Here is the actual JavaScript