[jQuery] JQuery and {Lightbox and Joomla Tips}
Greetings, everybody! With JQuery 1.3.2 Lightbox and Joomla Tips don't work anymore. By the way event "domready" doesn't activated too... What can it be??
[jQuery] ajaxForm File Upload Issue
Hi guys (and probably Mike directly given how quickly he answers these), I've been a long time user of the ajaxForm plugin but as of right now I cannot get file uploads happening. It's the same story you can read on here a tonne of times - the form submits fine over POST as AJAX but as soon as you fill in the file upload field, it bombs. The catch is, I don't have any fields with the name/ID of 'submit' in the form - the submit button is id="submit_button" and name="sbmt_button" (because recently
[jQuery] Safari 2 and slideToggle
Hi, I'm having an issue using slideToggle to show/hide dropdown menus (jQuery 1.3.2). Basically the magic happens here: $('.articleMenuPopup', $(this).parent()).slideToggle('fast'); Which works fine in every browser except Safari 2...in S2 the menu opens up then just immediately closes again. If I put something in the slideToggle callback, the menu opens then closes then calls the callback. Is there some known issue with S2 (I mean ANOTHER issue with S2 :P)/is this something someone's dealt with
[jQuery] Superfish animation when hiding menus?
Hello, Does Superfish support hiding menus with animation as well as when showing them? Thanks, TommyB
[jQuery] 1.3.2 class selectors only returning first element
I tried upgrading from 1.2.6 to 1.3.2 today and ran into all kinds of issues with selectors. I can't reproduce this with a simple page yet. (Only with our complex production app of course.) Essentially, a page with three input type="text" elements with class="some_class" only returns the first element when I issue $ (".some_class"). My best attempt to debug this in Firebug took me to the method makeArray(array, results) jquery-1.3.2.js#2058 <code> var makeArray = function(array, results) { array
[jQuery] Stuttering background with accordion in Firefox
Trying my luck over here because I am not getting any love in the jquery ui mailing list. I am getting a strange behavior with Firefox using the accordion. This works fine in all other browsers including Internet Explorer. First, let me describe my setup. Firefox 3 (Tested in OS X and Windows, same behavior) jQuery 1.3. jQuery UI 1.7 Relevant screenshots: Normal- http://www.jasonism.org/media/normal.png Broken- http://www.jasonism.org/media/broken.png Corresponding code: $(function() { $("#accordion").accordion({
toggleClass question
Still new to javascript and jquery, and have a tone of questions. Some I am getting answered by documentation....I tried the toggleClass function on an image and obviously it works. but if the class is toggled why does the below function work always? It seemed to me it should work once then the class is changed to markunread and it should not work again... $(".markread").click(function() { $(this).toggleClass("markunread"); }); Thank you very much maddogandnoriko
[jQuery] Best way to select dom element ? (find or children ?)
Hello, I'm trying to get the value of an option in a select list contained in a different li item... Here is the html code : <ul> <li> <select class="test1"> <option value="1" selected="selected">Option 1</option> <option value="2">Option 2</option> </select></li> <li> <select class="test2"> <option value="3">Option 3</option> <option value="4" selected="selected">Option 4</option> </select></li> </ul> <ul> <li> <select class="test1"> <option value="1" selected="selected">Option 1</option> <option
[jQuery] IE Selection Hiding
Just curious if the problem of hiding an IE selection option has been fixed or if anyone has a workaround other then keeping a hidden list of options that aren't selected. Thanks, Adam Paeth $("#option1").hide(); //works in FF, not in IE
[jQuery] Newbie: Convert onload scripts to plugin
Hi there please excuse my non-perfect english, i'm german speaking ;) i am new to jQuery (and to this group) and have a problem: i created a small website with a main- and a submenu. these are text- links. when i click on a main-menu-item, there are the following actions executed: - empty mainmenu-container - load mainmenu to get the right item marked as active (post-request) - empty submenu-container - load submenu (post-request) - change the color of some items of the site - empty content-container
1.3 Killed my Email Validation Function
I've been fighting with this all day. It works in 1.2.6 but not in 1.3.2. It's a function that I can call to check an input to make sure the email is valid and is not from hotmail or gmail or whatever. I can call it when the input is blurred or when the form is submitted. The form will not submit if a .error is visible. I have no idea what part of this code is depreciated.. jQuery.fn.form_realemail = function () { return this.each(function (){ if ($(this).val() != "") {
[jQuery] Trying to animate the .before()/.after() dom action
Hi, I'm trying to add animation to the .before()/.after() action on some dom nodes and getting visual glitches which get seriously worse on html 'heavy' pages. I've put together a quick n' dirty example here: http://jsbin.com/ahupa/edit If you click the down button in the first div you'll see them swap round with animation, then the change is reflected in the DOM. i'm getting the offsets of the clicked div and it's adjacent div, animating the difference so they slide past each other, then it removes
[jQuery] jQuery1.3.2 In IE8
I excited to download IE8 Released tonight.I found IE8 to be down with jQuery1.3.2. Are you handle it?
[jQuery] Unbind by Function Reference
I've followed Karl Swedberg's article on rebinding events at learningjquery.com. The theory behind this technique is clear to me and I've got a working example. function addItemFinal() { var $href = $('table caption a').attr('href'); var $rawmaandjaar = $href.split('&'); var $maand = $rawmaandjaar[0].split('='); var $jaar = $rawmaandjaar[1].split('='); $.get('includes/inc/ajax/fetchtable.php', { maand: $maand[1], jaar: $jaar[1] }, function(data) { $('div#agendawrapper').html(data);
cross-domain iframe
I have a page that writes in an iframe as part of the output. It's communicating between a secure server and a public server. I don't really have much of an option except to use an iframe to do this. I'm trying to think of a way where I can hide a div on the parent page based on some value that the iframe outputs. Since the two pages are on different domains, I can't use the standard window.frames commands. Does anyone have any idea what sort of data I could have the iframe output that would allow
[jQuery] jumpy navigation slides (possibly due to hide, animation order)
I've spent the last few days creating a mobile/iphone optimized version of my site. I looked at jqTouch & iUI, but I thought it would mean a bunch of configuring of new pages, and I wanted to just be able to use my own API and a bunch of code I had already written in order to accomplish this. It actually came together rather well, and i've got something very similar to native UI (sliding left/right on selections, scrolling, etc). On the iPhone, the animations run smooth (i'm using css transitions),
[jQuery] Make Superfish smaller
Hi, I am trying to make the superfish "menu bar" smaller, I changed the ".sf-menu a" padding from .75em to .30em and the arrows padding, That worked fine but when showing the first level menu, it appears very far from the "menu bar", how can I move it a little bit to the top?? I haven't found a defined style to make it, do I have to make a new style or what?? Thanks a lot!
[jQuery] Email Validation Dies with 1.3 Upgrade
I wrote this function to check an input field. I can fire it when the field blurs or when the form is submitted. If an .error is visible when the submit button is clicked, it won't be submitted until they are all gone. When I try to update to 1.3 this function no longer works. jQuery.fn.form_realemail = function () { return this.each(function (){ if ($(this).attr('value') != "") { error2 = 0; if ($(this).is("[@value$='@hotmail.com']")) { error2 = 1; } if
[jQuery] jQuery-UI / Hide thanks to slide / effects details
<font style="font-family: verdana,sans-serif;" size="2">i looked at the jQuery Docs (<a href="http://docs.jquery.com/UI/Effects/Slide">http://docs.jquery.com/UI/Effects/Slide</a>) but nothing solve my question </font><div style="margin-left: 40px; font-family: verdana,sans-serif;"> <font size="2">is it possible to hide the half, or x pixels of the div with the id XXXX something like : $('#XXXX').hide( 'slide', {direction: 'down', height: x} ); </font></div><font style="font-family: verdana,sans-serif;"
[jQuery] Using PHP templates and jQuery, browser load problems
Hi guys, I have a quick problem I stumbled upon. Here is the background on the situation. I'm creating a website that uses templates for the header, body, and footer. In a sense it is a modular website with all .php extensions being called in the body document using <?php include("header.php"); ?> for the header and <? php include("footer.php"); ?> being called for the footer. Here is the problem. When any browser renders the page, the page loads the php first and then it pauses and gets hung up
[jQuery] HTML annotation techniques.
I'm looking for a good HTML annotation method so that I can pass metadata for html tags to jQuery scripts. I found this page http://www.1729.com/blog/HtmlAnnotations.html which surveys 9 different mechanisms. So far, I've tried the first mechanism (JSON in a script tag before the element to be annotated), which fails because of http://groups.google.com/group/jquery-en/browse_thread/thread/7d25002ada8d15f7/33317d9c68f1b154. Then I found the article, and tried the last mechanism (HTML comments). However,
[jQuery] Sortable problems
I am having some problems with the sortable plugin, most annoyingly in firefox instead of drag and drop functionality it seems to be click once then click again to drop.. but it doesn't seem to work at consistently, this problem isn't apparent in other demo's I have tried to I am assuming it is a problem on my end, also I can't get scrolling while dragging to work on any browser that I have tried. Any help would be great! JQuery code as follows; $(document).ready(function() { $("#library-table").sortable({
[jQuery] Do you need authorization for SVN import???
I am using Eclipse SVN subclipse plugin. I can browse all code on: http://jqueryjs.googlecode.com/svn but when I need to import it locally it asks me for credentials: I tried to leave it blank or use "guest", "" but it throws the error: ------------------------- import -m "" D:/SANDBOX/zxy http://jqueryjs.googlecode.com/svn/trunk/jquery Authorization failed svn: MKACTIVITY of '/svn/!svn/act/d0b979c6-50ec-0449- ae92-35a848b66c9a': authorization failed (http:// jqueryjs.googlecode.com) The operation
[jQuery] Can't select <link> in custom xml in firefox
I'm trying to select the text in the <link> element in the xml below: <press_releases> <press_release> <title>title text</title> <teaser>teaser text</teaser> <publication_date>publication date</publication_date> <link>http://www.linkgoeshere.com</link> <link_type>external</link_type> </press_release> <press_releases> Using the following code: $(xml).find('press_release').each(function() { var linkText = $(this).children("link").text(); }); This works in IE, however Firefox returns nothing (I can
[jQuery] iCal Calendar format file browser
This web application browses .ics and .vcs iCal Calendar files http://coolimps.brinkster.net
[jQuery] iCal browser
This application allows a user to interactively browse the contents of any ical (.ics,.vcs) formatted files available in the net http://coolimps.brinkster.net I would appreciate comments and feedback
[jQuery] Offset changing event
Hi everyone I have outer div #outer with overflow hidden and absolutely positioned bigger container #inner inside it. Outerdiv is cutting off innerdiv. So i desided append #inner to body and set its position depending of #outer offset. Now how do i get event if outerdiv offset is changed so i can set new position to #inner. Is there any plugin for that
[jQuery] iCal Calendar format file browser
With this application you can interactively browse the contents of any .ics .vcs format Calendar files
[jQuery] How to prevent default action of *blur* event?
I have a code block like the following: $(document).ready(function(event) { $('#txtField').blur(function() { if (invalid(this.value)) { event.preventDefault(); //display error message } }); }); My purpose is to check for the input the users key-in and keep the focus at the current text field if the input is invalid. But when I jump to other fields by TAB or by mouse clicking, everything happens as normal. Do you suggest any way to prevent the
[jQuery] Can't get ActiveX custom event in IE using jQuery
Hello, I have a handler for a custom ActiveX control event that I can successfully register for in IE using the following code: this.activeXObj.attachEvent("PlayerInitialized", this.handlerFunc); When I use the code above I get the event in my handler. I am now trying to use jQuery to attach the event handler like this: $(this.activeXObj).bind("PlayerInitialized", this.handlerFunc); With the jQuery code I never receive the event. Can anyone tell me what I am doing wrong? Thanks, Mark
function in function requires two clicks instead of one?
I am learning Javascript and Jquery. I tried the iFlip plug in for jquery and it worked. Then I tried to put it in another function and it required two clicks to switch the images. I think I will use the toggle function but was wondering what was going on as I will probably run across it again. I think I have included all the relevent code below. Thank you. maddogandnoriko <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <script
change css background with jquery?
hey there! i am trying to learn jquery/javascript in general and need a little help. i want the background image of my site to change each time the page loads. i have 4 images (same image in 4 different colors) that i want to rotate between. with each image, i want a cooresponding background color. this is in my css now: html { background: blue url(../images/bg_blue.png) no-repeat; background-position: center center; } and i want to 3 other options for the background property, for example: background-color:
[jQuery] Look for <UL>
Hello Everyone, I tried doing a search and found some possible solutions but was not able to get it working for my markup so I am wondering if the following can be done and how. Markup <ul class="pages"> <li class="page"> <a class="current" title="Edit index" href="#"> index</a> </li> <li class="page"> <a title="Edit menu" href="#"> menu</a> <ul id="menu" class="categories">...</ul> </li> <li class="page"> <a title="Edit menu" href="#"> catering</a> <ul id="catering" class="categories">...</ul> </li>
[jQuery] pseudo-class animation :: select options disappear in ie7
Hello, I am using this script: http://sheetup.com/menusmooth.php When I use in my form the class in a <select>, it dows the animtion nice on hover but as soon as I go over the <options> tehy disappear. All this in ie7. I am searching the web to find a solution... If ther is one already available please let me know Thanx!
[jQuery] Is there anyway to grab the Children of an Element?
Hello, I am trying to grab the child of element in my html (see below) <th class="name" colspan="4"> <b class='add'> </b> </th> I am trying to use this Jquery Code to grab the "b" child element of "th". I want to change the class element for b from "add" to "subtraction" var $selected = $(this).children("th.name"); console.log($selected); /* returns Object length=0 prevObject=Object context=th.name */ console.log($selected.find("b").length); /* returns
[jQuery] show hide random rows
I was wondering if anyone could point me to a tutorial or blog where i can accomplish this task. Basically i have a YUI datatable and i want to use jQuery to hide all but a user generated number of rows that are random selected so if i had 50 records in the table and the user input 10 in a text field and hit a button.. 10 random records would be left displayed and the other 40 would be hidden..
fadeIn and shuffle cycle plugin problems in IE
I am having a problem with IE. I have a fadeIn on a set of photos that are in a div that shuffles using the cycle plugin. I believe that the fadeIn effect is causing the problem because when I remove it, it works fine. The pictures that are fading in take the background color all the way down with them so the whole area disappears. Then when the div shuffles, it is visible behind the photo that is fading in. If you want to see the problem, it is here: http://www12.lilt.ilstu.edu/galleries/index.shtml
update db and button state
I am VERY new to ajax and jquery, but do have lots of php experience. I am trying to make a 'Mark as read' type button. When a user clicks an icon I want the icon to dim/disable and an sql query run to update the sql entry to read. Of course all without refreshing the page. I am fairly quick to learn and willing to do reasearch...I just don't know what to search for. Thank you for your help, maddogandnoriko
[jQuery] Cluetip, opening tip via code
Hi, Does anyone have a clue about how to open the tipbox within the code, I tried to meant without user clicking or activating anything when I bind cluetip to a component, I do want the tip box to be open. Thanks...
[jQuery] jquery website broken?
Hi, I really want to start using jquery in some places to replace mootools, however i find it extremely difficult to persuade clients to go with jquery when the jquery website at http://docs.jquery.com/Main_Page is completely broken in IE7. Is there any reason for this?
Next Page