[jQuery] Superfish Help Required
http://www.i-cre8.co.uk/sf-menu/ I am trying to get Superfish to work with *my* css styling conventions and have got stuck and would appreciate some pointers as to where I am going wrong. The menu works perfectly as a pure css menu with js turned off, but with js on the dropdowns only appear after you move off the trigger link (links one and three). Using Superfish 1.4.1 and jQuery 1.2.2 Thanks, Dave Buchholz.
[jQuery] Is this the best way?
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body bgcolor="#ffffff" text="#000066"> Hi, I was just wondering if there is any better way to accomplish that. Some divs has 'level' attribute, with a number. If that number is bigger than X, will remove the div. var x=4; // simulating level=parseFloat($this.attr('level')); $('.qualif').each(function() { if ($(this).attr('level')>x)
[jQuery] Coda Type Slideshow
I've just started with jquery, and I'm looking at producing the following: I've just started looking at jquery, so I'm a complete jquery/ajax rookie, but I was hoping to create a slideshow for my personal photo blog that I hope to launch end of Feb. I wanted to create something similar to the coda effect, so the coda-slider is ideal. However, I just really want to check that what I plan to do is feasible. With the slider (& the coda site) it relies on the divs actually being present in the content,
[jQuery] jqModal -Unable to fade in overlay
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face
[jQuery] $.get and $.getJSON
Hi, i encounter problems with the getJSON method when i do that: $.getJSON("http://localhost/jas/www/rmt.php5?action=airport_state", {country: $(this).val()}, function(json) { $.log(json); }); nothing happends. there is even no connection trace in firebug but $.get("http://localhost/jas/www/rmt.php5?action=airport_state", {country: $(this).val()}, function(json) { eval("var a = "+json); $.log(a); }); works fine php sends header("Content-type: application/json"); so thats fine to. jquery
[jQuery] How to logically AND selectors?
Hi. The docs describe selectors of the form selector1, selector2, selector3 as "matching the combined results of all the specified selectors", by which they mean the set union of all the individual selections. In other words, the ',' here behaves like a logical OR. Is there a succinct way to perform the correspond logical AND? I.e. what's the best way to obtain the set intersection of multiple selections? TIA! kynn
[jQuery] Superfish 1.4.1 update released
Hi everyone, Just a quick announcement to help keep interested parties up-to-date on the progress of the Superfish menu plugin. I just released version 1.4.1. In addition to some code optimisations, some notable changes are: - more optional callback functions to hang your enhancements off. I'm hoping this will mean that if you have ideas for new functionality that do not justify being in the core itself, you can now add it via the callbacks leaving the core lean and easily update-able. - version
[jQuery] Selector Containing Variable
I'm having trouble with a jQuery selector that contains a variable. I'm trying to target an element that has a class of "orderInfo" and an id of "billy" So, I set a variable: var tabText = "billy"; ...and it works if I use the string: $(".orderInfo[id='billy'"]; ...but not the variable: $(".orderInfo[id=tabTest"]; ...but of course I need it to work with a variable {insert appropriate emoticon here}
[jQuery] Parsing external XML files - Events Format
Hi! Im working in a project that needs to parse like 10 external XML or RSS resources of events. Some of this XML resources uses this format: http://web.resource.org/rss/1.0/modules/event/ <ev:startdate> <ev:enddate> <ev:location> <ev:organizer> <ev:type> Other resources are not using this standard tags, they use tags in different languages like: <titulo> <fechainicio> <fechafinal> <categoria> another example: <title> <description> <startdate> Some of this events have description others dont. Some
[jQuery] Multiple Superfish on the same page problems
I am trying to have 3 different vertical lists that have flyouts for navigation. Here is the site (I know it is a mess right now): http://visitpalmbeach-com.alivedns.com/default.aspx Problem is the second and third menus get displayed horizontally. The flyouts works but the display is borked. If you mouse over the Kayak Tours & Rentals you will see the fly out in the first menu. If you mouse over Attractions & Arts you will see another menu working just displayed crazy. Thanks for any help!
[jQuery] Problem with sortables plugin (interface.js)
Please, help! I can't understand. I'm using plugin "interface.js" - sortables. I have 2 dropables fields and some sortables elements. It's works in FireFox and Opera, but in IE, once I grag one element, next time it's can not be dragged: http://test.mkechinov.ru/rc/rc.htm - dont worry about symbols - it's Russian. Try to drag one element, drop it and then drag again. What is wrong in code?
[jQuery] hi, im looking for some jcarousel help. more than one on same page?
http://groups.google.com/group/jquery-en/browse_thread/thread/7e44db31deae3703/8909400f98de18c8#8909400f98de18c8
[jQuery] Multiple jCarousel 's on one page
hi. i have a site where i need two different carousels on the same page. each carousel has a different purpose with different items and different controls. how can i go about getting this done? it seems to me there would be a css conflict issue with the jquery.jcarousel.css file. how do i specify 2 different css files for each carousel?
[jQuery] [SITE SUBMISSION] Sapitot Creative
Sapitot Creative is a Design firm that recently redesigned their website. jQuery is being used to enhance page transitions and to give a little flair to the print and web portfolio sections. What is real interesting is the unconventional use of jQuery-ui.tabs plugin for the main navigation. Check it out: www.sapitot.com
[jQuery] idle.slashdot.org uses jQuery
Not much activity on the site yet (its new), but its nice to see that they appreciate and use a great javascript library
[jQuery] Inline "hover menu" needed
Hi, I'm looking for (likely) a plugin that will allow text/images to overlay a small menu when hovered on, disappearing onMouseOut after a second or two. Example: http://www.medhelp.org/posts/show/418157 Something similar to the ContextMenu plugin would be great, if you could set the trigger to onMouseover versus right-click. Any ideas? Thanks, SEAN O ________________ www.sean-o.com -- View this message in context: http://www.nabble.com/Inline-%22hover-menu%22-needed-tp15191011s27240p15191011.html
[jQuery] there is a conflict ui.resizable.js and ajaxpro
resizable will not be able when using ajaxpro,the javascript error: "c[0] has no properties" code: for(var i in this.options.modifyThese) { var c = this.options.modifyThese[i]; c[0].css({ width: modifier.width ? modifier.width+c[1] : nw+c[1], height: modifier.height ? modifier.height+c[2] : nh+c[2] }); }
[jQuery] UI.TABS - how to load content when tab is selected
I have a tab that I don't want the content (generated from a separate .php file) to load untilt he user selects the tab. How can I do this? TIA
[jQuery] Too many autocompleter plugins
Fellow earthicans... A year ago I needed an autocompleter and tried Dylan Verheul's plugin (http://www.dyve.net/jquery/?autocomplete). I found that it lacked a few things and had some bugs I can't remember any more. Later I stumbled across a derived version at http://www.pengoworks.com/workshop/jquery/autocomplete.htm. It was a bit better but I couldn't switch off subset matching properly. Example... Pengoworks code: options.matchSubset = options.matchSubset || 1; My patch: options.matchSubset =
[jQuery] Fighting a closure
This code works... $("#port0").click(function() {bigchart(0)}); $("#port1").click(function() {bigchart(1)}); $("#port2").click(function() {bigchart(2)}); $("#port3").click(function() {bigchart(3)}); $("#port4").click(function() {bigchart(4)}); Naturally, I want to do this: var portname="#port"+i;
[jQuery] JQuery - Interface question
Hi all, I just built out a search page using the Jquery Interface plug-in. Specifically the slider function. You can view it on this page: http://www.totalbeauty.com/reviews/product_finder Unfortunately, the prices do not update as you slide the sliders. They update when you stop and unclick. I used one of the demos as a base, and did some minor tweaking. So, I have no idea why the prices aren't updating on the fly. Here's the demo I used: http://interface.eyecon.ro/demos/slider_minmax.html Any help
[jQuery] JQuery UI and ExtJS
Hi there, I tried to nest an ExtJS TreePanel into an Accordion menu (provided by jQueryUI) like this : -Header1 -Header2 MyTree -Header3 When I click on Header2, the TreePanel works fine (on FF only, IE doesn't seems to work). If I click on another header and come back to Header2, the the accordion doesn't seem to adapt his size to the tree : some of my child nodes are hidden. Any idea to fix that? Thanks for your help.
[jQuery] inserting adsense
Hello, I am trying to insert adsense code as follows: var ads = $(this).text(); /// the adsense code goes here $(tr).append( '<td colspan="5">' + ads + '</td>' ) ; $(tr).addClass('ads'); $('table#' + tablename + ' tr.header').after(tr); Nothing happens. If I put some other html code into scalar ads, it works. Any idea? Thank you, Felipe
[jQuery] Tab Effect
I have a set of tabs that use the sliding doors technique. The tabs are built on an unordered list, with each tab being a list item containing an anchor. Each tab is decorated by placing a graphic in the background of its list item for the left part of the tab, and the background of the anchor for the right side of the tab. These graphics then need to be switched out to display the "active" view. The actual html page is not changed. This tab navigation just triggers the visibility of various areas
[jQuery] changing content for span tag on the fly
Hi Can someone please tell me how i can change the text between span tags on the fly using jQuery I have tag like this <span id="scrollStats" style="font-size: 70%; width: 80px; text- align: center; position: absolute; bottom: 392px; left: 15px;"></span> i have tried these but none seem to work $("#scrollStats").val("im here!!"); $("#scrollStats").setText("works?"); Thanks!
[jQuery] [Announce] New Menu plugin
Hey all, additionally to my clickMenu plugin, I've created a new menu plugin called...uhm... "menu" (the name will be changed in the first real release, as I've just seen that the new UI-menu will be called the same. Maybe someone knows a good name? ;) ). The most notable features (and differencing it from clickMenu) are that menus can be created through html markup or javascript and that the plugin tries to position its submenus inside the visible area when there is not enough space at the right
[jQuery] Not a plugin but code for anyone trying to have collapse-able menu with cookies
Hi, I took the code from jQuery Accordion menu and am using the cookie plugin. while searching for a collapse-able menu I saw that a lot of people were looking for this but with cookies so when user refreshes..the collapse/expand state stay the same. I am new to jQuery and even javascript. But here I have jotted down something which is working for me. Experts out there: if you would like to add some suggestions on how to better do this..i'd appreciate it. I dont like the fact that i am different
[jQuery] Manipulation of <select> objects
I am working on a site where various dynamic content will be created each session. There will end up being between 1 and a very large number of select boxes on the page. Users are able to add items that need to be inserted into each select box. I found a plugin that allows me to addOption and adjust a select, but I can't seem to make it run through all select boxes on the page. I am quite new to jquery and any assistance would be very appreciated. Basically I need to know what selector to use to
[jQuery] jQuery in the wild: www.engenderhealth.org
EngenderHealth, a nonprofit organization, just redesigned its web site. They use jQuery in several places: menus, SIFR page titles, subpage "related info" links (in places), and even on its donation page. http://www.engenderhealth.org (Note: some Flash on the site, though I don't think it is required.) Anyway, looks pretty cool.
[jQuery] [ANN] Lily, javascript visual programming tool
Hi All- I'm happy to announce the first beta release of Lily, a Mozilla based visual programming environment written in Javascript. Lily is a modular framework that allows you to wire together Javascript library components graphically. Currently there are Lily modules that wrap components from the YUI, JQuery & Scriptaculous libraries. There are also modules that provide access to the file system, browser storage, network & graphics. Lily programs can be saved as standalone XULRunner applications
[jQuery] .clone not work in FF or IE, please help
my code: var append_to = self.element.children('.cr_tab_content'); var clone_element = self.element.children('#' + id).clone(true) $(clone_element).appendTo(append_to); When I do this my element is still empty but should be filled with the cloned element var append_to = self.element.children('.cr_tab_content'); var clone_element = self.element.children('#' + id).clone(true) $(append_to).append(element.html()); work fine but I want to make sure and events are carried over. any help please? -- View
[jQuery] tableSorter question: how to disable the last header?
Hi Guys, I would like to know, how to disable the last header. I don´t the last column with the option to sort. I have tried it (see below) but withou success. var totalHeaders = ( $('table th').length - 1); $('table').tablesorter({ headers: { totalHeaders : { sorter: false } }, widgets: ['zebra'] }); OR $('table').tablesorter({ headers: { -1 : { sorter:
[jQuery] How to insert google adsense with after()
I try to add google adsense after first paragraph of an article. Here is my code: $('.article p:eq(0)').after('<script type="text/javascript"> ...GOGLE ADSENSE CODE... </script>'); But it looks that tag script shouldnt be add into the DOM like this. Can anybody show me the right way?
[jQuery] Rolodex plugin anyone?
Check this out: http://devcenter.yesmail.com/com.yesmail.magellan.gwt.rolodexdemo.RolodexDemoApp/RolodexDemoApp.html Does someone feels like porting this to jquery? I would love to, but that's far beyond my reach for the moment. Besides, i'm actively working on jquploader2 in my scarce free time. Alexandre
[jQuery] New and better demos
Hi everyone Right before going on vacations, I improved the demos of both ScrollTo and LocalScroll. I Applied a common style to all of them. And simplified the code of LocalScroll's to make it work entirely with the plugin (no "raw" call to ScrollTo). I also added an AJAX version of the LocalScroll's demo, showing the use of the option 'persistent', which is IMO, quite useful. In short.. if someone's interested in checking.. here are the links: LocalScroll: http://www.freewebs.com/flesler/jQuery.LocalScroll/
[jQuery] Upgrading from jQuery 1.2.1 to 1.2.2 - What happened to "nodeType" attribute selector, e.g. not('[nodeType=1]') in IE?
All, in jQuery 1.2.1 I was using the following snippet, which I actually more or less took from the documents example page: $('p').contents().not('[nodeType=1]').replaceWith(' '); I used this to empty out some text nodes I couldn't control otherwise but leave other HTML elements alone. That wasn't working in IE any longer after I upgraded to jQuery 1.2.2. The following is: $('p').contents().filter('[nodeType=3]').replaceWith(' '); Is this a bug or is one not supposed to use "not" with such internal
[jQuery] jquery's drawing library problem
Hey! I'm having a problem using drawLine of the drawing library plugin. here is my code: http://pastebin.com/m54c8d5c8 What I'm trying to do is when a user clicks on an image, it draws a line connecting these points. See that at first I'm saving the first coordinates because there are no previous coordinates. It works on IE6 But not on FF 2.0.0.11 I've been over checking it but didn't find the problem. Thanks in advance, Eitan
[jQuery] jquery's drawing library problem
Hey! I'm having a problem using drawLine of the drawinglibrary plugin. here is my code: http://pastebin.com/m54c8d5c8 What I'm trying to do is when a user clicks on an image, it draws a line connecting these points. See that at first I'm saving the first coordinates because there are no previous coordinates. It works on IE6 But not on FF 2.0.0.11 I've been over checking it but didn't find the problem. Thanks in advance, Eitan
[jQuery] Is it possible to do this with Jquery?
I'm wondering if this is possible to do with jquery. An example of what I'm looking for can be found at the top of this page; http://www.scriptsearch.com/cgi-bin/jump.cgi?ID=687 The images are scrolling horizontally in a loop. On mouseover the scroll pauses, on mouseout, it starts again. Each image can be a link. Is it possible to do this with a ul of images and some jquery?
[jQuery] [Tablesorter] Avoid extra <tr>?
A table contains one sortable entry per row. Moreover, for every entry there is a second row directly following it, which contains more detailed information about the entry above. When sorting the table: the rows containing the detailed information are sorted as well and are, logically, no longer positioned underneath the entry. The detailed information needs to remain coupled to the entries when these are sorted... how to approach this? I guess the answer is somewhere in the html. Containing the
Next Page