[jQuery] how to trigger jCarousel callbacks from the outside..
That's basically my question for you guys.. How do you feel i should go about this? I have multiple instances of jCarousel started on my page and i can't seem to figure it out. What i want to do is load all remaining pics into their carousels by either an external event like a click. Is this possible? any help is greatly appreciated!
[jQuery] How to create a plugin?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.6000.16544" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=171513416-29102007><FONT face=Arial size=2>I've got a good idea for a fun plugin, but I'm not sure how to proceed. Is there a tutorial on how to create a jQuery plugin?</FONT></SPAN></DIV> <DIV> </DIV> <DIV align=left><SPAN style="FONT-SIZE: 14px"><B><FONT face="Century
[jQuery] Drupal Form + jQuery Forms Plugin + File Uploads (Drupallers & jQuery gurus please)
It was difficult to decide where I should post this. I think the issue is with jQuery though, I'm certainly no pro with jQuery, having only a few months experience. Let me explain my problem. I'm using a form which has a file upload, and also sends standard text data. This form I wish to be ajax'ed. I'm using this code: $("#node-form").ajaxForm(function(){alert("Thank you for your submission!");}); If I upload an image, I'll still get that message, but the image is not uploaded to image.module in
[jQuery] Instance embedded media-object keeps playing after new instance is created in jquery media-plugin
Hope somebody can help me with this problem: I have 10 links displaying 10 different streams. When clicking on link 1, I want to display stream 1 in div#player-window. When clicking on link 2, I want to display stream 2 in div#player-window. And so on... In Firefox this works well, but in IE the precending stream keeps playing in the background, when clicking on another stream and a new embedded object is created..... This is my code: $('.link).click(function() { $('#player-window').media( {src:
[jQuery] Weird checkbox comportment
Hello, Here is the DOM structure I use : <h3 > <label> <input type="checkbox" name="selectedMsg[]" value="15" /> </label> <a href="read-message-15.html" title="">Re : Title</a> </h3> <div> my text </div> And I would like to use a sort of accordion effect once I click the h3 node and avoid accordion effect if the click is on the checkbox. Impossible to do and any advice is welcome. Here is the js code
[jQuery] jQuery does not work when included in another JS file
I'm trying to include jQuery from within another javascript file, using this.. <-- JavaScript Include --> function include_js(name) { var th = document.getElementsByTagName('head')[0]; var s = document.createElement('script'); s.setAttribute('type','text/javascript'); s.setAttribute('src',name); th.appendChild(s); } include_js('jquery.js'); <-- JavaScript Include --> This however, does not work. It does not recognize jQuery... If I use this same method but include a js file that simply has an alert
[jQuery] Thickbox $().load error
Hey guys! I need your help!! I'm using Thickbox to which I load the html data from server.\ Everything works fine in FF but in IE6 when the jQuery $().load() is fired the error like this occurs: <div style="margin-left: 40px;"> "Could not complete the operation due to error 80020101" </div>I have no idea what does it mean! Is this a thickbox bug? Any sugestions?<br clear="all"> -- Regards, Adam Ludwinski <a href="mailto:adam@ludwinski.net"> adam@ludwinski.net</a> <a href="http://www.ludwinski.net">http://www.ludwinski.net</a>
[jQuery] Any jQuery plugin for image upload with preview?
Hi Wondering if someone here knows a plugin that would dynamically show the user what image has been uploaded. say the page has 3 text fields with browse button that lets users select which pic to upload and an upload button on each 3 text fields. if after clicking browse and upload on first element right on the side the user will see the image that has been uploaded. any jQuery plugin that comes close to this? Thanks
[jQuery] Taconite and
Hi! I've found that if I use the special chars " " instead of a space char in a taconite xml doc, I cant get the response doc to be processed by taconite; for ex: <taconite> <replaceContent select="#filemanager-address"> </replaceContent> </taconite> debugging with firebug I got only this: [taconite] Plugin Version: 2.1.7 [taconite] [AJAX response] content-type: text/xml; charset=utf-8; status: 200 OK; has responseXML: true [taconite] type: undefined [taconite] responseXML: [object XMLDocument]
[jQuery] Keepaway plugin-for the easily amused
I just got one of those gag surveys: "Are you happy with your salary?" where the "No" button runs away from the mouse. I figured I could use that on a web page someday so I wrote a simple plugin for it; see http://youngisrael-stl.org/wordpress/blogfiles/keepaway.html If there's any positive feedback I'll put it in the wiki.
[jQuery] Consider a standard documentations for plugins
Now, JQuery has many plugins, this is good. The bad side is different authors has different taste in writing documentation, I think it would be good to have a standard way to write documents, similar the one in the jquery doc., with examples, arguments description etc. It does not mean most authors are bad in writing documents, but using a standard way can help users to explore the plugin easier & faster. Also, it would be good if allow user to comment on the plugin just like what we have in php.net.
[jQuery] Stripped down AJAX methods
Hey folks, Before I go through the trouble, I figured someone might have already done this so I'll ask here first. I'm looking to strip jQuery of everything but the AJAX utilities. In particular, jQuery.Ajax() should be good enough. Need this for an application which I can't load the entire library into since it'll be iPhone-centric over EDGE (yuck.) If someone has the minimum required code, that'd be excellent. If not, I'll give re-creating it a shot. :-) Cheers! - sf
[jQuery] JQuery Validation plugib version 1.2?
HI Jörn? is version 1.2 ready? Thanks
[jQuery] detailed balloon?
hi, Does jQuery have something similar to this? http://www.netflix.com/BrowseSelection?sgid=307 It pops up a balloon over a image. A.C.
[jQuery] Fixing divs with jquery (adding </div>)
Hi, I've got a friend that bought a booking app a view months back. Now there is something wrong with implementation, because every time a particular (class="select_chalet") div is opened, it won't be closed. So, instead of waiting for the fix & repair bill, i wanted to try something else. This is the code: <!-- begin item --> <div class="select_chalet"> <div class="select_chalet_content"> <div class="select_chalet_name"> <!-- name + info chalet --> </div> </div> <div
[jQuery] Modding WYMeditor dialogs
I'm trying to load he WYMeditor dialogs in a seperate div instead of a popup window. This all works quite nice, but I have some issues when it comes to retrieving the submitted data and inserting it into the WYMeditor instance. Right now i'm stuck at the point where "var dialogType = jQuery(wym._options.dialogTypeSelector).val();" gets called in WYM_INIT_DIALOG(). The correct selected gets loaded, but jQuery does not return the appropiate object. Any idea's how this can't be working?
[jQuery] imagebox and jCarouselLite
can we use imagebox plugin with jCarouselLite plugin . i m trying to use it but getting wrong count in image box. code is as follow <div id=pre><button class=prev><<</button></div> <div class=carousel><ul> <? for($i=0;$i<$image_count;$i++) { $rw_Getimages = $rs_Getimages->FetchRow(); echo "$image_count"; ?> <li> <a style="height:100px;" href="<?=$URL_PATH?>/images/gallery/<?= $rw_Getimages['image_file_path']?>" title="<?
[jQuery] Hovering over jQuery retrieved HTML
Hello! I'm using jQuery to build a form dynamically. Here's how it works: You are presented with an input box. When you focus on the box a dropdown list appears that you can click on in order to insert the chosen option into the input box, or you can use the keyboard arrow buttons to select your choice. When you move to the next input box the page makes a call via AJAX to grab information for the input box based on the previous selection. The problem is that the ".hover()" function doesn't seem to
[jQuery] Image + map area + mouseout event
Hi all, I've got an image with a map area defined for it. Eg: <img id="myimage" src="img/myimage.gif" width="260" height="219" border="0" usemap="#myimage_map"/> <map name="myimage_map" id="myimage_map"> <area href="#" alt="foo" shape="polygon" coords="233, 135, 219, ..."> <area href="#" alt="bar" shape="polygon" coords="13, 125, 319, ..."> ... </map> I've got a mouseout event binded to the image itself : $("#myimage").bind("mouseout", function() { console.log("Hello") doStuff();
[jQuery] Jquery slideToggle shows jerk in animation
hi all, <script> $(document).ready ( function() { $('div#dflights').hide(); $('a#aflights').click(function(){$ ('div#dflights').slideToggle("slow");return false;}); } ); </script> <div id="dflights" style="padding:10px"> Provides directions, interactive maps, and satellite/aerial imagery of the United States. Can also search by keyword such as type of business. </div>
[jQuery] Uploading file in Safari
Hi, It's a common problem when comes to uploading file in Safari, most of time it will failed, is there any solution to this with jQuery's file upload plug ins? A.C.
[jQuery] Bug?: AJAX w/ dataType: 'script' doesn't allow POST's with Opera
I've discovered something of a 'bug'... I have a page which generates a $.ajax() call with type: "POST", dataType: 'script', .... This works great in FF & IE, but fails miserably in Opera (I'm using 9.24).. At first I thought jQuery just wasn't able to send POST commands in Opera (jQuery Forms sent my form as a GET..).. I've played with variations and it seems that it is the dataType: 'script' that is hanging me up. I change this to anything else and it gets the code. Of course the problem is I'm
[jQuery] Weird Tabs Question
Hey, all - I've got a strange situation going on with tabs: The first tab in the list needs to be a 'Show All Links' tab (which will display all of the other tabs in one long list). The thing is, using something like this: -=-=-=-=-=-=-=-=-=-=-=-=-=- var tabPanel = jQuery(this); var tabPanelBar = tabPanel.children(":first"); var tabPanelTabs = tabPanel.children(":not(:first)"); tabPanelBar.children(":first").bind("click", function() { jQuery(this).addClass('active').nextAll().removeClass('active');
[jQuery] Superfish and IE6 issue
Joel, I'm currently implementing your superfish JS function into a vertical navigation structure and so far, it's worked out great. There is, however, an issue with IE6 as it doesn't open the menu at all and for the life of me I cannot figure out why. I'm using JQuery 1.1.4 and Superfish 1.3 with the bgIframe plugin. I've posted the site as it stands now out at the following web URL. Any help in fixing this is very much appreciated. http://216.120.230.80/~rieekan/home.html - George
[jQuery] Ok... I give up... why is this message occuring?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <META NAME="Generator" CONTENT="MS Exchange Server version 08.00.0681.000"> <TITLE>Ok... I give up... why is this message occuring?</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">Hi, all..</FONT></SPAN></P> <P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">I</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">’</FONT></SPAN><SPAN
[jQuery] getting inside attribute?
Hi, Given following, is there a way to get the value of 'display'? is it 'none' or something else? thanks, AC. <label for="state" style="display:none;">
Dropdownlists - how to get the selectedIndex
How do I make the below a jquery code. I'd like to be able to retreive the this.selectedIndex value. I don't know how to do that. js: I have a function f taking a parameter i html: I have: <select onchange="f(this.selectedIndex)"> <option></option> <option></option> </select>
[jQuery] Subscription problems
I changed my subscription options to "Abridged Email" and I still get each posting. I think it comes from some email archive service that I sign in with previously and I can't find link to it any longer (I signed through jQuery.com website) Any ideas?
[jQuery] thickbox & interface z-index
hey. im using interface Sortable plugin and thickbox 3. the problem is happeninig when im trying to drag a item inside thickbox item.... its just putting the sortable item in the back and hides it , because the z-index or somthing how do i slove it? -- View this message in context: http://www.nabble.com/thickbox---interface-z-index-tf4706873s27240.html#a13453219 Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] No click-response after inserting embed-mediaobject with jquery media-plugin
Hi All! I have a problem and hope somebody can help me. I created an embedded windows media player object with the jquery media-plugin. This object has id="wmplayer" and plays a stream on my page. This works very well. But now I want to play the stream fullscreen. This is what I did: (on page): <span id="fullscreen">play fullscreen</span> (jquery): $('#fullscreen').click(function() {wmplayer.displaySize = 3;}); But now nothing happens. It looks like the function doesn't recognize #wmplayer.... Who
[jQuery] Imagebox plugin onClick event
Hi, I am working on Imagebox jquery plugin.I works on document ready event.But in my script i want it to work on mouseclick Event.I tried to make it work but not successful.Can anyone tell me how can i perform this functionality.In short i want imagebox slideshow onClick event.Your help will do a great for me.
[jQuery] Extra code for re-instantiating interface:imagebox -- after ajax load methods
I just wanted to post this information, related to interface>imagebox usage - it is a really great plugin, btw! I spent a wee bit of time trying to debug FF issues - related to loading imagebox html using jquery's ajax methods. Seems it stalled after first click - that is when clicking second image of hml loaded via ajax >> the script stalled. -- subsequent clicks did not load image....... I perused these and other forums - with no answer. What I discovered is the need to remove residual imagebox
[jQuery] Image Box OnClick Problem
Hi, I am working on Imagebox jquery pluging.I works on document ready event.But in my script i want it to work on mouseclick Event.I tried to make it work but not successful.Can anyone tell me how can i perform this functionality.In short i want imagebox slideshow onClick event.Your help will do a great for me.
[jQuery] why this will fail in Safari?
Hi, I try to set a selected option in a Select box, the following code works without jQuery function defined, once I un-comment the jQuery part, it works in Firefox, but not in Safari any more, please help, Thanks. A.C. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Untitled Document</title> <script
[jQuery] like ContextMenu plugin, but with left clic and submenu
Hi Friends i'm looking something like ContextMenu plugin, but it works with left click and have submenus, another pluging that i have seen need to construct ul tag for every link, but ContextMenu for instance you can make ul and you can attach ul menu and javascript for all rows in a grid.. . thanks
[jQuery] Checkboxes and radios
I'm trying to control N checkboxes, when one is selected or unselected, I need to enable/disable a radio next to the checkbox something like this: ( ) [ ] (o) [x] the marked one, turn the radio clickable I start this code $('.form-checkbox').each( function() { $('.form-checkbox:radio').attr('disabled', $(this).attr('checked')); }); <br clear="all">It returns every checkbox, but I cant figure out how to find the radio object from each one Thanks in advance for any tip :) huge hug Feijó
[jQuery] drawing on mousemove - performance problem
Is there a way to reduce the cpu load when I do something like this (and move the pointer very fast on the screen): $(document).mousemove(function(e) { x = e.pageX; y = e.pageY; draw([x,y]); }); Something like, "wait until the browser is ready" ?
[jQuery] jQuery incorrectly passes URL field as POST
When calling an AJAX function with the POST method, there is no way for me to edit the GET fields of the URL because they are incorrectly passed as POST. I would like to use this follow URL structure in my ajax requests: url: 'myfunction.php?fooBar' method: 'POST' But through firebug I can see that "myfunction.php" is being called and "fooBar" is instead passed as one of the post variables (with no value). Wrong! It's supposed to call the URL exactly as it's written: "myfunction.php?fooBar" and not
2 dropdowns, conflicting with each other, why? [SOLVED]
I have two dropdowns which retrieve data and populate a div; the first one works fine, but the second one only works if the user goes back and manually changes the first dropdown to the initial state. Any ideas? TIA. Here's the jquery: <script> $(document).ready(function(){ $("#selector").change(function () { var str = ""; $("select option:selected").each(function () { str += $(this).val(); }); $("#browseresults").load(str); }) $("#selector2").change(function () { var str = ""; $("select option:selected").each(function
[jQuery] Validation rule for Joerns' Plug-in...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <META NAME="Generator" CONTENT="MS Exchange Server version 08.00.0681.000"> <TITLE>Validation rule for Joerns' Plug-in...</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">Hi, all</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">…</FONT></SPAN><SPAN LANG="en-us"></SPAN></P> <P DIR=LTR><SPAN LANG="en-us"><FONT
Next Page