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...
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...
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!
...
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...
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?
$('#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 ...
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...
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.
...
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 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...
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:)
...
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...
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.
...
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?
...
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">Link text</a>
JavaScript:
var myPa...
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...
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...
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?
...
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...
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...