[jQuery] Superfish - vs. 1.4.8 - cannot force background color to span across FULL PAGE
I desperately (always need to) span any menu across the full page. I'm shocked there are no examples of this. Anyway, it doesn't work. See example code below. I need to define a css class so that the menu spans the FULL width of the page. Any workarounds or do I scrap jQuery?? css: #menuback { background-color: #BDD2FF; padding: 0px; margin-left:0px; margin-right: 0px; width:100%; } html code: <div id="menuback"> <ul class="sf-menu"> <li class="current"> <a
Image/Video Replacement. HELP PLEASE!
I'm currently using the jQueary Image Replacement gallery on a site that I'm working on. The problem is now the client also wants to add video to the image area along with JPGs. (ie. when you click on a thumbnail some will be JPGs and other thumbnails will link to a video). I'm not sure how to do this, because I don't know how to write Javascript. The following is the jQueary scripts. Is there a way to add video functionality? Thank for any help. <!--the code--> First append an empty <em> to H2.
[jQuery] validation works in FF, but not in IE??
Hi, i use the validation plugin form http://docs.jquery.com/Plugins/Validation All works perfect, i thought..... With Firefox it works really perfect, but when i change to explorer mode, there is no validation at all? Spent all evening to this problem, but really cant find out why its not working. Please can someone help me a bit? This is the code: $().ready(function() { // validate the form when it is submitted $("#commentForm").validate(); // validate signup form on keyup and submit
[jQuery] don't understand this bug _ please review code
<div dir="ltr">hi Friends, i'm about to finish an old project of a specific image viewer for a professional photographer. The whole idea is that her work becomes her identity. Therefore, the pictures are displayed in "imagesets" one next to each other, each being a line, thin or thick according to the number of images it contain. This generates an ID-related graphic: a barcode. Now, i'm about to be finished, but there is a bug i can't seem to nail down and i would be very grateful if you guys could
[jQuery] New jMaps Release
Hi folks, I'm pleased to announce a new release of jMaps. It's been a while since it has been updated, but I found out it recently features in a chapter in O'Reilly's JavaScript: The Missing Manual so I decided it was probably time to fix it up! The new release has a few major changes which I'll come onto later, but none should affect your existing code too much (just method names, as explained later) This is a branch version with the new Mapifies namespace. The new release is available at: http://www.bitbucket.org/digitalspaghetti/mapifies/
[jQuery] listening for dom changes?
I have a set of functions I'd like to reapply if the dom changes. Example being a page section being refreshed and I need to reapply event listeners. I'm aware of the listen/intercept plugins, but it doesn't sound like they're exactly what I need. I typically do event delegation manually with 'is', a document handler, and a simple class- based selector. Does document or JQuery provide an event I can use to re-initialize?
[jQuery] [treeview] is there a way to extend the click element?
I would like to be able to dynamically assign aditional functionality to the onclick event within the treeview list structure so that it would not only expand the tree display, but also perform a function which I assign to the list element. Is this possible? Thank you Robert Zumwalt
JQuery cannot get displaytag attributes?
I'm displaying a table using the displaytag library. (display:table) Displaytag doesn not give you the option of using pagination as well as have an "All" option, so I'm trying to use JQuery to help me out. I added an option in the pagination select dropdown for "All", and I wanted to use JQuery for the onchange event to set the size of the current page to the total number of results, in essence displaying "All" results. Displaytag continues to tell me that whatever attribute I'm trying to access
[jQuery] Using variables with animate()
Hi, I've made a sliding gallery which works well enough, but I'm currently having to use a lot of conditional statements to work out where the images need to be animated. Is there a way to use variable within the animation function? E.g. $(whatever).animate({variable: '200px'}, 200); If I replace the variable with a hard-coded css property then it works fine. Any suggestions would be greatly appreciated. -- View this message in context: http://www.nabble.com/Using-variables-with-animate%28%29-tp19975977s27240p19975977.html
[jQuery] New to Jquery, have written Validation script...
Hello, I have never written a Jquery script, but have, over the last few days, compiled the following, but was hoping someone could look over this to see if I had problems. $(document).ready(function () { $("#my-form input[@type='input']").blur(function() { var queryString = $.("#my-form").formSerialize(); $.post("/path/to/your/validation.php", queryString, function(validation_errors) { // do something like changing a css class, disable submit... $.each(validation_errors,
[jQuery] Help needed please!
Hi All I was wondering if anybody could help me please. I have several divs on a page that show.hide according to an image button that is pressed. 1. The buttons need to hover but the one that was clicked needs to stay in the hover/selected state. 2. The button that is selected, doesn't need to hover. I also need help in getting a div to open sliding to the left. 1. When the arrow at the top of the basket is clicked the basket slides open to the left. http://www.webnow.co.za/enquiry/bask-closed.jpg
[jQuery] Nice work UI team
I love jQuery.ui and work with dialogs. Nice work ui team! An example... http://dashboard.nonomartinez.com
[jQuery] preventDefault() question
Hi guys, I'm new to jQuery but already see lots of potential to use it above let's say Flash. Very excited about learning more!! I have a question pertaining the jQuery event.preventDefault() method: Is there a way to reinvoke the default action again? I would like to fade out or ease out (haven't made up my mind as yet) certain elements on a website on clicking a hyperlink. So I figured I'd make use of jQuery's animation effects methods. At the moment I use the preventDefault method to stop the
[jQuery] jquery inside an iframe
so i have a modal window that loads an iframe. inside this iframe i have my jquery.js src links. within the functionality of this html in the iframe is a pice of code that dynamically generates form fields. Now in the file that generates the form fileds i have a div with an id of jquery and this dive is set to display:none. when this ajax page gets called i do an eval on the innerHTML of this jquery div so that i can bind events to my dynamically created form elements. the problem is when i test
[jQuery] toggle show hide functions crash IE6
IE6 crashes whenever I click on a div that is supposed to toggle (or hide or show -- I've tried them both) a neighboring div. Otherwise, this script works perfectly fine in IE7 and FF3. Here is the div (located inside a php script): echo '<div class="moreSubs" id="wp_moreSubscriptions1"><img src="images/downarrow.jpg" /> Click Here to Add More Subscriptions</div>'; Here is the jQuery called function: $("#wp_moreSubscriptions1").click(function () { $("div.gift").toggle(); }); The div being toggled:
[jQuery] Ajax & Vista (IE)
I am having a stange problem with performing a simple AJAX call on a Vista machine using IE as the browser. The same request work fine with Firefox on the same machine. Here is the sample code <script src="jquery.js"></script> <script> $(function(){ $("#temp").load("test2.cfm"); }); </script> <div id="temp"> </div> The error I get in the script window will be "Automation Server can't create object". Any idea?
[jQuery] Tomcat URL encoding problem
Hi, i'm calling a Spring controller from jQuery (ajax call) and i have this warning on Tomcat 6: 12-ott-2008 20.50.57 org.apache.tomcat.util.http.Parameters processParameters AVVERTENZA: Parameters: Character decoding failed. Parameter skipped. java.io.CharConversionException: EOF at org.apache.tomcat.util.buf.UDecoder.convert(UDecoder.java:83) at org.apache.tomcat.util.buf.UDecoder.convert(UDecoder.java:49) at org.apache.tomcat.util.http.Parameters.urlDecode(Parameters.java: 412) at
[jQuery] jquery.ufo.js: Really Puzzling IE Issue -- Help
Shame on me, developing on a Mac and ignoring IE. Now I have to go back and figure out all the IE issues. But here's one where Google has been zero help to me, so I'm appealing to the jQuery community. I'm using jquery.ufo.js to unobtrusively embed Flash objects. Works great on all flavors of Firefox, on Safari, and it might even work in IE, but I'm getting exceptions as follows: // in $(document).ready() $(window).resize(function(){ try{ if($('#mainmenu')[0].callAS) { // <== undefined in IE,
[jQuery] Error: $("#slider").serialScroll is not a function
Hello, Can someone please help me, I am trying to use this with the On Demand theme for wordpress and i get the below error. I am a designer not a coder, so I am finding it difficult to wrap my head around this problem... please help... digital_deejay at hotmail.com Error: $("#slider").serialScroll is not a function Source File: http://www.gamertagradio.com/videos/wp-content/themes/ondemand/scripts/coda.slider.js Line: 95
Dropdown the shows a div only works first time
I have a dropdown with a list of "Reason" options. When the user selects "Other", a text box should appear that requires the user to enter a custom reason. If they choose an option other than "Other", the box should disappear. It works perfectly... but only once. After the first time, the "Other" option does not make the text box appear at all. Any ideas?? Here is my code: buildReasonDiv: function(data, panelMembershipUID) { var html = '<div class="reasonDiv">'; html += '<span><strong>Exception
[jQuery] id same as name confuses JQuery?
Given this element... <div id="foo" name="foo"></div> ...why this does not match the element... ${'#foo'} If I change or remove the name attribute, it does match. Is this by design or a bug?
[jQuery] listnav - callback after each button click
<div dir="ltr">hi! i've implemented with great pleasure the listnav plugin for our internal addressbook. However, there is one issue i'm facing: i'm also using the jscrollpane plugin to display a custom scrollbar for the div in which sits the listnav UI. I need to recall the jscrollpane() function after each listnav click. Is this possible as such ? If not could you consider this as a feature request? Thank you! Alexandre <div dir="ltr"><div><font size="2"><span style="font-family: arial,sans-serif;
[jQuery] Problems creating a simple "auto-expand" panel
Hi, I'm a jquery beginner and have problems creating a simple (?) effect on my page. I have the following markup: <div class="panel"> <div class="panelTitle">title</div> <div class="panelContent">content...</div> </div> What I'd like to achieve, is that the panel content should be shown when the mouse is moved over the panel DIV and then hidden again when the mouse is moved away. My current solution looks like this: $(document).ready(function() { $('.panel').hover(function(e) { $(e.target).children('.panelContent').stop().slideDown('slow');
[jQuery] Disable Submit Button
Hello, Please go through the below given requirement and provide me help asap. "disable the submit button until the user has scrolled all the way through the agreement" How can this be done using jquery if not then using pure js. Thanks Rahul
[jQuery] Find labels for input with given class
Hello , oh allmighty group ;-), I have a number of forms, which I validate with 'validate' plugin'. For all the required inputs I use 'required' class. The customer wants to have all the required fields of the forms marked with stars. I want to have it done with jQuery, but... how? The html looks like this: <label for="dateStart">From:</label> <input name="data[dateStart]" type="text" class="required" value="" title="Pick the date" id="dateStart" /> How to do this? Any help would be appreciated!
[jQuery] Newbie traversal question
I have a click event tied to an element and I need to access a grandparent element that is quite a few jumps away. I could count the jumps and hard code it but is there a way to recursively roll out until you reach a parent that matches a given id? Or do you manually have to do it? Cheers in advance for any replies. -- View this message in context: http://www.nabble.com/Newbie-traversal-question-tp19958727s27240p19958727.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] Cross site scripting query
Hi Is there any additional security restriction on code that is dynamically loaded into a page. Or on .post requests of type json? As per the code below I am trying to create a bookmarklet which references a web service but I'm getting the following error when accessing from a different domain.: uncaught exception: Access to restricted URI denied (NS_ERROR_DOM_BAD_URI) [Break on this error] xhr.open(type, s.url, s.async); The code is var s=document.createElement('script'); s.setAttribute('src', 'http://code.jquery.com/jquery-nightly.js');
Help needed pleas!
Hi All I was wondering if anybody could help me please. I have several divs on a page that show.hide according to an image button that is pressed. 1. The buttons need to hover but the one that was clicked needs to stay in the hover/selected state. 2. The button that is selected, doesn't need to hover. I also need help in getting a div to open sliding to the left. 1. When the arrow at the top of the basket is clicked the basket slides open to the left. http://www.webnow.co.za/enquiry/bask-closed.jpg
[jQuery] Form > Fieldset
Hello, I have a form with 5 fieldsetss Does anyone knows how to do one of the following (or maybe a plugin)? 1. Collapse/Expand a fieldset when its legend is clicked. 2. Turn the fieldsets into tabs. When the form is submitted I should always have access to all form input values. Thanks, Miguel
[jQuery] jQuery help to replace CSS position: fixed;
Hi! I am making a menu that I place along the left side of the page. I starts with the position: absolute; left: 0; top: 50px; I tried using position: fixed; but that didn't work in IE6. What i want is that when a user scrolls down the page the menu follows. $(window).scroll(function () { var thePageTopVar = ???; $("#menu").css({top: thePageTopVar}); }); How do I get the windows current position on the page? :/
[jQuery] jquery history_remote IE bug?
I'm not sure if this is a bug so I thought I'd ask folks and see what they had to say. I have some export links on a page, and despite me not using $.remote or $.history (I use $.click) when a user clicks on these export links in IE, if they use the browser back button afterwards, it tries to re- do the export. I'm not exactly sure what to do about this. I've looked at my code and looked at the plugin code, and nothing jumps out as me as the cause of this issue. Firefox handles it beautifully.
[jQuery] .html() is rewriting & to &
the .html() function is rewriting all instances of & to & without my permission: example: $('#div').html("http://www.coolsite.com?x=1&y=2"); the div then shows: http://www.coolsite.com?x=1&y=2 how can I prevent this behavior? Thanks in advance
[jQuery] TreeView plugin
Even considering the TV plugin works nice ,we need some specific features like handling each graph (+,- ) instead of using an unique image.Plus we need to generate them from a Perl CGI ,using our interface.We are advanced on the matter but I think a check with the group would be useful. Comments welcome. R Jorge Borgia Trieste
[jQuery] jQuery Help Please
Hi All I was wondering if anybody could help me please. I have several divs on a page that show.hide according to an image button that is pressed. 1. The buttons need to hover but the one that was clicked needs to stay in the hover/selected state. 2. The button that is selected, doesn't need to hover. I also need help in getting a div to open sliding to the left. 1. When the arrow at the top of the basket is clicked the basket slides open to the left. http://www.webnow.co.za/enquiry/bask-closed.jpg
[jQuery] LiveQuery and Dynamic Content
Alright, I having been looking for a solution to loading an external file and applying a function to that content dynamically. I think I have found the solution by using Jquery, liveQuery plugin and the following code I found at: http://nettuts.com/javascript-ajax/how-to-load-in-and-animate-content-with-jquery/ Basically I want to be able to add a Jquery function that will add a DropCap to the first paragraph of a particular div of the loaded external content. So here's my delimma, I'm not quite
[jQuery] Bug of BlockUI Pluggin in IE6
In IE6, set width of page bigger than width of IE to show horizontal scrollbar, after that, trigger to block page, the overlay background is only stretch to width of user's view. How can I fix this (must use IE6)?
[jQuery] jquery validation
Hi, I am using Jquery plugin for client side validation. But due to a filedname I am facing a problem. Example var validator = $("#UserSignupForm").validate({ rules: { data[User][username]: { required: true, minlength: 2, remote: "users.php" } }); HTML :<input id="id_username1" name="data[User][username]" type="text" value="" maxlength="50" /> When I am using data[User][username] as a filed name in jquery validation, it's not working but in case of other name like username it's working. I think there
[jQuery] jQuery, AdSense, wrap, and Firefox 2 & 3 Problems
Hey All, I have a weird problem going on with jQuery, adsense, and wrap in firefox 2 & 3. It seems that when I try to wrap a div with my adsense code in it, the adsense code makes the page "blank". The page loads, but quickly gets overwritten by a blank page. My html: <div class="wrapthis"> <script type="text/javascript"><!-- google_ad_client = "pub-*************"; /* 300x250, created 11/13/07 */ google_ad_slot = "4807***801"; google_ad_width = 300; google_ad_height = 250; //--> </script> <script
[jQuery] jQuery selector that matches dd's elements
Sample scenario: HTML <dl> <dt>Text 1</dt> <dd>text 1.1</dd> <dd>text 1.2</dd> <dd>text 1.3</dd> <dd>text 1.4</dd> <dt>Text 2</dt> <dd>text 2.1</dd> <dd>text 2.2</dd> <dd>text 2.3</dd> <dd>text 2.4</dd> ...more dt's dd's.. </dl> -------------------------------------- jQuery script: ... $('dt').click(function() { $(this).selector('dd').doSothing() // ...more stuff ... -------------------------------------- Question: Are there (whithout insert any markup) a jQuery method to select all dd's for the
[jQuery] How to use a custom ajax code in page that was loaded with .load()?
I have a page that loads with jquery's .load() function. However, that page is a form with two custom JS files attached. When I load it separately, the JS code works. However, when used with .load(), it does not. What I'm missing here?
Next Page