[jQuery] Dimension plugin added to jQuery core 1.2.6 is giving different results on IE and mozilla
Hi All, I am writing a custom suggestbox using jQuery core version 1.2.6 (just for learning purpose). The problem I am facing is to nicely position my dynamically populated list (using ajax) on the input box. I used the offset() method from dimensions plugin, and it is giving me nice results in Firefox 3 and Chrome browsers, but it is misplaced in IE 7. Please reply how should I use this method (or any other methods) to properly position my list on suggest box in any given browser. Below is my html
[jQuery] jQuery.ui modal dialog with themeroller theme?
I'm finding that if I use any of the themes generated by the ui themeroller, I cannot use them with a modal dialog. The form elements cannot receive focus.. But if I switch to a non-modal dialog everything works. Anyone know any way around this? I really do need modal dialogs, but do not understand the CSS well enough to role my own (at the moment..). Thanks. Shawn
[jQuery] cannot reset width value _ width(val)
Hi all, i'm trying to kill the last bugs of lisapram.com before letting the project go _ the issue i'm facing is that i can't manage or don't understand how to stop and reset the animation queue. To reproduce the issue please go here: http://www.lisapram.com/ click on one of the fifth line (big and fat) in the barcode at the center of the screen: it opens up to display a strip of images. Its width will gradually expand to 12900 px Now, click "refresh" , see the value of set number 5. It's gradually
[jQuery] filtering complex selectors
If there's a way, what would it take to be able to use complex selectors (those with " ", "~", ">", etc.) with filtering functions. For example, $( "div" ).find( "p>a" ); $( "p>a", $( "div" ) ); Thanks
[jQuery] Toggle between backgrounds
Hi, I have an element that when you click on it toggles between two background images. So far I haven't found anything in the documentation where I can do this easily. Can someone help me? Yours, Da-Huntha
[jQuery] Puedo indexar directamente los jquerys de Google?
Habrá algún problema si lo pongo en mi head ? <script type="text/javascript" src="http://jqueryjs.googlecode.com/ files/jquery-1.2.6.min.js"></script>
[jQuery] thickbox breaking other javacript functions
I've been working on implementing thickbox into my site, and I can launch the thickbox no problem, and the site works (all the javascript functions don't have a problem) before launching thickbox. However, once I launch thickbox, javascript functions that worked previously, no longer work. The link which opens the thickbox is part of an ajax page. So (it's kinda a long way to get to it). 1) go to this link http://ZiFiMusic.com/thickbox 2) when the page loads a list of artists, select an artist 3)
noob: JQuery button animation seperate to where its clicked
I have been trying to implement this button (http://docs.jquery.com/UI/Effects/Slide#source) into my page, I've been able to make it go to the bottom right but when I press it the animation occurs at the top left! How to get the animation to happen where the button is (at the bottom) and ..(*whisper* how do I change the "Description" link to the button?) http://lovelago.googlepages.com/test8.html
[jQuery] can jquery slide a whole page up and down?
I have been to websites in the past which I remember had no scroll bars, relying on buttons to navigate the site. I got the impression the whole site was a massive page, so only one section could be viewed at a time. The really nice thing was that going to a new page would slide there, instead of refreshing and blinking the whole browser window as with HTML. Can jquery do this?
[jQuery] ajax upload file deletes input's paths...
Hello everyone, I'm uploading some images with AJAX (using ajaxfileupload), with a for loop I upload more than one image... It works very well but I've got an issue under IE7... After that the images have been uploaded the paths in the input fields are deleted!!! This does not happen on FF2/3, Safari and Opera... It's very annoying because, using AJAX, I don't refresh the page and I need the paths to be there untill the last submission with the normal php/html form... I cant' write in it because,
[jQuery] is this usefull as an lgpl-ed component? canvas fancy ajax loader icon
i've made a loader icon based on the canvas tag.. demo up at http://mediabeez.veerman.ws/mb/ this is an early draft, and i intend to add a bit more features (like scalability) and themes.. but i'm wondering if there would be an interest in a component like this esp with the still difficult support for canvas in IE; http://excanvas.sourceforge.net/ http://blog.vlad1.com/2008/07/30/no-browser-left-behind/ BTW, this component does work in IE, it uses excanvas.. It just looks a bit worse than in FF.
Problem with localScroll Plugin
Hi everyone, some help would be greatly appreciated. Pls check out the link and see if you are able to tell me why it scrolls vertically in IE and horizontally in FF3, I would like it to scroll horizontally. www.eden-flowers.co.uk/eden.html Thanks
[jQuery] Subheadings in tables
Hi am trying to find ways to do this easily with jquery but so far have not found much for what I am looking for. What I would like is an easy way to add subheadings to a table when I perform a sort on the table. The tablesorter plugin works great for sorting the data...but what I would like to do is be able to have a subheading show up in the data table when I sort by a particular column. Any thoughts?
[jQuery] drag & drop not working under IE and Safari
Hi, I'm working on this drag & drop script: http://www.lesperimento.netsons.org/various/jquery-mousemove/ It works on Firefox and Opera but not at all on IE and Safari. The events seemed not to start at all... Any idea how to solve it? I tried to put some alert as well but they don't start, like if javascript were disabled. But it's not because in some other pages it works. Thank you in advance
[jQuery] Cycle: Direct link from another page
Is there a way to do a direct link to an arbitrary slide, from another page? I saw the demo where the link was on the same page, but this would be from somewhere that doesn't really know what slides exist (so it doesn't know which slide is where in the index.) For what it's worth, the slide itself has an ID -- #photo-x (where x is the drupal node ID, not the index of the slide); can Cycle or jQuery grab the URL that was called and match it up to the index, allowing the slide to be directly linked
[jQuery] conditionally prevent blur
Hello, I am working on a function that highlights an input's containing div when the input receives focus (to help draw focus on a very input heavy form). The function looks something like this: function highlightFields (e) { $(e) .focus(function () { $(this).css({"border":"1px solid #003399"}); $(this).parent().css({"background-color": "#CCCCFF"}); $(this).filter(":text").select(); //APPEND BOXESBOX $(this).parent().append('<div
[jQuery] Slides from the 2008 jQuery Conference
Hi everyone, Here are slides from some of the presentations given at this year's jQuery Conference: http://www.slideshare.net/event/jquery-conference-2008 We expect more to be uploaded soon. As for videos, which I know you'll ask me about, we have only a few sessions recorded and will upload the content when we can. Just bear with us. Rey...
[jQuery] 44670 data() calls
hi, im trying to tackle a problem at the moment, that problem is working wit ha .net developer, but that aside, we're trying to ge to the bottom of a problem.the dveeloper has wired up the template and whenever we click a link on thepage it takes forever to rerender, ie we're on default.aspx and we click the link to go to default.aspx and it takes forever. the script hangs and reports an error with the data() call on line xxx of jquery.js, which corresponds to the line data function is on. i#'m pulling
[jQuery] Am I rewriting something jQuery already does?
I'm new to jquery and I'm writing some code but I'd like to make sure I'm not rewriting something that already exists. Basically, I'd like to be able to do: $("#myAnchor").addBehavior($("#targetDiv", new MyNewBehavior); I implement a few functions for MyNewBehavior such as "buildURL" and "stuffToDoAfter". When myAnchor is clicked on, an ajax request is made to buildUrl (which might be a static URL or might build the URL from parameters), then targetDiv is filled with the html fragment that is sent
[jQuery] img load event not working
I can't get this to work for anything. I'm trying to set up an event to fire a trigger when an image is done loading. Neither of the following snippets end up ever calling the OnImageLoaded function. $("...").load(OnImageLoaded) $("...").bind("load", OnImageLoaded) I've cleared the cache to ensure it's not a caching thing. Can anyone see what I'm missing here? --- Jim ---
[jQuery] Proposal: new method for determining variables without value
Hi All This idea by James Edwards seems like a winner and an ideal candidate for a new jQuery core utility method: http://www.sitepoint.com/blogs/2008/10/16/techy-treasures-1/ Obviously his choice of name conflicts with the jQuery .empty() method however another name could be used such as: hasValue() This method would simply return a boolean response. What does everyone think? pd
[jQuery] stop link returning to the top
I found a script which provides a smooth scrolling action to give the impression of an infinite page. However as inexperienced as I am I failed to integrate it with another piece of code that controls a JQuery button. The following page has the page scrolling JavaScript and the JQuery button together, as you can see the "Description" link will scroll to the bottom of the page, but then go strait back to the top (this is only a test link I actually want the green button to be the link but I'm not
[jQuery] indicator.gif does not exist
Hello, First of all, congratulations for this great autocomplete plugin. I've noticed than on line 37 of the jquery.autocomplete.css , there is a call to some indicator.gif image : .ac_loading { background: white url('indicator.gif') right center no-repeat; } I haven't found any indicator.gif on the zip, I suggest to add it to the next release, or to change css definition to : .ac_loading { background-color: white; } Best regards, Eric Rogé
[jQuery] JQuery SEO Question
Hi I am creating a product page that has a jquery script that hides/ unhides divs to show the currently select product. I've just realised that we have too many products to load them all on the same page. Instead I want to load the content of each div in when they are selected. That means that the pages I am loading from will not be spidered as they are javascript loads. Doing a bit of reading I noticed that some people were talking about putting an anchor tag in too. What do I do, just put a load
[jQuery] sIFR troubleshoot
Hello, i'm a new one studying jquery and got caught on a little 'trouble'. While i was trying some animation effects, decided to try sIFR to replace some titles. Everything went fine, until i used animation and sIFR together. Whe the containers div have a hidden style the sIFR doesn't work properly =\ It seems to scale the flash object to fit the parent div. Here's the link with both versions: [Working] <a href="http://www.brunomacaco.com.br/testes/jquery/sifr/" target="_blank">http://www.brunomacaco.com.br/testes/jquery/sifr/</a>
[jQuery] Jeditable issue in Safari, Chrome
I am using the Jeditable plugin and I have noticed a small issue in Chrome and Safari. If I edit the text, submit it or click away, then try to edit again, the textarea appears, but it is extremely small. For some reason, the height and width values that I specify in the Jeditable parameters are not being applied the second time. Has anybody else experienced this? Here is my basic html and javascript: <p class="FavoriteNotes"> <span style="font-weight: bold;">My Notes: </span> <span class="EditNotes">This
Drawing Associations between two tables
Hi All, I have a requirement where I am dropping two (or more) tables onto a droppable surface, what I need to be able to do is to create a visable association between a row from each of the tables? A good example of where this is used is to create joins when connecting two database tables. Does anyone have any ideas of how to get started or can point me to a resource which could help (bearing in mind, I am looking on Google too!) Much Apprciated Phill
[jQuery] IE7, .find, .each, XML problem
It is simple...it works in FF and Chrome (haven't tried other browsers). Here is the basic code: $(messages).find('item').each( function(){ alert($(this).attr('id')); }); If I alert the "messages" before this you can see the XML data in all browsers. For some reason IE 7 will not go "into" the each part. Thanks for the help.
[jQuery] having trouble with scrolling in IE6
Hi there, I'm relatively new to jQuery and hoping you can help me. We've implemented a scrolling slideshow on the upper right part of this page: http://test.fakeclothing.net The left and right arrow buttons scroll the slides fine in IE7, FF2 and 3, etc. but it doesn't seem to work in IE6. From what I've read and seen jQuery seems to work fine in IE6 so my apologies if I'm missing something obvious. Thanks! Ben
[jQuery] My first plugin ... need some help.
Hello, I am trying to create my first JQuery plugin that does the following: On a form, when a button is pressed, a few form elements values are used to create a string (CSV format). This string is added to an ordered list and with a remove button to remove it from the list. Could someone, please, help me making this work. What I have is: (function($) { $.fn.AddToList = function(options) { var defaults = { formids: "input1, select1, input2", buttonId: "submit", listId: "items" }; var options = $.extend(defaults,
[jQuery] Drawing Associations
Hi All, I have a requirement where I am dropping two (or more) tables onto a droppable surface, what I need to be able to do is to create a visable association between two a row in each of the tables? A good example of where this is used is to create joins when connecting two database tables. Does anyone have any ideas of how to get started or can point me to a resource which could help (bearing in mind, I am looking on Google too!) Much Apprciated Phill
[jQuery] Jeditable and TinyMCE
I've been trying to follow Sam Currens excellent example on how to use TinyMCE with jeditable http://sam.curren.ws/index.cfm/2008/6/12/jEditable-TinyMCE-Plugin but i seem to have come across a slight problem, it the data is posted to a URL and not a function as per Sam's example, the posted data never gets returned to the div on submit, it loads the default text of "Click Here To Edit", I've tried to solve this problem myself but i'm quite the jquery nullie although i do think that this is a a jeditable
[jQuery] can someone please help with dynamic links problem?
Hello, I an quite new to jquery and hope someone can help with my problem. I am trying to load dynamic content in to a div(myobj)... the code i have so far is more or less as follows. it creates a box with 2 links, that it gets from 'name_ctg'. the links, are category names and when clicked should load products.php, with the right product, as was determined by the link that was clicked. I hope that make sense... now the problem is that only the first link works, the second link does nothing. I hope
[jQuery] jQModal loading separate urls into div
Hi, I was wondering if anyone had luck with using as persistent modal window. In other words, I have a .jgmAddClose element inside the div but I also want other links within the div to actually load new url in the div rather than the 'parent'... Thanks for any insight..
[jQuery] [autocomplete] How to show the list above the input
Hi there! Have a nice day! Well... I try the jQuery autocomplete plugin and work fine, but, I want to show the list of proposal terms above the input and not bellow the input. In the "Show" method of autocomplete plugin I try a lot of things, to change this line: top: offset.top + input.offsetHeight, For other like this: top: offset.top - options.scrollHeight, However, the results not is that I expected in every case. For example, the line above show the list in the place that I want, but, only if
[jQuery] JQuery SEO Question
Hi I am creating a product page that has a jquery script that hides/ unhides divs to show the currently select product. I've just realised that we have too many products to load them all on the same page. Instead I want to load the content of each div in when they are selected. That means that the pages I am loading from will not be spidered as they are javascript loads. Doing a bit of reading I noticed that some people were talking about putting an anchor tag in too. What do I do, just put a load
[jQuery] [validate] -- newbie getting started
I am trying to get the validate plugin and the form plugin to work together. I would like to use in HTML markup to describe the validation, as it seems cleaner to read to me. So, I downloaded jquery, form, validate, and metadata...whipped up a quick form and tried it out. From firebug, I can see that all scripts are being downloaded successfully. But no validations are happening on th email text input. The tag I thought would turn the validation on is: <INPUT Type="text" class="required email"> Here
[jQuery] .attr('height')
Hi all, I'm building a gallery, and so far it works in every browser except Internet Explorer, The problem is that IE (burns to hell) doesn't read these variables var height = $('#'+litebox+'>img.lite').attr('height'); var width = $('#'+litebox+'>img.lite').attr('width'); the alert (alert(litebox+'-'+height + '-'+width );) returns img1-0-0 and i really don't know why.... I tried to change the attributes height and width, in title and alt, giving the dimensions to the image in that way , and it works,
[jQuery] Combining selectors
I need help in this compound selector problem. I have the following jQuery statements, which are working: $("input[@type='button']").addClass("button"); $("input[@type='submit']").addClass("button"); $("input[@type='reset']").addClass("button"); I want to combine them into a single statement, such as: $("input[@type='button' or @type='submit' or @type='reset']").addClass("button"); or $("input[@type='button'] or input[@type='submit'] or input[@type='reset']").addClass("button"); similar to the Boolean
[jQuery] nooby question
Hi All, I want to change the border color of a div to white and at the same time change text inside to white. So Im doing something like this: $("#frame div").hover( function(){ $ (this).css({borderColor:"#ffffff"}).filter("h5").css({color:"#fff"}); }, function() { // another function }); Also going to add this: .end().filter("img").css({borderColor:"#fff"}); // not working too Can anyone help?
Next Page