[jQuery] [PLUGIN] JAddTo
This is my first JQuery plugin in awhile. I needed to put up a series of "Add To Digg"-style links on the http://www.ShootingForACause.com/2008/ Shooting For A Cause website. After collecting the images and links, I realized that this would make for a good JQuery plugin. So I wrote it. I hereby present http://www.jasons-toolbox.com/JAddTo/ JAddTo 0.1 . Enjoy! And if you know of any links that should be added, let me know. It would help if you included an example link and the URL of an image that
[jQuery] css overflow issue with jQuery animation effects
I ran into a CSS issue with jQuery effects - some of the animations add the overflow property for the duration of the effect. In FF2 - but not IE7 - the overflow property changes the box model behavior. As far as I can tell, the box model change caused by the overflow property is part of the CSS2 spec. It's a problem in this situation: - div A is floated left - div B is not floated & has a left margin greater than the width of div A. - div B is animated using jQuery (show, hide, slideUp, slideDown
[jQuery] jQuery in the Wild: BBC - beta site
Hey everyone, Looks like the BBC has a beta site that they're testing now. And guess what? It's using jQuery! :-D http://www.bbc.co.uk/home/beta/ --Karl _________________ Karl Swedberg www.englishrules.com www.learningjquery.com
[jQuery] Basic question on conditional statements
Hey all, This is my first post to the community. I'm a total jQuery n00b, and I'm struggling with conditional statements & jQuery. Here's what I'm trying to do: The page is a form that uses the same template for both add and edit modes. On page load, jQuery should detect whether or not a choice from a radio button selection is checked. Here is the relevant HTML: <label for="plan"><input type="radio" id="plan" name="coverage" value="Healthcare Plan" checked="checked" /> My <strong>healthcare plan</strong>
[jQuery] Ok, I give... where does the ; go in this code?
<!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... where does the ; go in this code?</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Consolas">Hi, all</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Consolas">…</FONT></SPAN><SPAN LANG="en-us"></SPAN></P> <P DIR=LTR><SPAN
[jQuery] Responding to a source change in an iframe
Hello, I am having trouble figuring out how to respond to a source change in an iframe. In other words, if I have a iframe: <iframe name="frame" frameborder="0" height="400px" width="500px" src="http://www.google.com"></iframe> And a link: <a href="http://www.yahoo.com" target="frame">Change page</a> I would like to have the iframe react when the source changes. I have tried change() and contents() without any luck. Anyone have suggestions? Thanks.
[jQuery] Nested Lists and Droppable : issues at "over" event
Hello everybody! I'm building an application quite similar to the Mac OSX Finder with a massive help from jQuery. I've done a lot yet but I'm having some trouble handling the droppable event. Let's see what's in there : I have some nested lists like this example : <ul> <li class="category"> <ul> <li class="category">... <ul /> </li> <li class="item">...</li> <li class="category">... <ul> <li
[jQuery] Calling functions across multiple $(document).ready() blocks
Hi, I know it's possible to use multiple $(document).ready() blocks, but it seems as though you are unable to make function calls across the different blocks, eg: $(document).ready(function() { var someFunction = function() { // some function that does stuff }; }); $(document).ready(function() { someFunction(); // a function that exists in another ready() block }); This results in a "someFunction is not defined" error. Is there a way around this, or is it not possible? Thanks, -j
[jQuery] Is it possible get the data from ajaxSuccess?
Hi folks Is it possible get the data from ajaxSuccess? So I could validate data from any ajax request in serverside. Example. I am passing <div id="myid" id2="myid2" id3="myid3" id4="myid4" ></div> $().ajaxSuccess (function() { if ( $(data).attr("id") = 'myid') { // do stuff with data } }); Look that this ajaxSuccess will test all ajax requests. I know that I could do something like $.ajax({"type": "POST", "url": "foo.php ", "data": data, "dataType": "json",
[jQuery] New Plugin: ZoomBox
Inspired by EaseBox and Highslide, I made this plugin http://parkerfox.parkerfox.railsplayground.net/labs/zoombox/ It's still very much in alpha and tested only in Firefox * loads large image upon click * can provide own loading HTML as an option * loads the images offscreen to determine their dimensions. * If image is larger than viewport it will scale it down * if image is smaller than viewport it puts it to 100%. * provides callbacks for onzoom and onunzoom - allowing users to dimscreen etc if
[jQuery] re: cf ajax example
<style type="text/css"> body {font-family: Arial, Helvetica, sans-serif;} #databox { border: 1px solid Gray; margin:30px auto 0px auto; padding: 10px; width: 200px;} #contentdiv { color:red; font-size: 30px; margin-top: 10px;} </style>Ok found the problem... <br /><br />You might want to put a disclaimer that this example will not work if you currently are sending <br />ColdFusion Debug to your screen....<br /><br />Thanks<br /><br />Craig<br /><br /><font face="Tahoma, Arial, Sans-Serif" size="2"><hr
[jQuery] Cycle Plugin and Suckerfish
I'm trying to use M. Alsup's cycle plugin (awesome, btw) with a suckerfish menu. But I'm having trouble getting the menu to appear on top of the slideshow in Internet Explorer. http://www.plexindoorsports.com/sandhills/sports/view/inlinehockey Any ideas?
[jQuery] Updating webcam image
Does anyone know a function to update a webcam image on a webpage (jquery style).?
[jQuery] Drop Shadow Plugin
I have a new plugin that will create soft drop shadows on elements. It works on text as well as block elements, and has options for the offset, blur, opacity, and color. Please take a look at the demo page (http://eyebulb.com/dropshadow) and let me know what you think. You may download the plugin from there--complete usage documentation is provided inside the script. I have also added it to the plugins section at jQuery.com. Thanks, Larry
[jQuery] Getting .html() AND the container element
Hi all, Working on a jQuery-powered Ajax application here. I need to get the HTML content of an element -- but including the element itself. Meaning, if I have <div class="example" width="300">Lorem ipsum</div> I want to return that entire string rather than just the contents inside. In theory I could .wrap() this with a wrapper div, then get the .html() of the wrapper, then remove the wrapper -- but it seems like there has to be an easier or more efficient way just to grab that string. Is there?
[jQuery] Test
This is a test if everything works! -- View this message in context: http://www.nabble.com/Test-tp14339766s27240p14339766.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] jQModal ajax requests and cache issue
I found one previous topic about this http://groups.google.com/group/jquery-en/browse_thread/thread/8e9724a17b5b9041/b86c5136e5c98090?lnk=gst&q=jqmodal+ajax+cache#b86c5136e5c98090 , but I didn't find answer to my problem. The problem is that jQModal caches ajax requests. // This is in the HEAD function pop(link) { $('#ex2').jqm({ ajax: link, }).jqmShow(); } // and there some links <img onclick="pop('/veikals/ajax_order_details/6301/12.12.2007/');" src="/media/images/ok.png"
[jQuery] jQuery text-to-speech
There was a recent item in one of my Digg feeds that covered on-line text-to-speech engines. The next most obvious step, of course, was to incorporate it (the text-to-speech, not Digg) into a jQuery plugin: http://www.outstandingelephant.com/jvozme The plugin is a standardista's nightmare (iframe, Flash), but it gets the job done in only a couple lines. The site powering it is vozme.com, which looks like the most open of the TTS sites covered in the article (it uses the Festival engine, for example).
[jQuery] Show/hide table rows from Select needs trim
Basically what I have is a table with two columns: dates & report names. Within the dates I have four separate views: Week, Month, Three Months (default selected) and Six Months (hidden). The select shows/ hides the table rows based on their view, showing all the reports up until the selected view. I have to add the show/hide class to the Six Month td's as well because FF2.x has a bug that messes up the td's in hidden rows once they're shown. I'll work on finding resolution to that separately. I
[jQuery] offset() causes error in IE
Hi, I have a page in which I'm trying to use offset() on a checkbox (using jQuery 1.2.1) In FF, everything works fine, but I'm getting an "Object doesn't support this property or method" in IE6 and IE7. The debugger indicates that the error occurs where jQuery tries to do "box=elem.getBoundingClientRect()". The page is valid XHTML, and the checkbox is located in a table row. Sorry, I don't have a test page I could post. Any hints? THanks, Bernd
[jQuery] slideToggle causes links to disappear
On this page... http://www.circleatseven.com/PROJECTS/mockup/home.php ...in the right sidebar, the links in the "Campus Guide" menu don't show up in IE7 after the containing div's visibility is toggled. I'm assuming it's the same issue in the drop-down main menu causing those links not to show in IE7 either. I've tried removing different CSS declarations to see what's causing them not to display, and the culprit seems to be height or display:block. Is there something about slideToggle that messes
[jQuery] sound library for jQuery
Has anyone developed a sound plugin for jQuery like the one Prototype has? I just saw a game with interactive sound controlled by JavaScript: http://wholewheatweb.com/ The sound library is here: http://wholewheatweb.com/javascripts/sound.js --dave
[jQuery] jQuery sendEvent('stop')
Does anyone know how to have a jQuery click function sendEvent('stop') to a JW Media Player (http://jeroenwijering.com/)? I can do it w/ a text link: <a href="javascript:sendEvent('stop')">Stop loading and playing</a> But I need to have it on a jQuery click with default disabled. Anyone?
[jQuery] [SITE SUBMISSION] LodgeIt pastebin http://paste.pocoo.org/
I stumbled upon a slick pastebin site this morning, that uses jQuery: LodgeIt! <a href="http://paste.pocoo.org/">http://paste.pocoo.org/</a> Not only a really cool pastebin[1], but a fabulous showcase for doing a slick clean interface with jQuery. Props to <a href="http://lucumr.pocoo.org/">Armin Ronacher</a>, a <a href="http://lucumr.pocoo.org/articles/why-jquery-is-the-answer">jQuery fan</a>. - Richard [1] In case you're thinking, "Yet Another Pastebin!?", here's a quick list of <a href="http://paste.pocoo.org/about/">features</a>:
[jQuery] [ANNOUNCE] In need of jQuery UI testers
jQuery UI is the project's initiative to bring a rich set of UI controls to the jQuery community. jQuery UI v1.0 was released earlier this year and didn't quite meet the quality standards we had hoped for. The UI team is now on a mission to correct any of the issues from the previous release and produce a new release (v1.1) which will address the prior concerns and improve the overall library. We are asking the jQuery community to assist in this process by downloading the current code in SVN and
[jQuery] Check/Uncheck a radiobutton
Hello, I always used to uncheck a radio button this way : $('#radio_shuttle_1_4')[0].checked=false; The problem is that when using a selector that matches more than one element, it will not work. e.g. : $('[@id^=radio_shuttle_1]')[0].checked=false; will not work. Thank you for any help !! -- View this message in context: http://www.nabble.com/Check-Uncheck-a-radiobutton-tp14337468s27240p14337468.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] weird virus alert on juery tabs file
Hi We are using jquery and the jquery tabs on <a href="http://z.nu.nl">z.nu.nl</a> and all of a sudden some of our users are getting virus alerts from sophos on there system. Its supposed to be this virus <a href="http://www.sophos.com/security/analyses/trojpsymegd.html"> http://www.sophos.com/security/analyses/trojpsymegd.html</a> I Tried with oher virus checkers and as attcment through gamil it alo passed so there is no virus but anyone have heard of this trojan or also got these messages Armand
[jQuery] traversing question
hello! i have this (sample) html: <ul id="menu1" class="mainmenu"> <li><a href="#" class="strataTrigger">item1</a></li> <li><a href="#" class="strataTrigger">item2</a></li> <li><a href="#" class="strataTrigger">item3</a></li> </ul> <ul id="menu2" class="mainmenu"> <li><a href="#" class="strataTrigger">item1</a></li> <li><a href="#" class="strataTrigger">item2</a></li> <li><a href="# class="strataTrigger"">item3</a></li> </ul> when one clicks on an anchor, i need to get the index of that anchor 's
[jQuery] [SITE SUBMISSION] http://www.xhtml-css.com/
just found out this excellent online tool allowing to check html and css validation in one click, all made in jquery!! http://www.xhtml-css.com/ Alexandre
[jQuery] cf ajax example
I have created a simple app screen based off of the example/tutorial on jquery website for coldfusion and ajax. I have firebug running and have stepped through the entire process. All processes seem to be working correclty, I fill a value in a formfield and onblur a query is invoked and dataset is returned. (Which i can see in console in firebug...) I am just unable to get the values to display back on my screen in the section defined via style sheet. There is a parameter for success in ajax call.
[jQuery] Performance of jquery
Pls have a look at this test. http://mootools.net/slickspeed/ Performance of JQuery of quite low as compare to other java script libraries. -- Sharique
[jQuery] Why this simple code isn't working
Hi all, I'm banging my head on the keyboard here ... and couldn't figure out why this isn't working I have the following code: HTML: <div id="add_formColeção" class="overflow"> <label for="add_colecao">Coleção:</label> <select name="add_colecao" id="select_colecao"> <option value="">Escolha uma coleção</option> <option value="1">Primavera Verão 2008</option> <option value="2">Primavera Verão 2008</option> </select> </div> <div id="add_formLinha" class="overflow">
[jQuery] tablesorter onafer feature?
I use a code to bgcolor odd table rows in my tables. Something like: <code> $('table').find('tr:odd').css({backgroundColor: '#fffbdd'}); </code> And I'd like to keep the zebra-colouring after a table sorting with tablesorter(). But I've looked at the docuentation on the plugin and it doesn't seem to provide a way to attach a function to the end of the tablesorting... Could this feature be added? Can this be done by any other means? Thanks a lot (for the great plugin and the eventual responses)!!
[jQuery] LavaLamp for jQuery 1.2.x?
I'm really wanting to use Ganeshki's excellent LavaLamp plugin (http:// www.gmarwaha.com/blog/?p=7) but it appears that it doesn't work with the most current stable release of jQuery. Does anyone know if there's an updated release somewhere that meets the 1.2.x requirement? Or is there an alternate menu which gives the same effect?
[jQuery] newbie - need help finding element
Hi, I'm brand new to jQuery. Here's what I'm trying to achieve: I have an unordered list that contains thumbnails for a photo gallery, generated dynamically with PHP: <div id="gallery"> <ul> <li id="left"></li> <li class="selected" style="background: url(weddings-gallery/thumbs/ _DSC3950.jpg) no-repeat;"> <div> <img id="img0" class="start" src="weddings-gallery/images/ _DSC3950.jpg" title="" alt="" /> </div> </li> <li class=""
[jQuery] selecting node values in XML
hi everybody, I want to change the values of an XML node (if another ajax result is successful). I'm not sure how to access these values (and if found, execute something). If I visualize this xml in localhost (http://localhost/example.xml), should I be able to apply and visualize the results of these selectors? (firebug returns allways [null] when I use only it: $ ("Name:contains('XX')"), and it should also work for XMLs, right?) Thanks!! ... success: function (j) { url="world.xml"; $.get(url, function(xml)
[jQuery] jQuery, Yahoo Weather and IE Problems
Hello, I'm new to list and I have searched and plugged away on this issue for a few days and not found a definitive answer. I'm fairly new to jQuery but I am a very well versed web developer although this one has caught me out. I have been working to replace an ageing website and within that the ageing weather 'applet' that sits on the homepage (www.worthing.gov.uk) unfortunately the old weather applet has broken before I can replace the old site so I have had no choice but to go live on this applet.
[jQuery] onload fadeout
hello i would like to know how it is possible to make an jpg image fade out as the web page loads ? thank you
[jQuery] Drag and Resize
Hi All, Does anyone know how I can move a div to the mouse position onMouseDown and resize the div until onMouseUp? Any help would be appreciated. John.
[jQuery] Disabling enter key button from displaying the hidden fields
In my page there are some fields which gets displayed by checking a radio button, this functionality is implemented using jquery. But when i press enter button without checking the radio button all the fields which are hidden appears and iam also unable to submit the form. It would be really great if anyone can give a solution for this
Next Page