[jQuery] Superfish with scripted dom page
Hello Please help me with this problem. I tried everything and just can't see what is wrong. Superfish works fine in Firefox and IE7 as long as all elements are written as html. As soon as the page is scripted as follows, IE7 no longer allows the Superfish menu to fly out. Firefox, on the contrary works flawlessly... ... blah, blah ... var z = $("<li>").attr('id',p); $('#navigation').append(z); var y = $("<a></a>").attr('innerHTML',klassen[a] ).attr('href','#'); $(pk).append(y); var w = $("<ul>").attr('id',q);
[jQuery] Superfish and 3rd/4th level expanded
Hy everyone I found a few days ago the superfish menu, I I like it, but at the moment I've a problem and I don't know how to solve it: my menue structure is the following: first level second level third level fourth level The normal openening is no problem: but I need it in the following way: at the start I see only first level (is ok) if I put my mouse on an item in the first level, i want opened not only the second level, but all further levels behind the second level also. I hope there is a solution
[jQuery] getJSON - how do you make it work?
Hi I'm trying to get some JSON content using the $.getJSON function, but it just won't work!! I started out using ASP.NET to generate a load of JSON, but decided to create a simple text file with a JSON string in it instead. Here's my JavaScript: $.getJSON("/test.txt", function(data) { alert("I got the stuff"); }); $("#msg").ajaxError(function(event, request, settings, error) { $(this).append(" " + error + ""); }); And my test.txt file contains: { "offer": { "id":
[jQuery] tableSorter: modify existing parsers?
I was going to modify the standard "digit" parser for the tableSorter plugin to fix the other problem I reported here: http://groups.google.com/group/jquery-en/browse_frm/thread/c5d1ecc422e68a89 but I found out that it seems impossible. It's very easy to add a new parser using $.tablesorter.addParser() method, but there is no interface for updating the existing parsers. If the author has no objections, I would humbly request adding this possibility in any way it seems suitable. Maybe even by modifying
[jQuery] small problem with animate({width: }) !
Hello, I'm workin on a Horizontal accordion, here's the demo : http://localhost/clients/duettographics.com/ that I got it from a tutorial, but I've a strange problem with last block, it doesn't shrink back ! Thanks for ur time, Mahmoud
[jQuery] getJSON from http to https
I have a script that makes a getJSON call to a https located script while itself being http. Is there any chance to make this work without browsers giving me a URI denied error So http://somedomain.com/ includes a getJSON("https://somedomain/", etc Thanx in advance
[jQuery] tableSorter: correct handling of a non-standard decimal (proposed bug fix)
By default, tableSorter assumes that decimal point character is '.', and assigns a "text" parser to a column that contain strings like "123,45". There is an undocumented (why?) property "decimal", which helps tableSorter understand that these are in fact numbers: $(...).tablesorter( { decimal: ',' } ); But, alas, this property is NOT USED by a "digit" parser, when actually sorting the records! Therefore, the number "123,45" becomes "123", and you [might] get incorrect sorting. This can be fixed very
[jQuery] Combing cycle and validate plugins
Hi all I have a form which I've broken up into 4 parts using the cycle plugin. What I can't figure out is how to (or if I can) validate only the parts of the form which are visible at the time. Ideally, I could use the validate plugin to do the validating. The code bits are: ------ <script type="text/javascript"> $(function() { $('#slideform').cycle({ prev: '.prev', next: '.next', timeout: 0 }); }); </script> ... <form action="xx.php" method="POST"> <div id="slideform"> <div> <!-- div #1 -->
[jQuery] Dialog over fisheye
Hi, I have a fisheye interface, and onclick I am trying to load a remote url on a modal dialog. The remote url works without any javascript in it, but when I include js files.. it doesn't work. I want to load a calendar in the modal. Can anyone here please help me out. - Anush
Access form generated with jQuery.get()
Can't seem to access a form that was generated with the following code: Page test.php contains a div element (id='form_block') and also a link that calls for: $.get("create_form.php", function(data){ $("div#form_block").html(data); }); the HTML data generated by create_form.php contains: <form name="the_form" method="post" action="some_page.php" onSubmit="validate_form()"> <input type="text"value="mmmm"/> <input type="submit" value="submit"> </form> I figured I should include the function validate_form()
[jQuery] min-imize scripts?
What does everyone use to min-imize their scripts and plugins?
[jQuery] make certain modifications after clone()
Hi, Is possible to make a few modifications to wrapped elements before cloning them to a new copy? Many thanks!
[jQuery] Whitespace problem with Ajax and JSP
<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] option to see evidence of jquery binding in the html markup?
It's great to have separation of concerns with jquery, removing javascript from the markup, but I've noticed that it can be difficult to start to understand how an application works (say you've inherited an app for instance) if there's lots of jquery bound events, and no evidence of that in the html page. I'm wondering if theres a way (options, plugin, etc) to have jquery add some kind of attribute to the elements, which are being bound, so that someone looking at the runtime page can more easily
[jQuery] Probably obvious, but...I can't store text in function using $(...) format
I receive text from an ajax call. I want to store it in a DIV, let's say 'id="xxx". If I do the following, nothing happens: $("#xxx").val(msg); or $("#xxx").innerHTML=msg; BUT, if I use the DOM, it works! document.getElementById("xxx").innerHTML=msg; How can I use the $(...) format within functions? TIA
[jQuery] jQuery BlockUI
Is it possible to use jQuery BlockUI for a non ajax submit? If yes, how?
[jQuery] Superfish menu overlap other superfish menu
Hi, I'm Cristian and was using the superfish menu. I placed two menus in one html one in the top and other in the middle. The problem is that when i activate the top menu it is overlapped for the middle menu in IE7. I wanna now if there are some crack to avoid that overlapped.
[jQuery] i18n plugin proposal
<div dir="ltr">Hi, I would like to have some feedbacks on a i18n plugin I've made: <a href="http://haineault.com/blog/62/">http://haineault.com/blog/62/</a> Thanks </div>
[jQuery] Var and a child
I am trying to var to work as a selector along with an additional class, but I must have something wrong. var myVar = "#testDiv"; $(myVar ".statusColor").css("background-color","#DBF18A"); <div id="testDiv"> <span class="statusColor">Test</span> </div> I need to select the child of the myVar, but the selector seems to be incorrect.
[jQuery] Advanced flydom plugin use and IE browser hell
Hi all, I tried explaining my problem on a new blog I started. I have a really good working flydom based code base and I don't want to change from it. I works really good. So far. I happen to build a table up dynamically from JSON input, I use it everywhere and so far I didn't use a checkbox inside a table TD element. I started working on this with FF in my left hand, jquery and offspring in the other. I managed to control this nicely within FF but once I started testing under IE It didn't work and
[jQuery] Reinit $(document).ready()
How do I trigger the ready() event listener on content that is dynamically loaded via ajax? I am loading a chunk of html into a div has a bunch of items that trigger the same scripts previously loaded. How do I get jquery to reinit all the listeners from $ (document).ready() on the content that is newly embedded in the dom by the ajax script.
[jQuery] Combining plug-ins: capturing ajax events
Hello, I'm trying to combine two plug-ins (tablesorter and ui-tabs) and capture ajax events from one to trigger a behavior in the other. I'm using ui-tabs to load html with data tables via ajax, and I want to make the tables sortable with the tablesorter plug-in. Unfortunately, only the first tab's content is sortable. Can anyone offer advice about how to do this? This does work in Firefox 2/Mac, but no other browsers. Here's a URL... http://demo.orau.gov/nasapostdoc/about-fellows/tests/ui-tabs.htm
[jQuery] XSL changing in XML object during html() call
I'm having trouble using the html() function to place XSL in a XML object so I can parse through it using the find function. The code is: var newel = $("<xml>"); newel.html([xsl as string]); When alerting newel.html() immediately after, the XSL has changed and an xsl:template node and the xsl:stylesheet node are closing early. For some reason, it is not happening with all xsl files. I've also tried $("<xml>" + [xsl as string + "</xml>") which causes a slightly different result, but still not correct
[jQuery] Jquery update input value not working in IE7
I am building a google maps application, where the latitude and longitude are set into a pair of fields, and if either of those changes, the value of a hidden field gets updated. var $setcoords = function(){ var coordsfield = $(this).siblings('.coords'); var latval = $(coordsfield).siblings('.latitude').attr('value'); var lonval = $(coordsfield).siblings('.longitude').attr('value'); var latlonval = (latval + ',' + lonval); $(coordsfield).attr('value', latlonval); }; $('.latitude, .longitude').change($setcoords);
[jQuery] clueTip positioning around image links
I am trying to use clueTip to create a Netflix-style effect where if you hover over a thumbnail it will create a clueTip with more details and a larger image. The clueTip is attached to an anchor which wraps an image. The functionality works ok, but the position of the clueTip feels very random. It is also possible for the clueTip to be shown beneath the mouse cursor which causes the hover to lose focus and the clueTip gets in a loop of loading/closing/loading. To fix this, I would like to pin the
[jQuery] jQuery equiv of Prototype: bind() and curry()
Prototype Doc: http://www.prototypejs.org/api/function A friend of mine is not converting over to jQuery from prototype because he doesn't think that there are jQuery equivs of these prototype functions. Can someone please prove him wrong? :) The bind function is not the same as the jQuery bind function...
[jQuery] ANNOUNCE: jQuery Conference 2008 - Registration
<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hey everyone,<div> </div><div>Just wanted to let you know that registration for the jQuery Conference is now open (<a href="http://events.jquery.com/)">http://events.jquery.com/)</a>. Here's the blog entry [1]:</div><div> </div><div><div></div><blockquote type="cite"><div>Registration for jQuery Conference 2008 is officially open. Register now to ensure your spot!</div><div>As announced, this
[jQuery] [autocomplete]Problem z-index with shadowbox
Hi, I am using shadowbox (http://www.mjijackson.com/shadowbox/) I try to use an autocomplete field in a shadowbox, but there are some display issues. When I type something in my autocomplete field (which is in a shadowbox), the event is triggered, and I received the data as expected (I use the remote autocomplete). But I can't see the matching datas under my textbox. They are "under" the main shadowbox container. I've tried playing with z-index in "skin.css" (shadowbox stylesheet) and in "jquery.autocomplete.css"
[jQuery] Jquery for mouseover menus
I am doing a basic mouseover menu. I am using hover to swap the image inside an a tag. The problem is when the mouse moves moderatly fast the jQuery does not catch that the mouse has moved out. My js code: <script type="text/javascript"> $(document).ready(function() { $("div#nav a").hover( function () { $(this).html('<img src="images/navPlaceHolderRed.gif">'); }, function () { $(this).html('<img src="images/navPlaceHolder.gif">'); } ); }); </script> and my html: <div id="nav"> <a href=""
[jQuery] [treeview] animated in ie7
hi, I'm using the teeview with animated property, in FF it works fine and IE7 i get a jump when i close a branch after it finish the animation. any body has a solution for that thanks
[jQuery] Hover flickers when mousing over select box
http://patterntap.com/hover-test.html Check out the URL above for the test case. The flicker happens in all browsers (IE 7, Firefox and Safari). The "showonhover" appears on when the parent div is hovered over. Inside "showonhover" is a SELECT box. When I try to select an item it causes the entire hover area to flicker. Any thoughts on why this is happening and how to fix it?
[jQuery] jQuery Cycle - custom thumbs
Hello, I'm looking for a way to use custom thumbnails with the pagerAnchorBuilder. I'm using a CMS to output custom cropped thumbnails for each slide image. Is there a way to use those thumbnails for the pager instead of generation thumbs of the full image? Thanks for the help. -- View this message in context: http://www.nabble.com/jQuery-Cycle---custom-thumbs-tp18992795s27240p18992795.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] jQuery Cycle - custom thumbs
Hello, I'm looking for a way to use custom thumbnails with the pagerAnchorBuilder. I'm using a CMS to output custom cropped thumbnails for each slide image. Is there a way to use those thumbnails for the pager instead of generation thumbs of the full image? Thanks for the help. -- View this message in context: http://www.nabble.com/jQuery-Cycle---custom-thumbs-tp18992795s27240p18992795.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] jQuery Superfish Redrawing Flash on Hover in Mac FireFox 2
Hello jQuery Community, I have run across a problem with the superfish plugin and I was hoping someone could help. Thanks in advance for any responses. I am using the Superfish plugin and beneath it is a Flash object, which I display using the <a href="http://blog.deconcept.com/ swfobject/">swfobject method</a>. This works fine in all major browsers on both the Win and Mac platforms, with exception to Mac FF2. On this browser, the Flash element gets redrawn on each hover of a list element in a submenu,
jQuery Fades
Hey All, Im in the middle of a project for a online radio station, what i want to do is read the current "track" and "artist" from an XML file, then display it on the radio stations website. I need it displayed a bit differently, i want the info to fade in, pause for 2 seconds, then marquee off to the left until the text i completely then run the cycle over again ... after the fifth time, i want it to check the XML file again, if its updated, then change the track and artist and so forth. Im very
[jQuery] [ANNOUNCE] Toaster plugin
I've just released a toaster plugin Project page: http://code.google.com/p/jquery-ui-toaster/ It's inspired by Miksago's experimental toaster plugin that was no longer maintained: http://code.google.com/p/jquery-ui/source/browse/branches/experimental/ui.toaster.js Note: It's beta release and it have been tested only on Firefox and Konqueror yet, so it's most likely broken under IE and probably work fine under Safari. Feedbacks and comments are more than welcome !
[jQuery] Converting from Prototype...
I am trying to convert a site over from Prototyp to jQuery, and am having some issue find an example of how to convert the below code. Essentially all it does is allow you to request a url, it then updates a span with the result of the link. new Ajax.Updater('Span_To_update', 'URL',{asynchronous:true, evalScripts:true }); return false; Any help is appreciated. Thanks!
[jQuery] question about the behavior of .height() and .width() behavior
the documentation describes height()/width() as "Get the current computed, pixel, height/width of the first matched element"... except it isnt. the borders and padding are ignored. considering borders and padding are in fact part of the element, then the returned value is far away from the "computed pixel height/width" of the element, rendering these functions as effectively useless because they dont take the whole box model into account. is this the intended behavior, or is this a bug?
[jQuery] Play a Quicktime movie in a div
I need to incorporate Quicktime movies into some web pages, and would like to emulate the floating div effect that is common on Apple's web site (click a link to an img or movie, and instead of loading a new page, it displays a div with a nice shadow and the background dims). From what I can tell, they're using prototype and scriptaculous. I'm [of course] using jQuery everywhere else on the site, and I'd like to [if possible] not resort to another library or non-jQuery plug-in if possible. In fact,
[jQuery] jqModal starts greyed out in firefox 2
I'm trying to integrate jqModal into an existing project (following along the examples verbatim), but the modal window that pops up is greyed out in firefox 2. I found something about IE having this trouble (change position to "absolute" to fix), but nothing about firefox. IE, Safari, Firefox 3 all work as expected. I tried disabling all add- ons, but it's still greyed out. What should I look at to diagnose? What can cause this?
Next Page