jquery-plugins

jquery submit form

I got stuck today, been searching on stack overflow and google, however havnt had much luck in implementing the solutions I've seen. I have a form, Im trying to create, when i click submit when theres no info in the forms, it prompts an error (it didnt validate), however when everything is filled out correctly, the submit button no longe...

JavaScript error, "object doesn't support this property or method"?

Why? This is driving me nuts??? <script type="text/javascript"> $(document).ready(function () { $('#slides1').bxSlider({ prev_image: '/Public/Images/btn-arrow-left.jpg', next_image: '/Public/Images/btn-arrow-right.jpg', wrapper_class: 'slides1_wrap', margin: 0, auto...

Is there a way in jQuery to bring a div to front?

If I had a bunch of absolute positioned divs and they overlapped, how would I get a certain div to come to the front? Thanks again guys! ...

Managing jQuery Plugins

Often, when working with jQuery, the need arises to include multiple plugins. This can quickly become messy work, especially when some plugins require additional components (images and CSS files). What are some of the "recommended" ways to: a. Manage the required files/components (.js, .css and images) in a way that is easy to maintai...

How do I set the initial state of a jquery hoverIntent

The code below works fine, in expanding and compressing the "accordian". I'm having trouble with setting the initial state, and starting off with the accordian compressed. I tried CSS of display:none on the embedded li's, but then it doesn't expand. $(document).ready(function(){ var hi_config = { sensitivity: 3, interval...

In jquery how do I refer to a div with a certain title attribute?

In jquery how do I refer to a div with a certain title attribute? $('#inner').attr("title:contains('" + position +"')").css('position', 'absolute'); this isnt working for me, If contains doesnt work in there how do I refer to a div with the title="div1" and change its css . Thanks again! EDIT: I have multiple #inner divs, how can I ...

How do I call this function that's within a jquery plugin?

I'm using a jquery plugin on my page, vTicker, "for easy and simple vertical news automatic scrolling". I'm using it in combination with an rss jquery plugin. It's working fine, but I need to create a button that will do a manual scroll. Can anyone tell me how to do this? I'm guessing I need to call the moveUp function from the vTicker f...

Similar jQuery Menu System

Hi, Would anyone know of a jQuery plugin that is very similar to this style of menu found here: menu example Really looking for the same look and feel. Thanks. ...

Automatically reposition Jquery SimpleModal to center of page when modal div is resized

I'm using the SimpleModal Jquery plugin and it works great! However, there are times that the width and height of the modal div need to be changed, so I need the modal to automatically re-position itself in the center of the page. I found out that SimpleModal uses its setPosition() function to do this. It is automatically called when th...

how to add multiple rules with different handling on a field with jquery validate

how do i add Form validation, with multiple rules on a single textfield, and a different action depending on the rule for example, a faq module, with pre-defined questions, the user can save and / or publish his answers. i have a form, with 1 textarea and 2 buttons 1 button submits the form to save the entered value in the database a...

nyroModal Lightbox issue

I'm using the latest version 1.6.2 version of nyromodal lightbox jQuery.nyroModalSettings({title:'Manual Title'}); It wont refelect any title on the lightbox title remains empty. I also tried: jQuery.nyroModalManual({ title:'Manual Title' }); Nothing reflects. If anyone has an idea please put it forward, Gobi:) ...

Successfully using jScrollpane and Colorbox plugins together

Hi, Has anyone managed to get these two plugins working together: http://www.kelvinluck.com/assets/jquery/jScrollPane/jScrollPane.html http://colorpowered.com/colorbox/ Am having no luck with the following: // Colorbox dialog window $('.w_price_assess p.price_report > a').colorbox({ title: "Price report", transition: "elasti...

Add handheld touch events to web app

Hi. What's the best way to add touch events to a web app? The page works well enough on the iPad but it would be nice to have some touch events specific to the handheld devices. Do you recommend any jQuery plugins for this? Thanks. ...

Using jQuery Cycle, how can I change transitions on click?

I'm using the jQuery cycle plugin, and it works quite well. The only issue is that if using the fx transition "scrollHoriz" you can't dictate which direction the slides initially go. How can I assign a different direction? ...

jQuery.url plugin not working from within click handler function

I'm trying to use the jQuery.url plugin (http://projects.allmarkedup.com/jquery_url_parser/) to grab a specific parameter from the query string of a url of an anchor which has just been clicked on, like so: HTML: <a class="clickonme" href="http://www.example.com/my/url/params?myparam=ABC123"&gt;Link text</a> JavaScript: var myPa...

Applying scrollTo to auto generated links

Edit! Turns out I had just got too many apostrophes going on when calling the scrollto. The working code is below: $('.miniImage').click(function() { var $th = $(this); var id = $th.attr('id'); $.scrollTo("#" + id + "Image", 1000, {offset: {top:96, left:-636} }); }); Thanks for the help! I am making a portfolio site f...

scrollTo and horizontal tables

I am attempting to make a horizontal scrolling portfolio site. I want to users to be able to click through the images using a next/previous button as well as scrolling as per usual with the mouse and scroll bars. I am, however, having trouble implementing this using jquery. The table is used as this is best practice in horizontal websit...

How do you export a div and its contents into an image in jquery?

If I have a drawing program with jquery, everything is done inside a #canvas div. How do I take whats in this div (including all the drawings a user makes) and save that to an image file? I know its much more complicated, but how should I approach this? ...

jQuery cookie not clearing upon UI close

As you can see, I'm using cookies to pop up modal confirmation boxes and alerts. While these have worked for a long time until very recently, I must have added something to this chunk of code and it all went haywire. The "close" function on the modal is supposed to clear the cookies so the pop up won't pop up anymore, now it is not clear...

How to have scrollbars show up in jquery u.i 1.8 dialog?

Hi I want to a vertical scroll bar show up if the height of the dialog goes over so many pixels. However I have Height set to auto and it seems to keep growing and never makes a scroll bar. If I set the Height to 400px then once it hits this a scroll bar is made. However I want to keep height as auto. I thought MaxHeight might do the...