[jQuery] Trying to match just the first descendent in each tree of descendents
Apologies for the subject line, I'm struggling to explain the problem in a concise manner. I have the following document: <body> <h1 class="page-editable" widget="line">Page Title Goes Here</h1> <div widget="repeat-area"> <div widget="repeat"> <h2 widget="line">Section Heading</h2> <div widget="repeat-area"> <div widget="repeat"> <h3 widget="line">Section Title</h3> <p widget="textarea">Content… <img
[jQuery] show and hide div (please help me)
<body> <form id="form1" name="form1" method="post" action=""> <label> <select name="select" id="select"> </select> </label> <label> <select name="select2" id="select2"> </select> </label> </form><div> please wait...</div> </body> i have this for example,and i want when user select item from select show <div> please wait...</div> and when data load complete in select2 then hide <div> please wait...</div> please help me i am new in jquery , edit my example
[jQuery] [autocomplete] problem when using inside a popup
Hello, When I use jquery.autocomplete.js on a field that lives inside a jquery modal popup, the autocomplete list doesn't stick to the textbox when scrolling with the scrollwheel of the mouse. Anyone knows if this is a bug, or a configuration issue? best regards! Kevin
[jQuery] jquery carousel with blockUI
I have a page with one item and when i click in the item i simple open a detail page in a block ui of that item! But now i want to show also in the block ui one carousel with a list of items and whe it clicked one of that items should change the text of the blockui. There is any idea how i can do that can anybody help me? Thank's in advance
[jQuery] jquery ui modal -autocomplete popup
i have a jquery ui modal, there i have an automcomplete textbox, but the list is shown back from the modal window, and i can't see it, any way to put the autocmplete modal inside modal window? thanks
Fadeout after delay + redirect
Hi, Im new to jquery and need help with a script, I need to fadeout an image after a delay when a page is loaded, then redirect it to another page. What would that function look like?
Animation callback with parameters generated by a for loop
Hi, First post for me!! .. I'm stuck in a big problem whose solution is quite urgent. Please help me. Why the following doesn't work??? It alert n times (with n=arrIDPortletNavigationDependent.length) the same element of the array: the last one. how to fix it? function FadeOutAnyPortletAndAFTERalertTheirID() { for (i=0; i<arrIDPortletNavigationDependent.length; i++ ) //arrIDPortletNavigationDependent exists and contain 4 items { istruzione='alert('+arrIDPortletNavigationDependent[i]+')'
[jQuery] Difference between Accordion Widget UI and Accordion Plugin?
Can someone please explain to me the difference between the two? I just finished an online tutorial on Accordian Widget UI and it looked quite simple..... Thanks Jess
[jQuery] Urgent: Modal Dialog not working in Mozilla
Hi, I am using jquery modal dialog. It is working fine in IE 7 but not in Mozilla. Do i have to add anything to it. In mozilla, the pop up is dissapearing after sometime(4-5 secs). Can any one help me in this as this is quite urgent Thanks, Debajyoti
[jQuery] Simple accordion sooo many which one?
Hi I would love to implement the *accordion menu* The menu is dynamic and its already there > i'm using css to style. So, i saw quite a few accordions but none that don't have panels... in other words i'd like the same function without the coloured panels. Which is the best *plugin to use for this*? the levels of the li's are dynamic. So the code would need to be in here. Maybe if i could have the same function as the panels but have icons next to the headings instead of the background colour? Hope
jQuery.history and URL with parameters
Hello, I have a simple question for those who are used to the history plugin (here). Usually the history plugin is used this way : <a href="#page1.html" rel="history">blablabla</a><br> <a href="#page2.html" rel="history">blablabla</a><br> Instead of using different pageX.html files, I would like to use one simple page.php file with a parameter in the URL. This way : <a href="#main.php?page=1" rel="history">blablabla</a><br> <a href="#main.php?page=2" rel="history">blablabla</a><br> But the history
SOLVED: callback problem
Hi everyone, I am experiencing a problem with this function: 1 //show corresponding <p> when hovering over a elements 2 jQuery("#QuickInfoList li a").hover(function(){ 3 window.clearTimeout(myTimeout); 4 bFooterActive = true; 5 jQuery("#QuickInfoActiveText p").hide(); 6 jQuery("#QuickInfoList a").attr("class",""); 7 jQuery(this).attr("class","active"); 8 var sRefString = jQuery(this).attr("href"); 9 jQuery("#QuickInfoActiveText p" + sRefString).show(); 10 },
JQuery Smooth scroll not working! (with 3 different methods
Hi there guys, im new to the forum Sorry if its a bit lengthy but I desperately need some aid (gotta finish the site by tomorrow I have been trying to get this JQuery smooth scroll to work for virtually the whole day but haven't had much luck. I basically have a div section labelled with the id "#topoffooter" and I want to click an image on the navbar so that the window would scroll down smoothly as appropriate. I have tried the following: 1st Method: I put the following in the head section: $.fn.scroller
[jQuery] Callback Function > had a look but don't get it
Ok i'm nearly there LOL i have the link and a box which i want to foundOut as my function. All works dandy now :) But whatif i wanted after i clicked on the link to go to its normal state? Well i went to the jquery site but i don't think its designed for TRUE beginners like myself.... It talks about Callback function and its displayed like this function callback() { this; // dom element } So here is my code and where do i put this callBack? and do i need to add a class to it? $(function() { // document
How to style each instance of a given word?
Here's my situation. I have a client, let's call them "BuyNow." They would like for every instance of their name throughout the copy of their site to be stylized like "BuyNow," where the second half of their name is in bold. I'd really hate to spend a day adding <strong> tags to all the copy. Is there a good way to do this using jQuery? Thanks!
I have two jquery slides - slow down - advice please
hey there all, first post here! My problem is that i have two Jquery scripts running on the same page, one is an image slider that moves automatically every 3 seconds, and the other is a slider that doesn't move automatically, the user has to press the left or right arrow for it to move. They both work perfect separately, the problem i have is that when you use the manual moving one, if you keep pressing right for example, it moves fine until every time the automatic moving one moves, when they both
[jQuery] JQuery sliding div issue
Hi all. JQuery noob here. I'm building a site right now that has a left column navigation and the navigation is nested inside a div, which is nested inside a table cell (i.e., <td>). I'm using JQuery to make it so when the user scrolls down the page, the div slides down smoothly and always stays at the top of the page. I have this working just fine, but when I change resolutions (i.e., 1024x768), the div scrolls over the bottom of the page, which is what I don't want. How can I calculate in order
[jQuery] Google map throwing exception
<div>Hi All,</div> <div> </div> <div>I am trying google map with JQuery Model window.</div> <div> </div> <div>I have written some script to view google map with model window. Bellow steps are </div> <div> </div> <div>1 - Click on link, (onclick event I am calling a javascript function to show google map with model window)</div> <div> </div> <div>function showGoogleMap(id,lat,long){ try{ map = new GMap2(document.getElementById("map")); var point = new GLatLng(lat, long); //default loaction
[jQuery] fadein is not a function?
Hi I'm doing some online tutorials and simple tasks.... I'm getting an error on the function .fadein can someone please tell me what is wrong with this code. $(function() { // document is ready for load $('a').click(function() { $('.box').fadein(5000); }); }); Here is the inline style and markup <style type="text/css"> .box { background-color:blue; width:200px; height:200px; } </style> <div id="box"></div> <a href="#">Click my link</a> Thanks Much appreciated. Jess
[jQuery] TableSorter and colspans
Anyone familiar with this plugin? The docs say that it supports colspans but it doesn't appear to do so. The script has a checkCellColSpan function defined but it is never invoked. I really need colspan support.
[jQuery] Modal Dialog with a datepicker inside, works one time, then never...
Hi everybody. Let me introduce myself. I'm a developer located in Venezuela (latin america), and i have like 2 years using Jquery in every project that came to my hands. Its a pleasure to meet you all. For begin, i have a little problem that i hope you can giveme some light here: I have created a modal dialog inside a tab with a simple form that has a datepicker: <div id="tabs-3" style="font-size:11px;"> <div style="padding-left:75%;"> <a href="javascript:void(0)" onClick="javascript:{modalForm ('idValuation','destiny.php',$(this).text());}">
[jQuery] Really struggling pls help
Hi All Please be gentle with me! Ok, its been 5 days that i'm trying to understand jQuery. I cannot get my head around it for the life of me! i'm no programmer and have had no experience with JS. I've started developing websites only 1 yr ago and i came across jQuery when i wanted to do an accordian menu and some image replacements for my buttons. But,,,,, aghhh let me tell you i'm absolutely going mad! i have Dreamweaver CS3, i've downloaded the plugin for jsQuery and i still don't get what i'm
[jQuery] Help using
Hello I'm in need of some help in getting my custom ad set up working. Any help would be greatly appreciated. Here's what I'm trying to do: I have content set up and after 10 minutes I want to display an advertisement over the content that last for 5 minutes. So it would look like this: Regular content: 10 minutes, Ad1 5 minutes, Regular content 10 minutes, Ad2 5 minutes, Regular content 10 minutes, Ad3 5 minutes - Then I need it to repeat for ever. Here's some code I started to write, but It's really
$.get() - how to send request with URI referrer?
For the Ajax get() function, some websites return different HTML depending on the referrer. For example, WSJ won't show the full text articles unless the URI referrer is Google. Is there something I can put in the data portion when using the get() function in order to replicate the below JS code for Firefox? If impossible, then: Is there a way, outside of jQuery, to get HTML source without loading webpage but with sending a referrer? Thank you. const REF_URI = Components.Constructor("@mozilla.org/network/standard-url;1",
[jQuery] ajaxQueue not aborting ajax calls with Autocomplete
Hi all, I am using the bassistance autcomplete plugin version 1.1 along with the bundled ajaxQueue.js file. When text is inputted into the autocomplete, it seems to be keeping the ajax calls open and loading even though they never resolve -- as shown by a loading indicator which is stuck and in the Firebug console. It looks to me like the ajaxQueue plugin is supposed to fix this but it doesn't seem to be aborting. I can't for the life of me figure out what the problem is or how to resolve it. Does
Question on selecting siblings using ~
Hi all, I have this html <div id=reportContainer> <div id=oRepotDiv> </div> <div> </div> <div> </div> <div> </div> <div> </div> </div> but when I do $("#reportContainer #oRepotDiv~div"). It doesn't select anything. But $("#reportContainer #oRepotDiv") work perfectly fine. Can somebody tell me why?
[jQuery] CSS not loading and cannot access newly loaded content
Hi I want to load new content into a container using .load ('content.html') after the user clicks on a menu item. and in the new content is a form and i encountered 2 problems. first is that the new content don't comply to my loaded css? the fonts sizes are off and the content seem unformated. second is that i cannot access the data in the new content in jQuery..... eg. <form> <textarea id='newtext'></textarea> <input type='submit' id='formsubmit' value='Submit'/> </form> my jQuery: $("#formsubmit").live("click",
jQuery IE load() problem
Hello, I've seen a lot of information on the subject of jQuery load() functions not working correctly in IE, but none of those situations seem to apply to me and I haven't been able to find any information that has solved my problem so far. So here I am. I'm making a website where we need to load in some information from another domain. I want to use jQuery load() to do that, but I know that I'm not able to do AJAX like this across domains. So, as a solution I created a PHP file that loads the content
[jQuery] Behavior of document.write call in a .loaded external file
I need to be able to use jQuery's load function to grab the contents of an external file and append them to a particular DOM element. The problem is that when that external file includes scripts that contain calls to document.write, I get weird behavior that changes depending on which browser I'm using. If I'm using Internet Explorer, the load function gets all of the non- script elements from the external page and correctly appends them into the DOM element. Of course, this is not ideal because
[jQuery] fadeTo() possible speeds
here, http://docs.jquery.com/Effects/fadeTo why are all possible params not listed?? (for example for fadeIn(), fadeOut(), fadeTo() it just says "speed", but why doesn't it list all possible speeds ("slow".. is there a "fast"???) this site is a bit weird, if I go to http://docs.jquery.com/Main_Page and search for fadeTo it says there is no such page, but if I search for "jQuery fadeTo" in google then it directs me to http://docs.jquery.com/Effects/fadeTo please, what are all possible values under
[jQuery] jQuery .post function failing in Safari 4.03
I need some cross browser support here before I leap off my balcony this morning. I am working on a simple store which has links for the shopper to enter a coupon code. These open a coupon code entry window. When the user enter the code and clicks submit the following actions fire off; check code for a match, if it's a match it posts a code to a php script using the .post function which writes a record to the db, then forces a page reload where the store checks the db for the coupon test pass. My
[jQuery] I think I'm using the wrong syntax for radio button name
I have three radio buttons, and when a certain radio is selected I want to show a series of checkboxes. If the other two radio buttons are selected, I want to hide the checkboxes. I *think* the problem is that I am using the wrong syntax to call the click() function on the radio "name" attribute. Example/Code here: http://psylicyde.com/misc/jquery-validate/demo/index3.html $("product_id").click(function () { if ($("#multimarket").is(':checked')) { // showcheckboxes } else { //
[jQuery] (autocomplete) not selecting value unless user explicitly selects it
I'm using the jquery autocomplete plugin. Suppose the user starts typing, and the autocomplete presents a drop- down of possible values. If the user presses return, the first value in the drop-down is selected. What I want instead is the user experience that Firefox's search box provides: As the user types, search suggestions are offered. If the user presses return without selecting a suggestion, what the user has typed so far is submitted. And of course, if the user does explicitly select a value
Force Datepicker Title Wrap?
What is the mechanism that causes the datepicker title (e.g., "September 2009") to put the date on a new line? Can I force the year part of the title to always appear on a second line? Thanks in advance for any info. (I modified CSS to make calendar smaller, but some months are not wrapping causing overlap with the prev and next buttons. Making the title text smaller just causes more months not to wrap.)
[jQuery] array object
Can I get value and text of an option and put them into an array object? <select> <option value="c1">britney</option> <option value="c2">jackson</option> </select> I'd like to have something like this arrayob = {c1:"britner", c2:"jackson"};
[jQuery] Help using cylce(plugin)
Hello! I have this html markup: <div class="dinamica" style="position: relative; padding-bottom: 5px;" height="124" width="200"> --some images here </div> <div style="padding-bottom: 5px;" height="124" width="200"> <a href="javascript:void(0);"> <img height="124" border="0" width="200" src="images/anuncio.png"/
[jQuery] Superfish Z-Index flash issue SAFARI Only
Using superfish on a site and getting drop down menus behind flash object (SWFObject dynamic embed) in Safari only. Works in all versions of IE 6-8, Firefox 3, Opera, Chrome. Only issue is Safari 4. Anybody ever run into this issue with Safari? Had the issue initially with multiple browsers and thought it was fixed after setting wmode etc. Have tried setting position relative and z-index to no avail. http://www.familystickers.com
Auto Cycle through list items
Hi all, I am new to jquery. I tried to simulate the news box given in this link: www.iac.gatech.edu. I am trying to build my hobby project based on the above link. I want to make this news box cycle through headlines automatically and also retain the manual click function. The code for the the click event is as follows: [common.js] $(document).ready( function() { // set up "featured news" box var news_moving = 0; $('.l-splash div.headlines a').click( function (e) { e.preventDefault(); var l = $(this);
UI Engineer - Philadelphia, PA
UI Engineer - Philadelphia, PA I am a recruiter seeking stellar UI Engineers for a great company located in Philadelphia, PA. This exciting company offers unique benefits such as equity for all core engineers, free food (all meals), drinks, medical, dental and generous vacation. All UI engineers... Bring UI mockups to life using HTML and Javascript (mostly jQuery) Work closely with the entire engineering team building the core ad-serving and optimization platform Are given problems to solve, not
[jQuery] jQuery plugin that can do the image effects here?
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" 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 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face
Next Page