[jQuery] SUPERFISH - version of jQuery
Joel, I forgot that on my site I installed SC jQuery, because that's the only version I found for Joomla. Is that OK, or do I need a different version?
[jQuery] SUPERFISH - submenus not
Joel, Thanks for a great module. Everything seems to work well except I can't get the submenus to "hide" with the Suckerfish effects. All submenus are displayed with no mouseover. I must be doing something terribly stupid because no one else seems to have this problem! Forgive my dumb question, but I've tried various settings, checked out my template.css file, etc. but everything seems kosher. My site is www.assured-it.com. The template I'm using is the new Dominion template from Rockettheme with
[jQuery] superfish menu problem
Can we keep different color for different menu items . If yes Can you please tell me how to do it.
[jQuery] Superfish 1.4.8 accessibility enhancement
Superfish is a jQuery plugin for progressive enhancement of suckerfish- style HTML/CSS drop-down menus. It can be found at http://users.tpg.com.au/j_birch/plugins/superfish/ The original Superfish plugin used jQuery's hide method, which sets an inline css attribute of display: none on the hidden menus. This has the unintended effect of making screen readers skip over the submenus. Since screen readers cannot easily trigger the hover event, this effectively blocks them from accessing any of the sub
[jQuery] Superfish separator
Hi, Only found superfish today, and man oh man do I love it! It's fantastic, and so customisable. My only problem I am having, is getting a separator to show between the menu items! I have tried editing mod_superfishmenu.php and in the xml file and just can't get it to show up. Tried stuff with the CSS as well, and for love nor money not that I've tried money can I get them to show! ANY help would be appreciated, even if someone just told me which file to look in!!!!!! Thanks again for the awesome
Post function and "-1"
Right now I have a simple echo "text"; in my php function. No matter what I do, jquery's response returns a "-1". I couldn't find anything on the documentation about returning a -1. What sort of error happens if response is returning a "-1". note: It didn't have the quotes, I added them.
JQuery Email Validation
Hi guys. I've been working on a javascript validation which uses Jquery. I dont know how JQuery works but it seem like the validation uses javascript. But when i use javascript to validate, the Jquery doesnt work. Okay, if you dont get what i mean, here it is the code: [code] var usr = $("#tbEmail"); var domelement = $(usr)[0]; var pattern = "^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$"; if(pattern, domelement){ [/code] Is my IF statement correct? This code doesnt seem to
Beginners question about slide effect
I want a menu at the top of the page. When I press a button in the menu the content of the page slides up, the content changes and it slides down. I've done this so far, but how can I do a more dynamic solution without having different divs for each menu item? js: <script type="text/javascript" src="http://jqueryui.com/latest/jquery-1.3.2.js"></script> <script type="text/javascript"> jQuery(document).ready(function(){ $('#f1').click(function() {
Getting error: val is undefined. Why?
Hi. I get this error when I load my page: Error: val is undefined Source: http://www.example.com/user/library/jav ... nctions.js Line: 177 #177| eval(substringFunction); The complete function is a plugin that counts characters in a textarea: (function($){ $.fn.extend({ limit: function(limit,element) { var interval, f; var self = $(this); $(this).focus(function(){ interval = window.setInterval(substring,100); });
[jQuery] looping through form elements.
Hello all, I'm relatively new to JavaScript. I would like to loop through all the elements within a form and grab their values and what type of input they are. So far I came up with: $ ':input' .each function idx, item { alert idx ; } ; The alert is placed there to see if it loops and it works as expected. I'm not sure how to alert the input's value and what type it is. Any help is greatly appreciated. -Thanks, Rich
[jQuery] Issue with Colorbox + Cluetip (title not displaying correctly in Colorbox)
I'm having an issue using both the Colorbox and Cluetip plugins together on a page. Basically what happens is that while Cluetip is displaying fine, when the object is clicked and the Colorbox overlay shows up, only part of the "title" attribute is displaying -- the part before the title separating pipe character " " . I think this is because when the object is clicked, Cluetip hasn't yet replaced the title attribute with its original content, so Colorbox only sees the first part of the title text.
Object position change on mousemove. Failed to set up easing.
Hello there, Obviously I've a problem :) An object's position is updated relatively to mouseposition on mousemove (opposite direction). Works perfectly well, but I failed to set up the code with smooth easing as result. The code works in Actionscript in Flash (of course in proper syntax) but it doesn't work in jQuery syntax and code-elements. Strange is that nearly the same code works in Actionscript and there WITH easing In jQuery, I used "css()" to position the object, "animate() with
Using load() 2 times in a row doesn't work in IE7/IE8
Hello, When I call load() a second time from a code already injected with load() the targeted div just turns blank. I've tried changing url of the file suposed to be loaded and even tried just loading a piece of text. It works fine in FF, Safari, and Chrome. Any idead why not in IE??
Slider soll sthen bleiben
Hallo Jquery Forum... ich bin ein absolouter noob in Jquery und habe aber auch nur eine Frage: ich habe mir uas dem Internet einen Code gezogen und ihn etwas modifiziert... <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Animated Menu Hover 1</title> <script type="text/javascript" src="jquery.js"></script>
Multiple AJAX forms
Hello, I have developed the following jQuery script... // POST Forms $('#POSTformbutton').livequery('click', function() { $("#contentmain").hide(); //var username = $("input#username").val(); //var password = $("input#password").val(); //var dataString = 'username='+ $('input#username').attr("value") + '&password=' + $('input#password').attr("value"); var dataString = $("form").serialize(); $.ajax({ type: "POST", url: $("input#url").val(), data: dataString, async: true, beforeSend: function(){$("#loading").show("fast");},
Trigger flash button click with jQuery
Is it possible to trigger flash button click event with jQuery? Because it could lessen the size of flash movie and use CSS image instead of flash button. Thanks!
[Qtip] How destroy definitely a modal windows
hi, Is there any way to deallocate a jquery object? I'm using qTip plugin... Every time the user clicks on link related to a jtip modal window, qtip allocate memory for the modal, but when the modal is closed (by user) the object $('#some_id').qtip() exits anyway. My situation: ..... $('#some_id').qtip( { content: { title: { text: "Category: "+$('#category').value(), button: 'Close' }, text: ' TEXT OF MODAL ' }, ...... )} // end In
[jQuery] Accessing value of a dynamic added input
I'm adding an input and select box to a div by setting the div's html. I then attach a change event to the select which posts to a php page using ajax. I'm having a problem however accessing the value of the input from the change event. This is the event. $ '#' popup.popupId ' select' .change function event { event.preventDefault ; popup.showLoading ; var matchup = $ '#' popup.popupId ' input[type="hidden"]' .val ; var match = $ this .val ; $.get baseUrl 'edit_match&type=match&matchup_id='
Queueing in jQuery UI Dialog
Hi, I'm using the uploadify plugin for uploading multiple files, it work pretty well but i'm stuck with jQuery UI Dialog. In fact, I would like to queueing severals Dialog, one for each uploaded files. Here my HTML : <div id="prompt" title="Ajouter une image"> <form> <fieldset> <label for="name">Nom de l'image : </label> <input type="text" name="name" id="name" class="text ui-widget-content ui-corner-all" value="" /><br /> <label for="description">Description de l'image
Custom animations
Hi there! I was curious if there is a way to set up custom animations so that a div will expand from a specified corner to another specified corner? Ex. If I have a div with a background color of #000 that is 200px by 200px and when I hover over it it expands to 500px by 500px from top left to bottom right, by default. I want it to expand from top right to bottom left or bottom right to top left, etc. This is how I have it set up but it only goes from top left to bottom right $ 'div.item' .hover
Issue With Several JQuery Plugins
I have a site that I'm trying to use jQuery form validation, shadowbox, ajax form submitting, and sliding div tag. I've gotten everything to work except the ajax form submitting. Any help to get this working would be great. I am attaching the html of the site below: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"
Need help with an effect ^^ (beginner)
Hello there! I've been trying to learn some jQuery over the past few days, I'm kinda new to this :) ============================================================== Here's the thingie.. If you click a link (let's say this is linkA) a div appears by an effect (fadeIn) (the div was first hidden > display: none;) Now if you click a different link (let's call it linkB) the div from linkA disappears with the same effect (fadeOut) and the div from linkB opens (fadeIn).. ==============================================================
Formatting is not preserved after slideDown
Hi friends! I am using JQuery to perform the slideDown function with one of the divs. $(document).ready(function() { $("a:contains('Forgot')").click(function() { $("#signuppanel").hide('slow', function() { $("#signuppanel").slideDown('slow'); }); }); }); Once the signuppanel goes away and comes back, the formatting of the text in the panel is lost. The bold property of the font is lost. How
[jQuery] Change opacity of item with class of selected
Hi all I've been stuck on this for four hours, and I still can't solve it! I am trying to check if a list item has a class of selected, then is so change the opacity to 0.5. Here is my code: ÂÂÂ if $ "#portfolio #thumbs ul li" .hasClass ".selected" { ÂÂÂ ÂÂÂ $ this .css 'opacity','0.5' ; ÂÂÂ }ÂÂÂ It seems that the "this" part isn't working, is it to do with putting it in an event? Would appreciate any help
[jQuery] Download jQuery API docs
Is it possible to download the jQuery API documentation to my local hard-drive? If so, I don't need to connect the Internet every time when I want to refer the API docs.
The new forum - posting code
I'm not sure if this has already been discussed, if so, mods, please delete this. Posting code is obviously very important in a forum like this. I was simply wondering if this platform offers any WYSIWYG-free way of adding content. Markdown? BBCode? From what I can see, it doesn't, and adding code is not the easiest thing. Plus, I can't compose a response in a text-editor and then paste it in (well, not easily). I have to write it in here and use the formatting buttons provided. Zoho-Discussions
Done banging my head against wall - Need help with jQuery Validation
I've been trying to get this to work for a couple of days now. I amusing the jQuery validation plugin found here: http://bassistance.de/jquery-plugins/jquery-plugin-validation/ I'm including the following links in the page header: <script src="http://ajax.microsoft.com/ajax/jquery/jquery-1.3.2.min.js" type="text/javascript"></script> <script src="http://ajax.microsoft.com/ajax/jquery.validate/1.5.5/jquery.validate.js" type=”text/javascript”></script> <script src="/js/ValidateSpring.js"></script>
Jquery-Tools Scrollable, goto item?
I'm also looking for something similar to this.... Quolte from another forum: "Is there a way to 'activate' an item in the list of items inside Scrollable? The thing I want to accomplish is this: call the api.seekTo() method inside a piece of javascript (this part works) and then visualy show the user what item in the Scrollable list it was that was sought. I know I can influence the appearance of an item clicked but what I do want is tell the scrollable to activate an item (and scroll if neccecary
Div that and slide from left to right and opposite and supports hovering
Hi I'm trying to make this smart little thing. It goes like this; I have a page that has a box where announements can be seen. What I want is that when the page loads a div containing some announcement text should show up within this box. The div should remain within the box for about 10 seconds, whereafter it should start sliding to the left and eventually disapper. But if the user during the sliding decides to Hover or click within that div then the sliding should stop and the div should move
Other languages sub-forums
Would you create other sub forums for specific languages? My first speak language is Portuguese from Brazil and I participate in a Brazilian jQuery group with thousands members. It would be nice having a official jquery in pt_Br as well. Regards, Leo Balter - Web Developer @ Esporte Interativo
JQuery Ajax help please
I am very new to JQuery and Ajax and have a problem. Hope people can help. I am using the ui draggable plugin for drag & drop into a drop zone and then update a database table like this: function addlist(param) { $.ajax({ type: "POST", url: "ajax/addtocart.php", data: 'img='+encodeURIComponent(param), dataType: 'json', beforeSend: function(x){$('#ajax-loader').css('visibility','visible');}, }); } The update into the sqltable works with the above, but after the
Thank god.. forum :D
Just wanna say thanks for the jump from google groups to stand alone forum :D
JQery Treeview
Hello guys, I am nvery new to JQuery and I am using it for the very first time. Now, I want to be using tree view structure feature and I already have JQuery 1.3.2 which I have referenced to my application. Now Do I have to add any other reference ot this reference is enough? Is there any tutorial which can give me some idea about how to implement treeview using JQuery? Could you please guide me in this issue??
forum problem with google chome
this place... "propose and idea" and "report a problem" doenst show up in google chrome. just show all page light gray :D
How can I avoid Keydown triggering twice on CTRL+V?
I have added the keyup listener to a input field (textbox) like this: jQuery('#input_guideName').keyup(function(e) { alert('yo'); }); My problem is that the alert is triggered twice when I paste text, because CTRL+V is two key pressed. But I really need this to be handled as one 'keyup'. How can I solve this problem?
what's wrong with my code?
I have a problem with a jquery code.. here it is: <HTML> <HEAD> <SCRIPT type="text/javascript" src="jquery-1.3.2.js"> $(document).ready(function() { $("#btnsend").click(function() { alert("Hello world"); }); }); </SCRIPT> </HEAD> <BODY> <DIV> <INPUT type="button" id="btnsend" value="Send"/> </DIV> </BODY> </HTML> the code should've been correct, right? but when I press the Send button, nothing happens.. can anyone tell me what's wrong with the code?? thanks.
[jQuery] Error in IE6 and 7, but not 8 (or FF, and Chrome) ...
Hi, Got a bit of a weird one here :/ http://ultradev.com.nmsrv.com/cgi-bin/dev/page.cgi?g=Detailed%2F337.html Line: 12 Char: 0 Error: Expected identifier, string or number Code: 0 The script its refering to I assume! is: http://ultradev.com.nmsrv.com/dev/static/ajax_rate.js Originally I had this line at the top of the script: jQuery.noConflict ; ..,but was wondering if maybe it needed to be in each function which I've done ... but still get the error :/ I get a similar error when actually clicking
Object position change on mousemove. Failed to set up easing.
Hello there, Obviously I've a problem :) An object's position is updated relatively to mouseposition on mousemove (opposite direction). Works perfectly well, but I failed to set up the code with smooth easing as result. The code works in Actionscript in Flash (of course in proper syntax) but it doesn't work in jQuery syntax and code-elements. Strange is that nearly the same code works in Actionscript and there WITH easing In jQuery, I used "css()" to position the object, "animate() with easing" produces
[jQuery] superfish navbar submenu
Hi all, I am brand new to this. I have downloaded the sample files. I added the navbar css to the example.html file. Everything works. My problem is that the submenu is visible when I first load the page before I have hovered over anything. Before I get into this any further, is there a way to fix that? Thanks for your help. Anne.
[jQuery] how to do some animation when the page loads?
when the DOM is ready you can write $ document .ready function { $ "#divname" .hide ; } ; Say now, you want to try and do some animation done by default, in the below example I have done some animation only when the user do mouse over, how can i do that by default as in when the page loads $ document .ready function { $ ".divname" .mouseover function { $ ".divname" .animate { opacity: 0.5, }, 300 ; } ; } ;
Next Page