[jQuery] Exec'ing JS In load()ed content for IE
I'm using jQuery's load() function in order to pull content from the server and stick it into a div. This content has both html + javascript inside it, and I need to get the javascript actually evaluated for IE6+7. Firefox handles javascript fine for both inline + externally referenced libraries, eg: <script language="javascript" src="/path/to/lib.js" type="text/ javascript"></script> and <script language="javascript"> alert('some js code running here!'); </script> The above does not work with
[jQuery] Exec'ing JS In load()ed content for IE
I'm using jQuery's load() function in order to pull content from the server and stick it into a div. This content has both html + javascript inside it, and I need to get the javascript actually evaluated for IE6+7. Firefox handles javascript fine for both inline + externally referenced libraries, eg: <script language="javascript" src="/path/to/lib.js" type="text/ javascript"></script> and <script language="javascript"> alert('some js code running here!'); </script> The above does not work with
[jQuery] A few questions about JQUERY
I have a few questions about implementing JQUERY. First, I am relatively new to "WEB 2.0" methods, so please be patience with what might seem to be silly questions. I think I need to see an example of how we might be able to use JQUERY or better said, how we might be able to "add" it to our current framework. I'm done alot of reading, research, etc over last 4-5 months and it now it seems to me that we need to take a take back into the balcony and concentrate on framing our data layer with XML and/or
[jQuery] jQuery.js vs Protocol.js
I just came around something with jQuery that is somewhat discouraging after all the positives I have been experiences with jQuery. Maybe there is an answer to this. One of the "selling points" I had plans to make in helping to introduce and promote AJAX into our package and to our customers was a illustrate quick implementations of AJAX to embed other existing URL displays in "windows" on the same page. A good example is the "top stories" right-side box display at: http://www.winserver.com which
[jQuery] fckEditor fails on show();
<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> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;}
[jQuery] $.ajax question
Is there a way to pass the $.ajax object a form id or will i need to convert for form to a string.object and pass the data like that? -- View this message in context: http://www.nabble.com/%24.ajax-question-tf4257664s15494.html#a12116633 Sent from the JQuery mailing list archive at Nabble.com.
[jQuery] Plugin Function
Hi, I have a plugin which creates links dynamicly, this is all fine. The problem is I want to remove the links also but since the link is created dynamicly I can't used a simple $('a').click since it won't be there on first load. I need to somehow link to a function inside the plugin. Example code below. jQuery.fn.link = function(options){ var settings = jQuery.extend({ someSetting: 'Removed' }, options); // On Button click add link $('#button').click(function() { $('#div').append('a href="javascript:
[jQuery] merging arrays?
ok let say i have these 2 data objects: options1 = {url: null, replace_id: null, number: 0} options2 = {url: 'test,php', replace_id: 'test'}; How would i merge these two objects so that the 2nd object override the first object data is it exists? -- View this message in context: http://www.nabble.com/merging-arrays--tf4257239s15494.html#a12115485 Sent from the JQuery mailing list archive at Nabble.com.
[jQuery] pagination
I was wonding is a plug exist for jquery to handle pagintion? -- View this message in context: http://www.nabble.com/pagination-tf4250056s15494.html#a12095618 Sent from the JQuery mailing list archive at Nabble.com.
[jQuery] show() is really slideDown...?
Is this right? I'm using show() but I can see it sliding in (animated) from upper left to lower right. I'd like it to simply show the layer. $("li#up" + last).show("fast"); Am I missing something completely blatant here? ;)
[jQuery] Problem animating with marginLeft...
I have this: $('#mydiv').animate({marginLeft:100}, 500); it works just fine in Firefox and Safari. In IE (6 and 7) I get "Invalid argument". If I use this instead: $('#mydiv').css({marginLeft:100}); It works in ALL browsers, including IE. What's wrong? The comment above the animate() function even uses marginLeft as an example
[jQuery] Delayed activation of "required" test with jquery.validate.js
Using the current version of Jörn Zaefferer's jquery.validate.js... The proof-of-concept script code and markup below (pasted in and simplified somewhat) seems to work as it says on the tin. Error notifications of various kinds appear in the specified span element when undesired data entry is perpetrated. Except... the desired interactive display of the "required" notice only appears after "activating" a field by putting something in it and then coming back to it and clearing the content. I can see
[jQuery] Creating Custom Classes
One thing that i like from mootools is the way to create custom classes. like in mootools i could do this var ajax_request = new Class({ options: { //class members... } initialize: function(options) { this.setOptions(options); } //more methods }); ajax_request.implement(new Options); and then i code do in the code: var some_request = new ajax_request( { url: 'ajax.php', //etc.... }); and now i have access to the ajax_request through the some_request variable. is something simliar to this possible
[jQuery] Creating Custom Classes
One thing that i like from mootools is the way to create custom classes. like in mootools i could do this var ajax_request = new Class({ options: { //class members... } initialize: function(options) { this.setOptions(options); } //more methods }); ajax_request.implement(new Options); and then i code do in the code: var some_request = new ajax_request( { url: 'ajax.php', //etc.... }); and now i have access to the ajax_request through the some_request variable. is something simliar to this possible
[jQuery] Creating Custom Classes
One thing that i like from mootools is the way to create custom classes. like in mootools i could do this var ajax_request = new Class({ options: { //class members... } initialize: function(options) { this.setOptions(options); } //more methods }); ajax_request.implement(new Options); and then i code do in the code: var some_request = new ajax_request( { url: 'ajax.php', //etc.... }); and now i have access to the ajax_request through the some_request variable. is something simliar to this possible
[jQuery] $.getJSON ?
Can anyone tell me what is wrong with the following. I am new to JQuery and I do not know if I am doing anything wrong here. I am not just looking for an answer, I am trying to understand what is going on here and I do not understand by looking at the existing jquery.js I have or searching the web for jquery stuff. I realize their are Flickr scripts to addon to JQuery, but I want to understand JQuery. $(document).ready(function(){ //INIT Stuff // Your code here alert('Document Ready'); var url =
[jQuery] [OT] Wordpress and embedding javascipt for individual posts
Hey Guys and gals, Sorry about the off topic here, but asked the question on the wordpress forum and did not come up with a method that made sense. What I am trying to do is post my plugins to my blog (wordpress), but I don't want to load unnecessary code for all pages. For instance, I want to post my shuffle plugin in one post and I don't want have that code for all post. <br clear="all"> Thanks in advance. -- Benjamin Sterling <a href="http://www.KenzoMedia.com">http://www.KenzoMedia.com</a>
[jQuery] Jquery (thickbox) trouble with IE on heavily loaded pages
Hello folks, I'm trying to use Thickbox. The page is here: http://www.alakhnor.com/post-thumb/ So, it works fine until, at some point, it doesn't work anymore. On a side note, I've tried to use jquery without Thickbox on the same page, in another way and got the same result. So, I assume that either, there is something I don't get, or jquery cannot handle that much wrapping under IE. What'd you think?
[jQuery] rating plugin: how to pass an extra parameter
Hello, I have several things that can be rated in one page. As html, I added an hidden field that contains the id of the element I voted on: <form action=/url/to/vote method="post" class="rating" title="Average Rating: 3.4"> <input type="hidden" name="key" value="42" /> <label for="vote" class="avg">Rate Me!</label> <select id="vote"> <option value="0">0</option> <option value="1">1</option> The plugin doesn't use that key item as a parameter to the post, only the rating choosen. Is there an option
[jQuery] jCarousel vs jCarousel LITE
I have looked at both of these plugins. How would i decide which one to use? Basically i just the carousel to show the thumbnails and then below the carousel the large image will appear. Thanks Ashok
[jQuery] [Plugin] DynaCloud Plugin
Another plugin that's not mine, but very handy: http://johannburkard.de/blablog/programming/javascript/2007/08/06/dynacloud-a-dynamic-javascript-tag-keyword-cloud-with-jquery.html DynaCloud is a jQuery plugin that generates tag or keyword clouds from text on web pages and highlights matching parts once a keyword is clicked. -- Tane Piper http://digitalspaghetti.me.uk This email is: [ ] blogable [ x ] ask first [ ] private
[jQuery] [Plugin] Wordstat Plugin
This isn't my plugin, but I came across this today, and found it handy: http://www.hovinne.com/blog/index.php/2007/08/09/135-jquery-wordstats-plugin From the site itself: The jQuery wordStats plugin tries to determine what a page is about by computing the density of its keywords. It uses a simple algorithm which adds a variable weight for each keyword occurrence, depending on its 'position' in the document. Although this computation model is quite simple, I get good results with all sorts of documents.
[jQuery] The Right Sprite
<span style="font-family: trebuchet ms;">Ive been experimenting with icon sprites. Specifically how to manage them for a RIA that has many many icons with several states.</span><br style="font-family: trebuchet ms;"><span style="font-family: trebuchet ms;"> Check out my findings here: <a href="http://commadot.com/?p=590">http://commadot.com/?p=590</a></span><br style="font-family: trebuchet ms;"><br style="font-family: trebuchet ms;"><span style="font-family: trebuchet ms;"> <span style="font-weight:
[jQuery] Usng JQUERY
Plesae excuse I am being redundant here. I find it alittle frustrating that I my mail take such a long time to get posted here. This will probably take long too. But I think if I just spell it out with what I think I need in order to use JQUERY, then maybe can provide a quick example. Thats all I need is an example. I have this C structure at the server side that holds "session node information" typedef struct tagTwcNodeInfo { DWORD NodeStatus; DWORD ServerState; DWORD ConnectionId; char LastCaller[SIZE_NODEINFO_LASTCALLER];
[jQuery] Java integration
This was mentioned on another thread, and there were at least 2 other people interested in it, so I think it warrants its own thread. What are people's thoughts on some sort of jQuery integration with Java on the server side? This is exactly the setup my company runs, and we'd be interested in investing some resources in building such a thing, but I don't really see the benefits. Maybe something to tie in client side validation with Hibernate Validator? A nice thing about javascript libraries like
[jQuery] Validation Form problem
Hi, I am trying to use the Validation plug-in but I have the following error : missing } after property list [Break on this error] rules: {\n Here is the simple code : $("#form_contact").validate({ event: "keyup" rules: { "lastname": "required" }, messages: { lastname: { required: function(element, validator) { return "Indiquez votre nom de famille." } } } }); Thank you for any help !
[jQuery] trouble with the tablesorter and using a "running" message
I'm loving the table sorting plugin and I'm trying to get a "sorting..." notification going. I've found this demo site: http://bitten.ufsoft.org/demo/ that has it working. It seems you have to attach the functions you want run on sortStart/Stop. I've added the methods like so so my site's js file. $(document).ready(function() { $(document).sortStart(function(){ $("#sort_running").show(); }).sortStop(function(){ $("#sort_running").hide(); } ); // code for the tablesorting on the results page $(document).ready(function()
[jQuery] ie playing up!
I want to create a page that when it loads, the content is brought on to the screen using jquerys show method, when the user navigates away, the page colapeses and the loads the new page. a sample is available here: www.chantrybeeproducts.co.nr/jqueryani/ i am having a few problems, i was wondering if some one could help, in ie whe the main body of the content, it flashes up before it is shown and after it has been hidden? what is casuing this is their a way arround it?
[jQuery] Excluding an element part of a selection
Hi JQueriers, I have a question about selectors. First of all, I have the following html: <div id="content"> <a href="#"> <input type="checkbox" name="option1" value="Novedad1"> Novedad 1: HOla holaaa </a> </div> As you can see, I have a div an inside it a link which has a checkbox an text. Well, what I would like to do is to associate a click event when the user clicks on the link, but with an exception: This event should raise when the user clicks anywhere
[jQuery] Validate() error - "jQuery(a).data is not a function" ?
<HTML > <HEAD> <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD> <BODY > <DIV> <TABLE CELLSPACING="0" CELLPADDING="0" BORDER="0"><!-- Letter Heading --> <TBODY> <TR> <TD><!-- Left margin --> </TD> <TD> <DIV><FONT face="Trebuchet MS" size=2><SPAN class=338112314-10082007>Hi all, </SPAN></FONT></DIV> <DIV><FONT face="Trebuchet MS" size=2><SPAN class=338112314-10082007>I have a form, generated with php, which spits out
[jQuery] [Repost] Problem with 3D Carousel and IE6 + 7
Hi, I'm trying out the 3D Carousel from the Interface plugin and have problems with making it work in IE 6 and 7. In Firefox it works great. While initializing the carousel, IE chokes on line 118 in the fullsize source of carousel.js. The line reads: image = jQuery('img', this).get(0); The error code from IE is: "The object doesn't support the property or method." You can see the code here: http://www.askascandinavia.com/de/products.lasso I'm using the latest jQuery and the latest Interface plugin.
[jQuery] Turning a checkbox on and off
How do you check and uncheck a checkbox from jQuery? And how do you determine if a checkbox has been checked or unchecked? I tried attr and css and none of them worked. Thanks Mitch
[jQuery] jQuery Corner Demo
Hi, I'm new to the group and thought I would share a really helpful demo I found. Hope you guys like it. http://methvin.com/jquery/jq-corner-demo.html - Matt
[jQuery] Simple expandable tree view
Hello, I am trying to get a tree view thing working in jQuery, but I don't want anything overly complicated like some of the tree view plugins I have seen (and tried to customise). My code is modified from http://pixelcarnage.net/articles/development/jquery-collapsible-menu/ (currently down) and can be seen at: http://www.njday.com/jquery/search3.html. This code will be used as a very basic file/folder browser. Under "Section B" I have an "li" with a value of "InnerFolder", which I would like to
[jQuery] Form Plugin > Opening up PHP
Well my php and forms run fine, but when I click submit it jumps into the PHP page when it should stay put and submit data without opening PHP in the window. Code: Jquery: $('#myform').ajaxForm(function() { return false; alert("Thank you for your comment!"); }); Page echo "<form id='myform' action='edit.php' method='post'>"; echo "Article: <input type='text' size='3' value='$artid' name='artid' />"; echo "<textarea rows='28' cols='130' name='body'>"; echo $row['article_body'];
[jQuery] Using jQuery to parse a string
I want to parse a string of the following form: var s = title.string1-color.string2-size.string3 How do I create a struct with the three strings? h = {}; h['title'] = s.match() h['color'] = s.match() h['size'] = s.match() Can you help me do the rest? Would I just want to use the .match javascript function and some regex, or is there a neater way to parse strings?
[jQuery] Back Button Control and History Plugin
I'm struggling to implement back button control. I've got several buttons, variables, divs, and a large json array holding product data that I need store in the history every time a button is clicked. The demo for the history plugin is very simple and it doesn't show how to do anything as complicated as what I need to do. Has anyone else already gone through this and can show me a more complicated working example from which I can learn? I'd appreciate that very much. By the way, I just got the "Learning
[jQuery] JQuery populating div with AJAX
Hi all I'm looking to populate a div with information from a database ... don't want to pass any parameters to the serverside script, just want the div updated according to my query if the db record sets are modified, is .ajaxStart() the appropriate function for this? I'm basically looking to have the jquery poll the server every X seconds. Since HTTP is a connectionless protocol, I'm not entirely sure what the proper way would be to stop/start the request using good practices. In pseudo-type code
[jQuery] SevenMagOnline.com Feature blocks
Anyone have any idea how to do something like this in jQuery, I think it's built using mooTools, that's in the js calls anyways... http://www.sevenmagonline.com/ The 4-thumbnail blocks on the homepage just beneath the large flash movie of features, that click and expand on mouseover. The click they used soundManager2, which I've experimented with and didn't have much success in IE. Anyways the expanding part is what I like, I guess it's just an expand on hover, and the other div's resize accordingly.
[jQuery] [NEWS] Great Book Review of Learning jQuery
It looks like you can add Ajaxian to the list of folks that are raving about Jonathan Chaffer and Karl Swedberg's new book, "Learning jQuery". They've posted a very positive article about the book. Be sure to check it out here: http://ajaxian.com/archives/review-of-learning-jquery Great work Jonathan and Karl!
Next Page