[jQuery] Superfish - always display one of the submenus
Hello there, I would like ask You if there is any possibility to always display one of the submenus. I would like have first submenu always expanded and other being expanded by hover of its parent list item. Thank You for any suggestions. Luke
[jQuery] Superfish - modify the arrow - transparency problem
Hi, I'd like to change the direction of the white arrow, but as I save it on Photoshop or Fireworks (I've tryed many PNG-8 savings configuration), I'm loosing the transparency in ie6. A particular saving method? Thanks
[jQuery] $.getScript in Firefox 3
I've been developing a website and we use getScript to load all of our javascript files (other than jQuery) so the header of the page is shorter. We have a mechanism in place which allows functions to be executed when the script has downloaded. (Registering a function as a dependency of a file and when that file has been downloaded the callback from the getScript triggers the dependent code) This all works fine in IE and Firefox 2.5. I recently installed the new version of Firefox (3) and am experiencing
[jQuery] How can I change all radio buttons to "yes" and "no"?
Hello, Can you please tell me how can I have all radio buttons set to "yes" or "no"? Thanks.
[jQuery] Please Help Style a SuperFish Menu
Hello, I am having a really hard time trying to style the SuperFish menu to look good on my site. I am not a web developer, but have been working on the menu myself because my web guy no longer seems interested.... Please help. Here is the site as it is currently implemented (no drop-down menu): http://nonipatterns.com Here is my attempt to add the SuperFish menu: http://nonipatterns.com/index_ciphent.php Here is the style sheet: http://nonipatterns.com/default_8-26-08.css And here is a PDF describing
[jQuery] Please Help Style a SuperFish Menu
Hello, I am having a really hard time trying to style the SuperFish menu to look good on my site. I am not a web developer, but have been working on the menu myself because my web guy no longer seems interested. Please help. Here is the site as it is currently implemented (no drop-down menu): http://nonipatterns.com Here is my attempt to add the SuperFish menu: http://nonipatterns.com/index_ciphent.php Here is the style sheet: http://nonipatterns.com/default_8-26-08.css And here is a PDF describing
[jQuery] jQuery Truncating Help
I have been working with Brian Reindel's Truncate plug-in....trying to get ti to do what I need. It seems simple enough, but I continue to struggle. The plug-in is designed to truncate the html content within a tag to a certain length...taking into consideration the whole last word. It works great...however I need to truncate a list item that contains both text and a link; like so: <li>This is the text that leads to: # A link that needs to be truncated .</li> The function currently looks like this:
[jQuery] jQuery UI Refresh Baltimore Presentation
<div dir="ltr">Hey all, Just wanted to put it out there that this Wednesday we (Refresh Baltimore) will be have our (jQuery) lovable Richard Worth doing a jQuery UI presentation at Refresh Baltimore. Check out <a href="http://upcoming.yahoo.com/event/1176430">http://upcoming.yahoo.com/event/1176430</a> for all pertinent information.<br clear="all"> -- Benjamin Sterling Twitter: bmsterling Web: <a href="http://www.KenzoMedia.com">http://www.KenzoMedia.com</a> <a href="http://www.KenzoHosting.com">http://www.KenzoHosting.com</a>
ajax json memory
I'm using the Ajax method of jquery, to retrieve some data from the server. I have a question about memory usage, when using this method. To simplify the problem, lets take a real simple situation : one button with a click event handler $("#myButton").click( ... ) When I click the button, I make an ajax call to the server using $.ajax, returning json. If I understand correctly, json gets evaluated using Eval to build an object I can use in the succes handler. Suppose the json returned is different
[jQuery] Interactive associations maps? Anyone seen or done anything like this?
Hi folks, I'm looking to put something together in JQuery that functions similar to what the guys over at http://www.visualthesaurus.com/ did with Java. The idea would be to map parent / child relations so that the parent would appear in the bubble in the center ... and the children would appear as bubbles around the parent, spaced out equally around the parent, and with a line connecting each to the parent bubble. Another visual of what I'm trying to get at: http://www.ekhanh101.com/visualizer/index.aspx
[jQuery] random image and content loading
I was wondering if anyone can point me in the right direction with this. i am pretty new to javascript and jquery so any help would be most appreciated. I have a homepage which displays a large random image from an array every 10 seconds or so. I have used a variation of the following script to do this. http://www.davidvanvickle.com/examples/jquery/slideshow/index.htm However in my case the array contains more than an image file location but some xhtml. so I have altered the part of the script which
[jQuery] Is .prev() being used in the wrong way here?
I have a function that filters a listed based on the value of an input field. The .each() function looks at inside each anchor tag, and adds a new class if there is a match. But, I want the class to be added to the parent, or prev element here, which is a holder div called itemHolder. For some reason it is not even adding the hidden class to the previous element, which should be the itemHolder div. Am I using this in the wrong way? Using .parent() does not work either. $("#filter").keyup(function()
[jQuery] jQuery Slide Panel
I am trying to make a slide panel using the slideToggle method similar to this one http://www.webdesignerwall.com/demo/jquery/simple-slide-panel.html My problem is that it is in the footer of my page and when it slides down it increases the page height because it is almost the last thing on the page. the slide down effect is fine but the slide up starts shaking all over and is pretty ugly. You can see this happening on the example above if you make your browser small enough in height to where the
[jQuery] ajaxForm works like normal flow
Once I clicked a submit button, my servlet is processing the data submitted through through ajaxForm. In the servlet I use the following code to write a string to response: ---------------------------------------------------------------------- PrintWriter out; try { response.setHeader("Pragma", "no-cache"); response.setHeader("Expires", "0"); response.setHeader("Cache-Control", "no-store"); out = response.getWriter(); out.println("good");
[jQuery] autocomplete and updating different fields from delimited string
Hi all, I'm using rhe great jquery autocomplete plugin which works great. But Im returning a pipe delimited list so I can return more data and then populate specific fields with that info. So for example my autocomplete would return pipe delimited data like so for each line. Top Gun|0001|11/22/06|10/31/06 Top Act|0002|11/22/06|10/31/06 In the display results of the autocomplete I wouldnt want to display the full line just the first value of the pipe delimited string. So it would display: Top Gun
Help converting DOM Javascript to JQuery
Hi everyone. New guy. I'm super new to JQuery, and one of the first things I need to do is convert a small piece of Javascript to JQuery. I'm having a tough time finding any tutorials on the Web, so I was hoping someone could help me out or point in the right direction or whatever. It's an easy piece of code that takes the data from one drop down menu and uses that to populate a second drop down: <script> function GetXmlHttpObject(handler) { var objXMLHttp=null; if (window.XMLHttpRequest)
[jQuery] Always-on Tooltips on image with usemap areas
I'd like to show "tooltips" on usemap images with multiply defined AREAs and their associated title tag text. And I'd like to show them all displaying by default, so they show as dynamically generated captions. I've been using kemayo's excellent Map Hilight at http://plugins.jquery.com/project/maphilight which has an option to display all AREAs by default, but I can't figure out how to add any text. Is anyone aware of any Tooltip plugins that do this, or how Maphilight could be modified to do this?
[jQuery] Using .fadeOut() then .html("")
I have some text that is in a div that I would like to fade out, then I want to clear the HTML of that div. But, it seems that the fadeOut doesn't get run before the HTML gets cleared: setTimeout(function() { $("#ajaxResult").fadeOut("slow").html(""); }, 5000); Did I do something wrong here?
Nested Tabs
Hi, I'm in badly need of Nested Tabs examples. I have done lot of Google and not finding my requirement. Can somebody help me! My requirement is very simple: 1. Need nested tabs. Only two levels parent and child 2. When any child tab is selected and again clicked on any parent child, the child tab should always highlight the first tab not the one selected earlier. my email ID: gopidada@gmail.com Thanks in advance.
[jQuery] Disable globals for jQuery.get()?
Hi, I have this bit of code that runs on page load: $.get(token, function(txt) { $emailStory.append('<input type="hidden" name="ts" value="' + txt + '">'); }); But it triggers ajaxStart/ajaxStop... I have tried: $.ajax({ url: token, global: false }); But that does not seem to help... I assume that is because $.get() is not $.ajax(). Is there any way I can use $.get() but have ajax*() events ignore the $.get() request? Thanks for the help. M
[jQuery] Questions about Flexigrid
Hello, I wrote a Mail to the developer of Flexigrid, but I got no answer :-( So I try to ask here: 1.) Is it possible to set the column width to auto, so the rows fill the complete width of the Grid? 2.) Is it possible to set the height of the Table to something like 'auto', so the Table fills my Content Div? I know, "auto" set the height, so it displays all rows. 3.) Is it possible to a add parameter, that the grid posts back to my server script? I hope, somebody can help me on this. Thanks and
[jQuery] Processing.js Google Group Now Formed!
Head here: http://groups.google.com/group/processingjs And discuss! I already have one question and don't want to post it here on the jQuery board so I figured I'd go ahead and create the group. Cheers. Joe
[jQuery] argument list
I have some jquery code like so: $(document).ready(function() { nextPage ( 'div#advance, div#next a, div#prev a' ); }); function nextPage(clicker) { $(clicker).click(function () {... So the user can click any of the places in the argument list to start the function. Now, is there any way to figure out WHICH place in the HTML they clicked - in other words, which argument is being passed? I did a simple alert(clicker); and it seems that no matter which area on the page is clicked,
[jQuery] Valid jQuery on Development fails on Production
I am writing a fairly basic script using jQuery. However, the script behaves differently depending on whether I am running it on my local Web server (localhost) or on a production server. On development, the following code returns the HTML I'm expecting: $('#objID').siblings('.mAddress').html(); On production, the same statement returns undefined. The document structures are the same on both machines. The only difference I can find is when I use Firebug to step through the script. On the development
[jQuery] Accordian menu + FadeIn - some weirdness...can someone help me?
I am making an accordian menu with 4 main buttons. All buttons should be closed at start. When you click 1 button the content area should slide down and then the content should fade-in. I have for the most part written the script to create this effect however i see some glitches with it. When you click the next tab i can see the two buttons at the bottom moving up and down slightly. Its not a huge deal, but i would rather them not move at all. I only want the button i click to move. Here is my script,
[jQuery] ocupload incompatible with ui.tabs
Hi, I have a very big problem using your great plugin with the ui.tabs plugin. If the element (a link) passed to the ocupload is in a tab not currently visible, then when I show that tab, the link initialized by you plugin is invisible; with Firebug I see that the div that wrap the link has height: 0 in the style attribute, 'cause the <a> element itself, when the container tab was hidden, has that zero height. To explain better here a test case: <script type="text/javascript"> $(document).ready(function()
[jQuery] Opacity in IE
I have some animation I'm working on that works fine in Firefox but not in IE. I have two issues: Part of the animation is fading out an element. I want to integrate this with the animate function and not use the fade out option. I've tried using filter : "alpha(opacity..." but that didn't help. The callback function, which essentialy resets the animation behind the scene, doesn't work. I figure a URL would be better than me putting in code. Plus, I can't remember if I need to wrap my code in order
[jQuery] How to uninstall the
<div dir="ltr"><div>I have a jQuery-based script that performs some updates on the current page (using the load method), and eventually visits a second page, by resetting window.location. </div><div><br class="webkit-block-placeholder"> </div><div><div>This works fine, but if the user hits the back button, the whole sequence is repeated, including the re-loading of the second page.</div><div><br class="webkit-block-placeholder"></div><div>I'd like to prevent this behavior. Is it possible?</div>
[jQuery] Some examples don't work on Firefox 3.0.3 on the Mac
Has anyone else noticed some of the examples (like drag/resize) do not work on Firefox 3.0.3 on Mac OS X 10.5.5?
[jQuery] treeview: prendered + cookie persistence
I'm using treeview (version 1.4.1) with the 'prerendered' option in combination with 'cookie' persistence. This seems to work fine until the page with the treeview is build from scratch (as opposed to refreshed as a result of pressing the browser back button for instance). Because I build the prerendered treeview with all nodes collapsed, all list items initially have the 'expandable' class set. After the persistence logic has done it's thing, one would expect the 'expandable' classes of the expanded
Conflict with jquery.innerfade and jquery.tabs
Hi, I'm new to jquery, however, I have used a couple jquery scripts online and modified the CSS slightly, however, although they work there are some issues which I need a bit of help with. I've incorporated the scripts into this site http://www.ruddygorgeous.com/newsite6.html The innerfade script http://medienfreunde.com/lab/innerfade/ used in the header appears on top of the corner banner despite the innerfade script being on a lower div. Is there any way of displaying the corner banner and have
[jQuery] The Accordion Experience
While at the TAE in Boston, I have tried to use the accordion widget "on the spot" to organize my conference notes. I have looked up the Accordion documentation and put the code together. It did not work. After a brief conversation with Richard Worth (thank you!) it turned out that I did not read well enough into the Accordion's assumptions on the DOM structure. The documentation touches well on the "standard" cases of using lists, but it was unclear on how to use it with structure based on divs,
[jQuery] Ajax/load help with external javascripts
Hi, I'm a jQuery newbie. Basically, I'm trying to load an html file into a div when a button is clicked. The html file contains external .js and .css files for the Greybox widget. I can't get Greybox working, do I have to do something special to load the js and css before the load method? Appreciate any help. --------------- test.html --------------------- $(document).ready(function(){ $("#btn").click(function(){ $("#demo").load("greybox.html"); }); }); --------------- greybox.html ---------------------
[jQuery] A plugin registry?
Hi, When I use JQuery often I need to use plugins. What annoys me slightly is I have to download each one and put in some arbitrary place in my directory. This process is a bit slow, find plugin, download it, add script tag, and use. It would be really good if there was a central place where JQuery plugins could be loaded from dynamically like Google provides for JQuery. google.load("jquery", "1"); If there was some registry feature then I could do something like jqueryPlugins.load("pluginname");
[jQuery] cycle plugin causing container to be thrown to the right ( in IE6 & IE7 )
I'm using the cycle plugin on this page: http://oliverstephenson.in/home If you disable JS and check, it'll be positioned properly. But once the JS is applied, the container (#features) is thrown off to the right, outside the page (causing a horizontal scroll bar), only in IE6 and IE7. Works fine in other browsers. What do I do about this? Thanks!
[jQuery] Different jQuery object when having prototype loaded
Here, only jquery is used: http://owu.myaiesec.ro/index.php?id=43 Here, we also have prototype and scriptaculous http://owu.myaiesec.ro/index.php?id=41 You wont see any error in Firefox. You'll see errors in IE. But no jquery code is correctly executed (or is not executed at all) What i have found is that the jquery object itself is different on the prototype page. And i find that weird. //no prototype jQuery('div') returns a collection of objects //with prototype jQuery('div') returns the jQuery
[jQuery] JQuery validate problem
I have a problem.where i use the jquey validate plugin for my project. I want to use the validate like this: <s:textfield id="name" name="userGroup.name"/> but it does not work . i should make the id and name property as same. or named the id as "cname" and name is "name" if i use the struts2 framework and want to use name like xxx.yyy,what can i do to resolve this situation? 3x
[jQuery] jcarousel revers
http://sorgalla.com/projects/jcarousel/examples/static_auto.html http://sorgalla.com/projects/jcarousel/examples/special_circular.html How to make carousel Engine from left to right, if we take this as an example, where the merry-go-round moves right to left in a circle, how to make a reversal of such an event? Thanks for the help, sorry for the translation
[jQuery] jcarousel revers
http://sorgalla.com/projects/jcarousel/examples/static_auto.html http://sorgalla.com/projects/jcarousel/examples/special_circular.html how to make carousel Engine from left to right, if we take this as an example, where the merry-go-round moves right to left in a circle, how to make a reversal of such an event? Thanks for the help, sorry for the translation
how to return any elements which mouse over when right click
as the title, i made a simple context menu, when i right click, i want return a element which mouse over at that time
Next Page