[jQuery] loading content into a div (IE7 problems)
greetings, I have a div <div id="MyContent"></div> if i use $("#MyContent").load('content.html') then it works very fine in all good browsers, but for IE7 i get a)if div is empty - IE gives popup window "Permission denied" b)if there is content in the div, IE seems to keep trying to load the new content forever. What could be the problem? Thanks a lot in advance. :-) _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Plugins mailing list
Hi everyone, It seems the new place to post plugin-related stuff is in the plugins mailing list (<a href="mailto:plugins@jquery.com">plugins@jquery.com</a>). I didn't even know about this list until just recently, so not sure how advertised it is. Anyways just a heads-up in case, like me, you didn't realise it was there :) Chris _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Improve jqRnD plugin
I'm using jqRnD plugin to implement a dialog application, and I found it lacks min/max width and height, and resize callback supports, so I hack the jqRnD.js, and here is my code, I only test it in Firefox, and hope it'll be some useful. /* * jqDnR - Minimalistic Drag'n'Resize for jQuery. * * Copyright (c) 2007 Brice Burgess <bhb@iceburg.net>, http://www.iceburg.net * Licensed under the MIT License: * http://www.opensource.org/licenses/mit-license.php * * $Version: 2007.02.09 +r1 */ (function($){
[jQuery] dimensions plugin Mozilla bug
While playing with Ext I encountered a problem in Firefox whereby the offset function in dimensions was causing an elem.style error. The reason is that there is a do-while loop if options.scroll is set, and that loop will go all the way up to the document, at which point - if the browser is Mozilla - the code attempts to check the css for overflow not visible and falls over because document has no style. I fixed this in my version by modifying line 260 of dimensions.js and inserting a check for op,
[jQuery] blockui question
hey. is there a way to block only the form part, with loading message, and change the message once ajax got json parameter? like : load.... if php returns status {'status': 0, 'data': {'nickname': 'field is too short '}}; then... return else - write "success" and redirect or somthing? also, is there a way to animate that message box? -- View this message in context: http://www.nabble.com/blockui-question-tf3426405.html#a9550164 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________
[jQuery] Selector Help - Accordion style menu
Hello, I'm new to jQuery and I'm not sure if I have my selectors right and how to test. The first part of my JS (below) is working, but the 2nd part, the accordion stuff, is not. My relevant html and JS are below. div id="ancillary"> <div class="block first"> <div class="inside"> <div class="bar"> <h2>Recent Content</h2> <span><a href="#" class="pane_slider">open</a></span> </div> <div class="section"> <?php $hemingway->get_block_output('block_1'); ?> </div> <div class="clear"></div> </div> </div>
[jQuery] Problem with Star Rating plugin
Hey everyone I'm having problems with the star rating plugin written by Ritesh Agrawal. I've tried contacting him but he hasn't yet replied to my email, so I'm hoping someone on the list can help out. What is also odd is that it was working before, but isn't now. Here's the link to the plugin I'm using: http://php.scripts.psu.edu/rja171/widgets/rating.php The reason why I'm using this star rating plugin, and not the original one, is that this one allows me to implement a one star / unstar system
[jQuery] document ready not firing when loaded via ajax in IE
checkout $.getScript() on visualjquery.com under the ajax tab Thank You, David SENT FROM MY TREO 650 HANDHELD -----Original Message----- From: Marshall Salinger <marshall@salingermultimedia.com> Subj: [jQuery] document ready not firing when loaded via ajax in IE Date: Sun Mar 18, 2007 11:24 am Size: 547 bytes To: "jQuery Discussion." <discuss@jquery.com> Hey jQuerians, I am having trouble getting IE to recognize a script that is loaded with html via ajax. I tried both .get and .ajax and neither will
[jQuery] document ready not firing when loaded via ajax in IE
Hey jQuerians, I am having trouble getting IE to recognize a script that is loaded with html via ajax. I tried both .get and .ajax and neither will work. I can't get a simple alert to fire when the content is loaded. Everything works as expected in FireFox. I have done a few searches in the archives and tried implementing those solutions, but they didn't work. Can anyone point me in the right direction? Thanks, Marshall _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] Event not firing inside unhidden div
You are correct about the bind. Here's how I'd approach it..... $(document).ready(function(){ // Function to initiate our bind to the click event on the init(); // Bind the button which will always be bound $('#button').bind( 'click', function(){ $.ajax({ ...., success: function(){ // On a successful respond put the // into Our div (something)
[jQuery] Javascript "MVC"
Hi guys, just saw this posted on cakebaker. Wondered what people thought... <a href="http://cakebaker.42dh.com/2007/03/17/mvc-with-javascript/">http://cakebaker.42dh.com/2007/03/17/mvc-with-javascript/</a> Cheers, Chris _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Selector not firing
Maybe I've been looking at this for too long, but the following line just doesn't seem to be firing within $(document).ready() $('a[@href$=sponsorship.html]').attr ( "href", "/2007/sponsorship.html" ); I want it to change all links to a sponsorship.html page to a page by that same name in a different directory. There are other statements in that same document.ready() that seem to be firing perfectly. What am I missing, here? Thank you. Rob _______________________________________________ jQuery mailing
[jQuery] slideDown/slideUp problems when using tables
Hi, I am experiencing weird behaviour when using slideDown/slideUp on tables opposed to using divs. Has anyone experienced anything like this before. I'd rather use tables to create something like this http://www.khurshid.com/sebs/?page=portfolio, because css for this purpose is just a nuisance Cheers, Kush _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] show/hide (as animation effect) behavior inconsistent with other effects?
I've run across what seems to be several inconsistencies using .hide(...) as an animation, vs. the other base effects (jQuery 1.1.2). I'd appreciate it if someone could shed some light on whether the behavior is intended. Tested in FF2 & IE7, same behavior in both. $('#myDiv').hide(300).show(300); ...doesn't seem to queue the effects, or maybe it does but there's a bug in the final state of .hide(delay) so show() doesn't believe it's really hidden? Unlike the other base effects, .show() & .hide()
[jQuery] Ajax + Page title
Hi, I wanted to know is it possible to set page title using ajax. Actually I load certain content of my website using ajax and wanted to reset the title to suit the current display. But I didn't find any way to do this. Regards, Ritesh -- View this message in context: http://www.nabble.com/Ajax-%2B-Page-title-tf3421485.html#a9536262 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] itemWidth and itemHeight
I've got a vertical scroll with jCarousel inside a div with a width of 200px. The images that's beeing scrolled are 145px wide. At first, IE showed this fine but FF just showed half the image until i reloaded the page. (The image got cut vertically so the right side of the image didn't show.) Because all my images are 145px wide i then set the itemWidth to 155. Now i works in both IE and FF. But the images have different heights. And it's the same problem with FF (The image gets cut horizontal so
[jQuery] Right approach width .after() and effects
Hi, just started with jquery, respectively just switching from prototype/ scriptacolous to jquery... I wonder, how i can attach an effect to the html content that has been inserted on the fly with $.post (In this case it is a short help text that is inserted right after corresponding label form tags). Sample Code (excerpt): ... $.post(url, { page: attr }, function(data) { // this is the topic line $(el).after(data).fadeIn("slow"); } );
[jQuery] Can't figure out how to put this all together...
Hi, all... I'm trying to validate form inputs (individually onblur) and post a form to calculate a mortgage payment. This method involves jQuery on the client side and ColdFusion on the server side for validation. I've worked out the validation with no lingering problems. I can't figure out how to submit the form. Online demo: http://bodaford.whitestonemedia.com/html/trial_field_validation.cfm Here's the jQ I've got: <script type="text/javascript"> // Define CalculateMortgage in the global scope
[jQuery] Can't figure out how to put this all together...
A while back, I mentioned to Rey that I thought Mike Alsup's taconite plugin was a nearly perfect bridge for CF programmers learning ajax. It's time to see if I was right ;) First of all, go here and download the plugin: <a href="http://www.malsup.com/jquery/taconite/#download">http://www.malsup.com/jquery/taconite/#download</a> I install all of my javascript to a folder called /js in my web root. If you do something different, update the script tags below. Copy and paste this into a file called
[jQuery] json deserialization
Hello everyone, I am trying to figure out how to deserialize json data that is sent back as a response from a .post() call. I looked at the deserialization plugin 0.35 that fills out a form from json-like data. But what I'm trying to do is send back arbitrary data (data, error messages etc. depending on the response from the server function) that has nothing to do with a form - the call itself is not necessarily coming from a form. .getJSON() is doing a fine job at this, but is there a way to get
[jQuery] Test
Disregard, please. I'm having some posting/account issues ;) -- View this message in context: http://www.nabble.com/Test-tf3420133.html#a9532281 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] help with syntax, naming a function
I've written a little script that helps IE to correctly size a couple divs based on the size of the window. I need this script to run when the document loads, and anytime the window is resized (and I'll probably later need to run it when a certain event happens)... so I probably need to give this a name, and call it by name... and that's where I keep stumbling. beginner's question: how do I name this function? What I've currently got is not right but good enough to know the basic idea works: $().ready(function(){
[jQuery] Select in frames
Dear devs, I have a short question. Is there a jquery shortcut for the following js code: document.getElementById('myframe').contentWindow.document.getElementById('myframe').submit(); I am trying to programmatically submit a form in an iframe. thanks in advance, George. -- http://blog.gmosx.com http://cull.gr http://www.joy.gr http://nitroproject.org _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] JQuery Form plugin
Dear devs, I am using the JQuery forms plugin and I have a problem. I would like to post a form that containse a file, ie I have to use enctype="multipart/form-data". How can I set this up when using ajaxForm()? Is there an example how you can upload files using ajaxForm()? thanks in advance for any help, George. -- http://blog.gmosx.com http://cull.gr http://nitroproject.org http://www.joy.gr _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Passing the result of $("body").width(); to $("#element").width(val);
hello all, I'm very new to JQuery and I'm struggling, I've gone through the documentation and I'm still clueless. I am trying to do the following: Each time the browser window gets resized I want to measure the width of the body and use that value to set the width of an element. Here is my best attempt (I know this is wrong): $("#element").width(function() { $("body").width(); } ); Should I be using variables to store the value? I think I need to use a callback but I can't figure it out. _______________________________________________
[jQuery] jquery and style updates on page
I have a page that uses jquery for swapping classes (to hide/show content) and fade in and fade out. I've encountered one problem that occurs when after I show and hide a table row, it's containing cell and the sub table contained beneath it. Showing the hidden content is fine at first. The content fades in and expands as it would if it didn't have a display: none style attribute. However, after I hide the contents and the display it once more it shrinks to only take up about 50% the available
[jQuery] the pitfalls of jquery
I've worked on a project for about two months now that uses jquery for everything. Using such plugins as jqModal, blockUI, jqDebug, jqQuick, dimensions plugin, form plugin, and jqHighlightFade as well as some code I pulled out of other plugins (nextUntil (Jorn), bgIframe(?), pngFixer(actual code came from a post on the forum, I just made it into a chain-able plugin) and well as other plugins specific to this app. Feel free to take a look: <a href="http://ov-oba.informationexperts.com/">http://ov-oba.informationexperts.com/</a>
[jQuery] Possible BUG: One/Toggle inconsistant cross-browser
Hi all, I have made a test page to demonstrate this, but briefly: I am attaching a one('click',function(){}) to a button element and within that function I set the button to toggle between two other functions. IE toggles between the functions in the wrong order. Is this a bug? http://users.tpg.com.au/j_birch/toggleTest.html Thanks. Joel Birch. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jquery inside a loop... need suggestions to improvecode
<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:st1="urn:schemas-microsoft-com:office:smarttags" 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 11 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);}
[jQuery] Layout plug-ins / Creating a Dashboard
I'm going to be working on a "Dashboard" for an application that could contain X number of "widgets" (a "widget" would a block element of various width/heights that would contain charts and various threshold alerts.) Since a user will be able to configure which "widgets" are on their Dashboard, I need something that will dynamically lay out the widgets so that they best fit the Dashboard window. Before reinventing the wheel, I was just wondering if any one has seen any good plug-ins that might help
[jQuery] Layout plug-ins / Creating a Dashboard
Do you have a design comp that shows what you are trying to achieve? -David Dexter -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Dan G. Switzer, II Sent: Friday, March 16, 2007 2:39 PM To: 'jQuery Discussion.' Subject: Re: [jQuery] Layout plug-ins / Creating a Dashboard David, That's what I'm going to do to start. However, I'm wanting to come up with a solution that will arrange the <div> in a smarter arrangement based upon the number
[jQuery] Event->AJAX wait before animation completes
How can I get an ajax request (that is triggered by a click event) wait for an animation to complete (which is also triggered by the same click event) before it runs the ajax request? e.g. this is what I'd like to do: $('.ajax-div-slide').click(function (){ $('#ajax-div').ajaxSend(function(){ $('#ajax-loader').animate({height: 375}, 2000); }); //only start the ajax once the animation has finished $('#ajax-div').load(this.href); return false; }); As well as the above example, I've also tried:
[jQuery] Layout plug-ins / Creating a Dashboard
Dan, I did something similar and I just put each app in a div inside a container div and set the sub div's style attribute to float left. i.e. => (I wouldn't use inline styles... I just put those for example) <div id="container" style="width:700px;"> <div class="app" style="float:left;">App 1 Icon</div> <div class="app" style="float:left;">App 2 Icon</div> <div class="app" style="float:left;">App 3 Icon</div> <div class="app" style="float:left;">App 4 Icon</div> <div class="app"
[jQuery] jquery inside a loop... need suggestions to improvecode
<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:st1="urn:schemas-microsoft-com:office:smarttags" 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 11 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);}
[jQuery] jquery inside a loop... need suggestions to improve code
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" 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 11 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:Wingdings; panose-1:5 0 0 0 0 0 0 0 0 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt;
[jQuery] Move caret position Input type="file" after browse
<div>Use case:</div> <div> </div> <div>1. <input type="file"></div> <div>2. User clicks browse.</div> <div>3. User chooses file.</div> <div>4. Input value is changed to say path name.</div> <div> </div> <div>At this point, I want to move the carat to the end of the string, not the beginning.</div> <div> </div> <div>Any way in jQuery to do it?</div> <div> </div> <div>Glen</div> _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] cursor not showing in modal boxes
Hey guys and gals, I am using jqModal and the cursor is not showing in the forms that I have loading in there. Any ideas?<br clear="all"> -- Benjamin Sterling <a href="http://www.KenzoMedia.com">http://www.KenzoMedia.com </a> <a href="http://www.KenzoHosting.com">http://www.KenzoHosting.com</a> _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Removing readonly attribute from textarea
All, What's the 'correct' way to change a <textarea> to and from readonly. The following works for me, but I wanted to particularly check the removal: $("#myTextArea").attr("readonly", "readonly"); // Make read-only <br clear="all"> $("#myTextArea").attr("readonly", ""); // Make read-write Thanks, rob -- Rob Desbois Eml: <a href="mailto:rob.desbois@gmail.com">rob.desbois@gmail.com </a> _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] php - web service (ajax/jscript)
jake... now i'm laughing!!!! here's how i understand it with a very limited amont of time to research this. the basic ajax/jscript allows for asynch communications between the server that serves the jscript file. cross-domain issues arise when you'd want the ajax/jscript to not only communicate with the 'hosted'/parent server, but also to another server's api as well, (with this server being in another domain). this is why in the html/php, you'll have the following kind of code: <script> <src='http://www.google.com/api/maps/foo?....'>
[jQuery] php - web service (ajax/jscript)
Hi Jake. Thanks for the reply. I'll try to clarify. (Keep in mind, I'm not an experienced web developer!) As I understand Ajax, it's used to allow asynch interaction between client, and hosted site that the client js file is fetched from. In other words, if the client html/php has something to the effect: <html> <script> <src = 'http://www.homeserver.com/test.js'> </html> Even though the client html/php might be on the 'foo' site (www.foo.com/test.html), the test.js functionality is being served
Next Page