Magento Theme: jQuery Issue... Slider Widget.
I bought the helloclean theme from hellothemes.com - Since I bought this the developers do not answer any emails I send - It has been disheartening to say the least as I am not so much a developer as I am a designer. The example of the theme is located here: http://hellothemes.com/hello-clean-theme.html I have used it on my clients site here: http://66.39.110.219/ The slider widget is controlled by a .js file that has various options. An explination of these options are here: http://blog.hellothemes.com/news-update
[jQuery] Script No Longer Work After JSON loads
Hi all, I'm trying to load a content and list of images together with pagination using jQuery live. Images and loads are successfully loaded but when I click on list of numbers to view each image, nothing happen. As for the images, all being listed but only one being display at the front end. Here is snippets of my code: $(".lposts").live("click", function() { var href = this.href+"?ajax=true"; var image_path = "http://www.projects.com/images/"; $.getJSON(href, function(data) { $(".workinfoz") .empty()
[jQuery] Toggle Help
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content="text/html; charset=us-ascii" http-equiv=Content-Type> <META name=GENERATOR content="MSHTML 8.00.6001.18813"></HEAD> <BODY> <DIV><FONT size=2 face="Trebuchet MS"><SPAN class=498372900-13082009>I want to build add a "favourites" type widget into my site. Just so a user can bookmark a post they like. So I have my standard paginated view with various posts and a star beside each post. </SPAN></FONT></DIV> <DIV><FONT
[jQuery] jQueryUI datepicker, select multiple non-contiguous dates?
The datepicker function is awesome for selecting a single day, but I need to build a date control that allows the selection of both single and multiple days (contiguous and non-contiguous). I found something along the lines: http://www.filamentgroup.com/examples/daterangepicker_v2/index3.php I would prefer a simpler UI: One calendar. Click once to select a single, control-click (or shift-click?) to select additional days. Is this possible? Anyone have any suggestions? ...Rene
[jQuery] Get vars from one event function to another
I am confused about how to do this the right way. I have a change event which grabs the value of the selected option list and sets that as a var. But, I would like to add that to the end of my post string when I submit the form, how would I do this? $('select').change(function() { $('select option:selected').each(function() { var my_val = $(this).val(); });//end each });//end change $('#my_submit').submit(function() { var action = $('form').attr('action'); // How do I get
Detecting search words used to find a website.
Can anyone tell me how to detect the search words a visitor would have entered in a search engine to find my website? I can see these search words in my website statistics but I don't know how to detect them when a visitor connects to my site. I would like to have my site open the appropriate page of my site based on what was entered in the search engine. Any help would be much appreciated.
Need delay in for loop for animated sequence.
On this page http://yourpts.com/joe/index5.html I've got three images floating onto the screen when you click the word "test" in the middle. It's a good start, but I need them to come onto the screen one at a time. Instead they're all overlapping. Here's the javascript code for it: $(document).ready(function() { var flyingPic = $("#flyingPics img"); function startPic(theImg) { $(theImg).animate({width:"300px"}, {queue:false, easing:"swing", duration:2500}) .animate({left:"150%"},
[jQuery] Menu and sub Menu
Hi All. Am looking very simple menu and sub menu jquery plugin , I looked some plugins , that are lot of JS include files are used , So i dont want lot js includes , thanks
[jQuery] jquery password compare....URGENT HELP!!
Can anyone see what's wrong with this: The behavior that is happening is that it does validate and compare..but DOESN'T CHECK FOR LENGTH. Password: {required: true, minlength: 6}, retypePassword: { equalTo: "#Password" } } Here's the docs, but it doesn't mention minlength. http://docs.jquery.com/Plugins/Validation/Methods/equalTo#other So I added to it like this: http://docs.jquery.com/Plugins/Validation/Methods/minlength Thanks!!
passing a value to popup, reading from db, & form valida
Hello, fellow jQ people! I have three questions about jQuery. 1) I have a web form in a jQuery popup. For that web form to function, I need to pass a value to it. Following code demonstrates how I am processing the form using jQuery: $(document).ready(function(){ $(".addbutton").click(function(){ //add button in HTML centerPopup(); // works fine loadPopup(); //works fine }); $("form#edituser").submit(function() { usrObj.act = $('#modaction').val(); if
wrapping an existing function with another function
Hey folks, A question for a jQuery expert. I'm more familiar with Prototype, but I've been using jQuery a lot recently and needed to find out how something is done, jQuery style... Prototype has a rather handy wrap() function which lets you wrap an existing function within another function. It lets you attach code to be executed before or after an existing function is called. http://prototypejs.org/api/function/wrap How can this be done with jQuery? - Ben
[jQuery] Transforming input as it's typed
My workplace has a lot of people doing manual entry. I'm looking to provide some friendly automatic formatting of data as they type it. I have working code (thus far) but I want to ensure I'm doing things in a sane way (there's a surprising amount you can do insanely that still works :) ). Here's a function below that transforms a phone number - the worker enters the digits(only), the field reflects (and could also accept) the fully formatted version (e.g. (123) 456-7890 ). I'm building this towards
[jQuery] live() or click
hi on document load i have to attach the click event to certain elements. performance wise whats better to use? LIVE() $("#container ul li").live('click', function(e) {} EVENT DELEGATION $('#container ul li').click(function(e) { if ($(e.target).is('li')) {...} }); thanks pete
[jQuery] html in xml tag
Hi guys, I have an XML file like this <?xml version="1.0" encoding="utf-8"?> <data> <item> <name>Lorem ipsum</name> <description>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.<br /></description> <image>images/coal.jpg</image> </item> </data> ......................... etc now on <description>
[jQuery] Table sorter
Hey, I'm using table sorter. http://tablesorter.com/ Now, this is great and all, but it doesn't seem to work in dynamically loaded pages. Does anyone know a solution for this problem? I hope so.. thanks :)
[jQuery] Different Transition FX for Autoplay vs. Pager
Hi All, I'm new to this group - hope I'm posting in the correct place. Is it possible to use one transition effect for the auto playing transitions, but use a different transition effect when using the pager? For example, I want the "fade" effect used as the default transition effect, but I want the "scrollVert" transition effect used when the user clicks an item in the Pager. Thanks!
[jQuery] AJAX and JSON
I am a novice at AJAX and JSON (Ok, I am a novice at JavaScript.), and I am brand new to jQuery. I wanted to use JSON in a project I am working on and I read various tutorials on using JSON with jQuery however none of them answered some of my questions. The biggest one is, does jQuery support JSON or do I need to use another JSON library to use JSON with jQuery? Joey
live problem
I generate a menu at run time using nested repeaters the outer one its ul class is .outerUL (for the categories names) the inner one its ul class is .innerUL (for the products names) i want it to behave like a dropdown menu when the page opens i want to see only the categories names and when i press specific category it shows its products. i tried this and its not working $(function(){ $(".innerUL").hide(); $(".outerUL li").live('click',function(){ $(this).children('ul').show();
[jQuery] Bind Validate to button click event
I am walking into an existing form that uses a custom ajax request to display search results at the button of the page. This is triggered by clicking a form button. I want to trigger the validation on this same click event rather than a submit event. I am just using basic validation at the moment. <script type="text/javascript" charset="utf-8"> $(document).ready(function(){ $('#testBlog').validate(); $('#searchButton').click(function(){ formDoAjaxSubmit(); }); }); </script> <form
[jQuery] FadeOut - Pause - FadeIn (Force jQuery to wait for fade event to complete before continuing)
My apologies is this is a double post - It seems Google Groups just dropped my last message (I'm not even sure how that's possible), so here goes. A little over a year ago, user Iminay requested help in getting some of his code to properly pause after a fade event before continuing with execution: http://groups.google.com/group/jquery-en/browse_thread/thread/bbe0471b780e666a It seems he was able to resolve his problem after two extremely helpful responses were posted. Unfortunately, I haven't had
[jQuery] Hooking up click() callbacks in IE with an 'each' loop
Hi all, I've been working on a project using jQuery that runs just fine in FF, Safari, Chrome, Opera...you know the deal. IE is patchy at best. One of my central problems is this bit of code: $(".item").each(function() { $(this).find(".openlink").click(bodyCallback); }); As you can imagine, the page includes a number of DIVs of class 'item', each of which has a child item of class 'openlink'. The goal here is to link up a callback, defined earlier, to each of these 'openlink' children. HTML setup
[jQuery] Error when trying to download jquery
I receive an error: 'document' is undefined, when I try to run the jquery download.
[jQuery] form plugin not working
<fieldset> <legend>New Organization Building Floor</legend> <script type="text/javascript"> //wait for the DOM to be loaded $(document).ready(function() { // bind 'myForm' and provide a simple callback function $('#orgbuildfloor').ajaxForm(function() { alert("Organization Building Floor saved!"); // document.getElementById('orgbuildfloor').reset(); }); }); </script> <?php //include_partial('form', array('form' => $form)) ?> <form id="orgbuildfloor" action="<?php echo url_for ('orgbuildingfloor/'.($form->getObject()->isNew()
[jQuery] Old cookie data sent in AJAX request?
<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:Wingdings; panose-1:5 0 0 0 0 0 0 0 0 0;} @font-face
[jQuery] Trigger validate on button click event
I am trying to trigger validation on a form that is using custom ajax request that is processed when a button is clicked. I have scoured the docs and I'm not clear how I can trigger validation on this click. The form is using basic validation at the moment. $(document).ready(function(){ $('#testForm').validate(); $('#searchButton').click(function(){ formDoAjaxSubmit(); }); }); <form id="testForum"> <select name="list" id="list" class="required" title="Please Select a Category">
[jQuery] jCarousel - Accordian clash
Hi there. Hoping this is the right place to be asking this. I'm developing a website using an accordian and a carousel (http:// sorgalla.com/projects/jcarousel/). The accordian has 2-4 items in it, one of which is a vertically carouselled list of comments. If I've set the accordian to start on an item that isn't the one with the carousel in it, I'm finding I'm getting the following error message: "jCarousel: No width/height set for items. This will cause an infinite loop. Aborting..." I'm assuming
Set background position to position of parent
Here's the code I tried, but it doesn;t seem to work: $(document).ready(function(){ $("#navigation a").each(function(e){ var position = $(this).parent().position(); $(this).css({'background-position' : position.left + ' 0'}); }); }); #navigation li is the parent element, which is positioned relative. The ul element above that is also position relative. I previously tested a click function and was able to confirm I was getting the correct position back, so now I just need to set the CSS
Ajax arquitecture
I'd like some expert advice about an arquitectural testing I'm trying right now with a web using jquery and jquery.history: The idea would be use a <div id="content"> as a wrapper for the main content of the web and try to load everything via "ahah", ajax returning html that replaces #content, so the menu loads new content to put in the wrapper, but... this new content possibly could have new jquery... example: clicking in a link of menu would load the following php including as is in the wrapper:
Draggable and overflow
Is it possible to get a draggable item out of a div with overflow: hidden ? Sample: http://plasm.elemental-fusion.de/jquery/map/simple.html
[jQuery] How to POST using jQuery?
Hi, I know you can use jquery to post data from a json object ajaxly. However I want to redirect the browser to the new page (like submitting a form) only passing the values explicitly from javascript rather than actually submitting a form. Is this possible using jquery? Thanks
[jQuery] validation - multiple errorPlacements
Is it possible to use errorPlacement with the validation plugin to have a different placement for each field validated? ie. $('#testForm').validate({ rules:{ firstname:{required:true}, integer:{required:true} } }) I would like to have the error for firstname appended to $('#div1') , and errors for integer before $('#div2') -- View this message in context: http://www.nabble.com/validation---multiple-errorPlacements-tf4482247s15494.html#a12781506 Sent from the JQuery mailing
[jQuery] Bind window events to iframes problem/bug
Hi! First post here and I am sorry if it's a bit long... I am using jQuery 1.3.2 and for some reason I am trying to add event listeners to windows/documents in iframes from the parent window and I have run into some problems... Does anyone know why it's possible to bind a listener to the click event of the document in an iframe but not bind a listener to the unload event of the window object (contentWindow) in the same iframe? At least the unload isn't triggered when the iframe.src is changed. $(document).ready(function()
Calling Jquery from Flash?
I've this function in my html page to highlight some paragraph with the class .neck <script type="text/javascript"> <!-- $(document).ready(function() { $('#neck_link').click(function(){ $('.neck').highlightFade({color:'#FFFF… speed: 5000}); }); }); --> </script> And in the same page <p><a href="#" id="neck_link" onclick="return false;">Neck</a></p> BUT i'd like to call that function from flash. How do I set up getURL to work with <a href="#" id="neck_link" onclick="return false;"> I saw somewhere
Accordion menu trouble
So I want an accordion menu for my site. I want the menu to be just like I have it now on my site (http://www.nine-below.com), but when you mouse off of it, it will return to original state. So, to clarify... Click to accordion out. Mouse off, accordion back to original state. Can anyone tell me how to accomplish this with the current code I already have in place? Is this possible? I am a total noob when it comes to jQuery. Thanks in advance Tim
submit broken for form created with append()
I can't imagine what I'm doing wrong here. I'm just trying to create a simple form using JQuery's append(). The HTML version of the form looks like this: <div id="content"> <form action='http://www.cnn.com/'> <input type='submit' value='next'> </form> </div> The form works fine. When I click 'next' I'm taken to cnn.com. But when I use this code to create the form: <script type="text/javascript"> //<![CDATA[ $(document).ready(function(){ $("#content").append("<form action='http://www.cnn.com/'>");
[jQuery] toggle and logic confusion
<html> <body> Hi folks, I have a set of 3 divs with a class element of "hideme". Through the code that follows (it's not mine; it works!), I can click a dedicated a.tag for each div to toggle the visibility (or not) of the contents of the associated div. What I'd like to be able to achieve is that if say, div#1 was visible and the user clicked the a tag for div#2, then div#1 would disappear and div#2 appear in its place. The code in the inserted line #5 allows me to achieve this slightly, but it
[jQuery] How to access the member of $.each() when Key has space?
I using JQuery to call back asp.net web service, The web service is simple, only query from SQL Server and return result as JSON. everythings is cool. Only problem is the key of dictionary after Deserialization by eval() method,It cannot access. For example: $.each(eval(response),function(key, item) { alert(item.Account); //Work alert(item.Amount); //Work alert(item.Reference Date); //Fail }); I have try alert(item('Reference Date')); alert(item['Reference Date']); alert(item[0]); //Assume it is
[jQuery] Need E-Book
Sir, I beginner of J query, so I need complete e_book of j query. Thank You<br clear="all"> -- Naresh Karankal "Life is the art of drawing sufficient conclusions from insufficient premises"
Help Limited jqueryui external css references??
I'm working on a project that I want the user to be able to change the color theme of the site. For some reason if I go over about 20 themes or css references it breaks the site. Any idea why this is? if so, how can I get it to accept say 50 themes? Thank You.
[jQuery] Regular Expression validation
I would like to validate a textbox that numbers cannot be entered into the text input, how do i do this??? With regular expression?? nouky
Next Page