I'm using the jQuery Cycle plugin along with the tutorial here: Net Tuts tutorial "building-an-auto-scrolling-slideshow-that-works-with-and-without-javascript"
It all works good if I give my containing <div> a background color, but as soon as I apply a background via url(), my slide navigation which was originally positioned absolutely ...
Hi all,
I'm having some trouble understanding how to accomplish the following:
Basically, I'm just delving into the world of Ajax, and I have built a simple application to practice on. My current problem is that I want to have a form dynamically added below "add entry", so that people don't have to go off to another page to update the p...
I've got a fairly large table that needs to have a total on the right side and bottom for daily totals.
I've been able to get the side to total correctly, but not the bottom.
I may be thinking too little of this, but currently I have this: (Yes, I know it's not correct and doesn't work. I was testing)
script:
HorizVertiCalc = functi...
I am using the masked input plugin on a Jquery dialog box. Now after clicking on the "ok" button on my dialog box I do a validation on a date field and if the date was not entered I popup another Jquery dialog for the error message. Now after the error message is closed and focus is returned to the first dialog box the masked input text ...
I am trying to figure out what is wrong with this code,
I need to manually target slides from within the slide it self but the click functions are not working.
$('#signup-content').cycle({
fx: 'scrollLeft',
timeout: 0,
speed: 300,
prev: '#previous',
next:'#next',
after: onComp,
...
Okay...
how do I select a element's parent's child with specyfied class name..?
...
Hey guys, I am not very familiar with jquery & am trying to implement jCrop + upload via PHP. I found exactly what I needed ( http://webdevcodex.com/mashup-application-image-uploader-cropper-using-jquery-php/ ) and attempted to use it but the script is not going past step 6 (from the demo code).
I am able to upload an image to the fold...
Hi, I have everything working from the tutorial, replacing it with my data, but it is a hardcoded situation. For example, in the tutorial, which is what I have working, I have:
jQuery(document).ready(function(){
jQuery("#list").jqGrid({
url:'http://127.0.0.1/products/index.php/mystuff/test/1/5/productname/desc',
datatype: 'x...
passing a value to a php page via get, depending if the value is true
then how do i fire my jquery function..
currently trying..
<script type="text/javascript" language="javascript">
function showError(){
$('#errormsg').fade(1000);
$('#errormsg').html('<div class="error"><p>failed</p></div>');
}
</script>
php on the page:
<?p...
I want to use JCarousel to display UL elements with LI containing only eight images (two rows of four), something that looks like this:
<li><div>[image][image][image][image]
[image][image][image][image]</div></li><li><div>[image][image][image][image]
[image][image][image][image]</div></li>
I thought a good way to do this would be to use...
I have a Q&A list with "Open All/Close All" at the top with individual open and close image buttons that toggle when clicked. That works fine.
Then follow individual Q&As, and each has its own open and close image.
If you click on "Open All/Close All" first, as soon as the page loads, and then click on the individual Q&A open/close im...
My server side code:
[WebMethod(CacheDuration = 0, EnableSession = true)]
public static int UserID()
{
if (HttpContext.Current.Session["UserID"] == null) return 0;
int UserID = Convert.ToInt32(HttpContext.Current.Session["UserID"]);
return (UserID);
}
My Client side code:
$.ajax({
type: "P...
Hi folks,
I'm trying to open a modal window when the browser window closes.
Is there a way to do this with window events? Thanks.
...
Hi, all I'm new to jQuery and I'm having a bit of a problem manipulating AJAX results with jQuery methods.
I use an AJAX get and execute the find method on the resulting output. But this seems to work only once. Subsequent attempts using the same selector in the find() argument don't work. Different selectors will work, but again, on...
I have a controller that returns a list of custom linq-to-sql model objects in JSON format to jquery ajax calls:
List<MyAppLibrary.Model.Search> listSearches = search.ToList();
return new JsonResult { Data = listSearches };
I have the following javascript which gets the response:
$.getJSON("/ajax/getbrands",
function(data...
I've searched a good deal, and can't seem to find a satisfactory solution. I hope someone can help.
While I am using jQuery, I am also writing many thousands of lines of Javascript. So a "pure" javascript solution is just fine.
I'm trying to determine if the control key is physically held down on a mouseup event. That's it; there ar...
So I am using "load" functions of jQuery to use ajax on my pages.
Can anyone write a small snippet of code using jquery load (or any ajax function which you think is the best) ? What I do is make a form, onsubmit pass to js, further using GET pass values into the load function and return false; though this works I am sure this is not th...
Is there any to make the left arrow behave like the tab button (set focus to the next focusable item) and the right arrow behave like a shift+tab (set focus to the previous focusable item)?
I've gotten this far:
$().keypress(function(e) {
if (e.keyCode == 37) {
alert('I want to do a shift-tab');
}
else if (e.keyCode...
So I have a cycle of images which when not messed with cycle through, each subsequent image fades in nicely.
If I hover over an image, it loads (no fade) and then the rest of the images cycle again and fade in nicely.
What I want to do is, when I hover over a link, and the appropriate image appears, I want that image to fade in as well...
Does anyone know of any alternative jQuery plugins to the resizable function in jQuery UI? My main focus is on constraining the bounding box (parent), and the aspect ratio of the image.
...