[jQuery] Shadowbox and ajax-returned content?
<html> <body> Hello all/Michael, I'm wanting to use Shadowbox in an application where the content of the page is being changed via AJAX I have added Shadow.init(); into the callback function that is fired when the page's content is repopulated. From the generated view of the source code, the "<pre><div id="shadowbox_overlay"></div> ...." </pre>tags are present, so presumably the Shadow.init() is being fired. However, this doesn't seem to be enough as the Shadowbox functions are not firing on the
[jQuery] |Plugin| $('a').favicon()
Just thought of sharing this snippet that adds favicon next to the selected links: /** * favicon - jQuery plugin for adding favicons next to the links * To automate: * a[href ^="http://jquery.com"] { * background: url(http://jquery.com/favicon.ico) center right no- repeat; * padding-right: 16px; * } * * January 30, 2008//R. Rajesh Jeba Anbiah//http:// rajeshanbiah.blogspot.com/ * * Usage: * - $('a').favicon(); - all links * - $('a[@href^="http"]').favicon(); - all external links * - $('a').favicon({paddingRight:
[jQuery] need menu plugin recommendation
Hi All, Can anyone recommend a jquery menu plugin to create a menu like the one in the header of this page? http://www.hologic.com/ah/index.cfm Things to notice: 1. images instead of text are used for top and bottom level menu items 2. both levels have a mouseover image 3. the submenu item group is positioned under the moused-over top level item, unless there's not enough room on the left or right for all of them to fit, in which case the get positioned flush left or flush right I've used jdMenu
[jQuery] Radio Buttons and .val()
Hello, I am using the following to grab the value of a radio button: str = $("input[name='addType']").val(); The XHTML for the radio button is as follows: <label for="add-type-1"><input type="radio" name="addType" id="add-type-1" value="prem" /> Premium</label> <label for="add-type-2"><input type="radio" name="addType" id="add-type-2" value="std" checked="checked" /> Standard</label> Even though the second radio button is set with the "checked" attribute, the jQuery snippet above always
page goes all the way up when this script is activated
hi, i have this script: http://www.plaatscode.be/5315/ Now when i am scrolled halfway the page, i click on "bestellen" (last line in the script), my page jumps all the way back to the top, and i need to scroll down again to see my div that has just appeared. Any idea how to correct this? thanks! Matt
[jQuery] Using ScrollTo to Scroll to DIV and center it in thw window
I would like to have a navigation in my DIV's that allows me to jump around to other DIV's placed around the screen. Right now here is what I have using ScrollTo: http://www.keithmuth.net/jquery/ I would like to keep the DIV's centered in the screens at all times, whether you jump to it through the navigation or resize the browser window (similar what I was trying to do in mootools here: http://www.keithmuth.net/zooming/). I thought I would try this out in JQuery because everyone tells me how great
[jQuery] jQuery API extension for Dreamweaver
BETA: http://xtnd.us/download/dreamweaver/jquery/ Works with Dreamweaver MX (6), 7, 8, and CS3 (9). Provides the jQuery API via code hints and snippets in Dreamweaver's code view. Please send me your thoughts, ideas, notes, etc. to chris@laflash.org - thanks!
[jQuery] Masked Input Optional Characters
Is there any way to have a Masked Input have optional characters? For example, if I have a month field, I would want to allow 01, 02, 03, etc, but also 1, 2, 3, etc. If I define the mask as "99", then it blanks out the field if the leading zero isn't added. I even tried defining my own placeholder as: $.mask.addPlaceholder('@',"(1|2|3|4|5|6|7|8|9|0)?"); But that still only matches 0-9 and not a "blank" character. Any ideas? -- View this message in context: http://www.nabble.com/Masked-Input-Optional-Characters-tp15091355s27240p15091355.html
[jQuery] Multimedia helper 4u
<div class="postheader"><div style="text-align: center;"> </div><h1 style="text-align: center;"> <a href="http://multimediahelper.blogspot.com/"> MULTIMEDIA HELPER 4 U </a> </h1><h1><a href="http://multimediahelper.blogspot.com/" rel="bookmark" title="Permanent Link to GFXVoid now running on vBulletin forum software">GFXVoid now running on vBulletin forum software</a> </h1> <div class="postdetails"><a href="http://multimediahelper.blogspot.com/"> By DJRajan </a></div> </div> <div> <a onblur="try
[jQuery] [validate] possible/how-to validate all forms on page with given class and/or name?
I am new to jQuery and to the validate plugin. In fact, my initial use of jQuery is to try to use the validate plugin. So, please, bear with my possibly stupid questions. I have worked with all the demos and have them working fine in my environment. I have lifted and stripped down the demo.html validation and tried to use it in my application which is, essentially, an catalog/order form wherein each "line item" contains a form with a qty input and "buy it" submit button. If I give a couple forms
[jQuery] Parsing XML using jQuery
I have a problem, couldn't solve it for a long time. I have the following XML file, returned from ajax: <?xml version="1.0" encoding="utf-8"?> <root> <buildingsList> <building> <id>1</id> <address>Varvarka, 1</address> <city_id>1</city_id> </building> <building> <id>2</id> <address>Nikolskaya, 1</address> <city_id>2</city_id> </building> <building> <id>3</id> <address>Varvarka, 3</address> <city_id>3</city_id> </building> </buildingsList> </root> And I wanna get the value of 'city_id' element of
[jQuery] Safari 3 offset and empty table cells
I am looking for a workaround to some strange behavior I've observed in Safari 3. I am getting inaccurate values for the offsetTop of table cells, but only when the cells are empty. The width and height are accurate. offsetTop is even accurate for the surrounding cells, as long as they are not empty. I first noticed this while using jQuery's offset() function, but this is clearly a Safari issue. I did a great deal of research before posting here, but I was unable to find any clues anywhere else.
[jQuery] Validate remote method response problem
I've been working with jQuery just a couple days and I'm having an issue with the Validate plugin. Please see these URLs for the source code: jQuery.Validate: http://darthead.pastebin.com/f7e7f8715 PHP remote script: http://darthead.pastebin.com/f2417d853 I'm trying to use the remote method to call a PHP script in order to test the validity of a user's URL. I've got the PHP logging calls to a text file, so I know that the remote request from Validate is going out and the PHP script is working. My
[jQuery] Coda-slider ... with a twist!
<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"> <p class="MsoNormal">Hi Guys,<p class="MsoNormal"> <p class="MsoNormal">Hope one of you can put me out of this misery!<p class="MsoNormal"> <p class="MsoNormal">I’m trying to modify the coda-slider which is done by Niall Doherty <a href="http://www.ndoherty.com/blog/2007/09/15/introducing-coda-slider">http://www.ndoherty.com/blog/2007/09/15/introducing-coda-slider</a>
[jQuery] Problems with bind
I've tried to build a table collapser yet I've problems with the statements $('#collapser_'+i+', .expanding').bind('click', collapser_collapse (i)); $('#collapser_'+i+', .collapsing').bind('click', collapser_expand (i)); To me they look correct yet Javascript stops working. The source is for (var i in data) { var d = data[i]; $('#eintragsliste').append( '<tr><td><table id="collapser_'+i+'">' + ' <tr>' + ' <td width=60 align="center"><img class="expanding" src="images/plus01.png"><img class="collapsing"
[jQuery] Change Jeditable trigger
Hi there, Imagine i have a DIV with editable content (with Jeditable), but i want the trigger for that to be a link behind the div. It´s probably very simple, but i´m pretty new to jQuery and do not know how to achieve this. It has to look somewhat like this; <div class="edit" id="unique_id">Editable text</div> <a href="#">Edit me!!</a> Any help will be greatly appreciated! Frizzle.
[jQuery] ajaxStart - need a bit of help
I'm building a form - I've got one field where I'm allowing the user to select a radio button (selecting a division) and then doing an Ajax call to populate a related text field with a name. I've got a little animated 'ajaxy' graphic that pops up to show activity: // get division director - via radio button (divisionID) - ajax call $("input:radio[name='divisionid']").click(function() { var foo = $(this).fieldValue(); $.ajax({ type: "GET", url: "index.cfm?action=telework.getchief",
[jQuery] jQuery CDN Host?
Is there a jQuery CDN host that anybody knows of?
An Example
So, Just So I can be the example for the rest of you, Dont let webpages fool you. About a month ago i started writing a page for my site. This page used the Interface plugin for jquery, and was working wonderfully. I ported it into a drupal module and I was very happy. it wasnt done, but I spent approx 60-80 hours on this. Then I started reading, and noted that it is incompatible with jquery1.2.1 and is no longer supported. This means I have to rewrite this WHOLE page using jquery ui. The interface
[jQuery] Google map plugin?
I've seen a couple google maps plugins. Tried out jmaps have had problems implementing jmaps. Is there one that is simpler? I just need a google map marker created on the map. And possibly a form to enter driving directions to it. Thanks in advance.
[jQuery] File inputs
I know there is a plug-in for styling file inputs but what about using a custom image instead? I need to do something where I have an ADD and a DELETE button side by side. I tried this using .click() and it worked flawlessly but alas FF does not support it! How stupid!. Any suggestions? Thanks Steffan --------------------------------------------------------------- T E L 6 0 2 . 7 9 3 . 0 0 1 4 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline Steffan@ExecuChoice.net Phoenix, Az http://www.ExecuChoice.net
[jQuery] Not Submit [validate]
I just find a serious problem. If you submit the form without having completed anything (for him return error), when you are trying to complete and submit it will not submit. Ah! Thank you for remote, it was great! Abraços Marcos Aurélio
[jQuery] Livequery, ajax and IE
I'm using livequery to achieve the following: $('.stock a') .livequery('click', function(event) { var thisTarget = $(this).attr('href'); $.ajax({ url: '/user/ajax/unsubscribe.do?subscription=<bean:write name="mainDiv" />markadsvakt&interest='+thisTarget, type: 'GET', dataType:
[jQuery] clickmenu, change "click" event to "mouseover"
Hello. Is it possible to change menu trigger event form click to mouseover? It's better for my purposes. Thanks in advance for answer.
[jQuery] how to assign function to $(this)
Hi I have the following snippet to expand/collapse menu items and set the cookie as well. function initMenu() { $('#menu ul').hide(); if ($.cookie('the_cookie')=='a'||$.cookie('the_cookie')=='b'|| $.cookie('the_cookie')=='c'|| $.cookie('the_cookie')=='d') { alert('came here with cookie: ' + $.cookie('the_cookie')); $("a").filter("." + $.cookie('the_cookie')).next().slideDown('normal'); alert('did the sliding: ' + $("a").filter(".b").attr('name')); } $('#menu li a').click( function() { $(this).click(function(){setCookie($(this).attr('class'));});
[jQuery] Error - getComputedStyle?
A JS novice having trouble with JQuery validating in all browsers I'm testing in [FF2, IE7, IE7, Safari 3] and I don't know how to get around it. Error causes a debug popup to appear in IE6, otherwise I could live without having the JS validate. Error is as follows: uncaught exception: [Exception... "Could not convert JavaScript argument" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame :: file:///Y:/IGS/Programming/Site/www/templates/js/jquery-1.2.2.js :: anonymous :: line
[jQuery] textarea catch paste event from menu
Hello, I need to catch any change to a textarea and I am struggling with the case where the user pastes some text using the menu of the browser. In such case, the content has changed but key-related events are not triggered because obviously the keyboard was not touched. An event like onchange is not triggered either because the textarea may not have the focus in the first place and the if it has the focus, it may no lose it... Does JQuery offer a way to catch that kind of event and change? Is there
[jQuery] Error when I try to interact with a Java Applet
View the console: http://www.runecrypt.com/fallenx/fallenx/jquery_applet_demo.php ------------------------- I've tried the following ------------------------- $('#parent').remove(); $('#parent').empty(); $('#parent').html(''); The Error also occurs when I load the page. ------------------------- Error Returned: ------------------------- Java class IRCApplet has no public field or method named "jQuery1201575032872" [Break on this error] script.appendChild(document.createTextNode(data));head.appendChild(script);head....
[jQuery] jquery VS internet explorer
Hi, i have done a very simple example of jquery slide, but it doesn't work correctly in internet explorer, it blinks in the beginning and at the end. Thanks for all (sorry for my bad english). link: http://zital.no-ip.org/jquery/ html code: <div id="container"> <div id="top"> adasd<br /> adasd<br /> </div> <div id="controls"> <img id="close" src="img/fileclose.png"/> <img id="toggle" src="img/down.png"/> </div> </div> css code: body { margin:0px;
[jQuery] How to retrieve in sucess call back function a paremeter sent in the request?
How to retrieve in sucess call back function a paremeter sent in the request?
[jQuery] .clone not work in FF or IE, please help
-- View this message in context: http://www.nabble.com/.clone-not-work-in-FF-or-IE%2C-please-help-tp15160494s27240p15160494.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] How to retrieve in sucess call back function a paremeter sent in the request?
Hi all, I was wondering how I can get the value of a parameter sent in the request as a parameter within the success callback function. Cheers, Shy.Kraus
[jQuery] [SITE SUBMISSION] http://www.metropolino.de
Hello Everyone, I'd like to submit the Project we've been working on the past Months. When we were looking for a JS Framework to support us we almost instantly decided to use JQuery and we are glad we did. Metropolino.de is a Event Calendar and Community for the Metropolitan Region of Nuremberg / Bavaria / Germany. It utilizes several popular jQuery plugins, including uiTabs, jCarousel, jTip I'd like to thank John Resig and all the plugin authors as well, you made scripting life so much easier. Thank
[jQuery] Validation for Jeditable
Hi all, I wonder how i could add validation to a normal textarea-Jeditable field. I want to have the validation server-side, so if invalid data is entered the server sends back some kind of message. I hope this kind of makes sense, and that someone can get me started on this... Thanks, Frizzle.
[jQuery] Error when I try to interact with a Java Applet
View the console: http://www.runecrypt.com/fallenx/fallenx/jquery_applet_demo.php ------------------------- I've tried the following ------------------------- $('#parent').remove(); $('#parent').empty(); $('#parent').html(''); The Error also occurs when I load the page. ------------------------- Error Returned: ------------------------- Java class IRCApplet has no public field or method named "jQuery1201575032872" [Break on this error] script.appendChild(document.createTextNode(data));head.appendChild(script);head....
[jQuery] (Superfish) IE6 Lists Menu Vertically
I'm am currently trying to fix a few bugs with a school website I am helping to develop. There seems to be a issue with IE6 and the top level of menu items that causes them to appear vertically instead of horizontally. After trying a few different things I concluded that the issue was that IE6 wanted the top level menu items to each have a fixed width, but that doesn't work since the items have such a varying length. Is there any way around this bug or am I out of luck. Testing Site: http://hcs.k12.sc.us/high/sh/testing.cfm
[jQuery] JQuery Event Fires Before Expected
I'm trying something pretty basic in JQuery (I think). I want to run a function that will make it so that every Input on the page will run a function (in this case, alert) whenever the "change" event happens for that element. It does work, but for some reason the "test" alert also fires right when I first run sasBindFormEvents(). Why is this? I only want the "test" alert when something is typed and then the focus is removed from the input. CODE: ================================================ function
[jQuery] how to get php to detect if it's an ajax call or a normal full page call
Hello, so that my php script can serve both ajax calls and full page call if javascript is not available on the client platform, i usually append a "js=1" to all links. So it's a child play to test for $_GET['js']==1 on the server and serve the relevant html. Now, i've switched my application to use pretty url, thus cannot use that trick anymore. I would like to know if there is another possibility, possibly in the http-header sent by jquery ? Thanks a lot for your help, Alexandre
jQuery .load function
All I am trying to do is load stuff from form.php which has this code in it: <div> <label for="name">Name</label> <input name="name" type="text" /> </div> <div> <label for="email">Email</label> <input name="email" type="text" /> </div> <div> <label for="comment">Comment</label> <textarea name="comment" id="comment" cols="30" rows="5"></textarea> </div> <div> <input class="submit" type="submit" value="Rock & Roll" /> </div> This
[jQuery] Parsing XML using jQuery
Thanks, David! :) Your example helped me a lot to find a solution! The problem was somewhere other. That xml file is generateв with PHP-script. But forget to send the right header using header("Content-Type: text/xml; charset=utf-8"); before XML contents output! Realy stupid mistake!
Next Page