Problem calling Fancybox using .live() and dynamic links
I have a function that dynamically creates links for a photo gallery. The function also produces a larger image as a background image of a div when and thumbnail is clicked on. What I want to do is have a third event, where if the user clicks the enlarged image in the div, the jQuery Fancybox loads an even bigger version of the image being displayed in the div. The problem is that the link for the anchor tag I'm using is created dynamically, and I know that Fancybox parses the HTML when the DOM is
Multiple forms, multiple buttons, partial validation, post back all form0 and form1 data?
I've a page which has 2 buttons, the first button should validate only 1 field and show errors if validation incorrect. The second button should validate everything but how do I make JQuery Plugin, invoke an event to validate the top form form0. Also when I submit, it should post back all the data across the 2 forms? Help!
JQuery 'not defined error' - not working in chrome.
I've just started work with a company using jQuery on their website. They've had issues with their submenu which uses hoverintent. In Chrome, the sub menu doesn't appear while in Firefox and IE - it does. I ran it through the Google Chrome JS tool and it seems that the error is coming out on the first line (function), being classed as not defined. This is from jquery.hoverIntent.js: (function($) { $.fn.hoverIntent = function(f,g) { // default configuration options var cfg =
[jme] call method from external button
Hi, I need to apuse the video player from an external button ".btn2" but nothing seems to work. $(document).ready(function() { $('video').jmeEmbed(); //set video external control $('.btn2').bind('click', function(){ $('video, audio').not(e.target).pause();// this wont work $('video').pause();// neither does this //$('video').jmeReady(function(){ //this reffers to the video-element
Plugin SVG, problem with load
Hello everyone, I'm writing to you because i got a problem with the plugin SVG jquery. Indeed, when i try to do an svg.load(myCode,true), the attribute xlink:href become xlink: and so the SVG can't be load properly. this is my var myCode : <svg zoomAndPan="magnify" viewBox="none" id="root" preserveAspectRatio="xMidYMid meet" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg"> <g id="groupExterieur"> <g id="groupInterieur"> <image x="0" y="0"
Problem with captify - can someone help please?
Hello everyone, I'm having a problem with the Captify plugin, and I need help resolving it. The plug in works fine other browsers. but I get an error message with IE8 (haven't yet tried it with IE7 or IE6). The error message tells me that there is an error in the jquery file, but from what I've heard from others, this is not necessarily to be trusted. It says: Message: Invalid argument. Line: 4618 Char: 4 Code: 0 URI: file path...../jquery.js I'm starting out with javascript and I know nowhere
Superfish 1.4.8 not working with JQuery 1.4.2?
Hi guys. I downloaded your latest superfish plugin (1.4.8) for a horizontal navbar i'm working on. I'm using the latest JQuery (1.4.2). But the plugin isn't working properly. I'm testing this on the example.html page without any alteration of any of the files except the html, following the instructions of the navbar (example 4) from Superfish website. here's the code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html lang="en"> <head> <title>A very basic
How to place a red background color on a form field when there is an invalid input
Hello, Good day everyone, i am new to JQuery and i am learning how it works. i stumbled upon the validate function of JQuery. as of now, i am creating a simple form validation script where i will ask for the username, password and email of a user. when an error is created, a text will be displayed beside the textbox. but i want to know how i can add colors to the textbox if there is an error. thank you for your help. Sincerely, Mark
Getting jQuery SlideViewer to work
I am trying to use the JQuery SlideViewer plug-in. I am putting all my HTML inside an editable region in a Template. I've followed the instructions as closely as I can, but I am not getting the numbered red boxes along the bottom, only the larger Images stacked, one on top of the other. I don't know if there is some HTML that I am missing or not. I am unsure where the script for the sliding function goes: <script type="text/javascript"> $(window).bind("load", function() { $("div#mygalone").slideView()
random image on background slideshow
Hello! I'm using a jquery script to have a background image slideshow, but I can't make the images to shuffle. I need to do this, as on every click on the website, page reloads, and the background slideshow starts again on the first picture. I would prefer a random pic start. The script so far is doing the job on covering the whole browser screen, fade on transition, and user controls (back, play / pause, next), wich I need to keep. Any help would be terrific. var slideshowSpeed = 10000; var photos
Visual and Video Lightbox
Ok. I really like the product. Especially since my current project has a mandate of working with static xml files and doing all data manipulation on client side. But I have a small issue with both products. As shipped, they have jQuery 1.3.2 installed. But has anyone out there got either product to work with a more recent version of jQuery?? When I try and use jQuery 1.4.x, the application on the webpage just acts like any old hyperlink which opens a new browser window vice what looks like a jQuery
[Validate] After submission, new errors seem to ignore the errorPlacement() method
This is the errorPlacement method in my code: errorPlacement: function(error, element) { if(element.attr('name') == 'groups[buyer][email]' && error.html().indexOf('<a') > 0) { console.log('placeing'); error.appendTo($('#email_inuse_error')); return; } error.remove(); },Which makes is so that my email field is the only field that shows inline error messages, and only shows the one message which includes a link. However, after the email field blur()'s and the message
Delay with Cycle and image info obtained via ajax
I'm attempting to make a little slide show navigation box..thing, along the lines of what a lot of sports sites and, say, Gamespot use (digression: do these boxes have a technical name?). My setup is pretty simple - I have a small PHP script that iterates over an image folder and pulls both the file name and last modified info from each image and stores them in an associative array. The array is json_encode()-ed. My jQuery $.get()'s the json, parses it, and then creates image elements based on
Form suubmitting when form fields are missing
Hi, Really hoping someone can point me in the right direction. I have a form which I am submitting, the form validation errors appear briefly but the form also posts back to the server. I'm not sure what I have got wrong in my code. Its a simple submit click so nothing fancy there. The code it is calling is and I just cannot get it to stop the form submission process. Any help much appreciated. <script type="text/javascript"> jQuery(document).ready(function(){ $('#error-container').hide();
JQuery Cycle Plugin (pagers with linking images)
Hello, I am a little more advanced than a beginner at this stuff and JQuery cycle is excellent so far!! The only thing I can't figure out is how to create and use image pagers with slideshow images being clickable links as well. For example, view teslamotors.com. I see they use hero slideshow and drupal, is that something more auto generated by a back end ui? I tried reading through their source but its a little much for me. I have successfully setup images as pagers following: http://jquery.malsup.com/cycle/pager-over.html.
Cycle and clickable images?
HI I am brand new to the jQuery world and pretty weak in Javascript, so please bear with me. I am looking to have a series of images rotate. I would like the series of images to start/load at a random point in the series, but then follow the same ordering, and continuously cycle. I would like the images to fade in and out. I think all of the above could be accomplished with jQuery/Cycle plugin? Can I also have each image link/be clickable to a different webpage? If so, can anyone point me
jQuery UI Accordion active opened problem
I have a problem where I want the menu with 'active' to be opened, belew is the script and source I have. Has anyone done this and can help? The accordion works fine, but just does not open on the active page, $(document).ready(function() { $("#accordion").accordion({ active: '.active', selectedClass: '.active', header: "dt" }); }); <dl id="accordion"> <dt><a href="#">Menu 1</a></dt> <dd> <ul> <li class="active"><a href="link1">link1</a></li> <li><a href="link2">link2</a></li>
cluetip : parameterized cluetip function
Hi, I have a html page where I need to load a different html page (say for example: yahoo.com) here is the attached code: <div id="examples"> <table border="1"> <tr> <td> tr 1 </td><td> td 2 </td> </tr> <tr> <td> <a id="clickme" href="#" rel="http://www.google.com" title="AMBIS # 12002">tr 2</a> </td><td> 2</td></tr> <tr> <td> <a id="clickme2" href="#" rel="http://www.yahoo.com" title="AMBIS # 123">tr 3</a> </td><td>3 </td> </tr>
Validate plugin and number validation
I find that the number validation is not considering numbers starting and ending in decimals as valid numbers eg: .12 and 12.0 are not valid yet 0.12 and 12.0 are. I found that this can be 'fixed' by editing the number regex from this: ^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:\.\d+)?$ to this ^-?(?:\d*|\d{1,3}(?:,\d{3})+)(?:\.\d*)?$ Could this be made the standard number validation? Or is there a better way of overiding the number validation than hacking the jquery.vlidate.min.js file? Finally can any one
Trying to download jquery.form.js plugin from github.com and instead am getting file not found
http://github.com/malsup/form/raw/master/jquery.form.js?v2.43 Does anyone have the 2.43 source?
Superfish - Extra Space With Arrows Disabled
I'm having problems with an added space after disabling arrows on Superfish with "autoArrows: false." Even with arrows disabled, it still leaves the space. I know for a fact that it's not padding as it still appears when I remove padding completely. I've included a picture below to show you what I mean. Any help is GREATLY appreciated. Best, Daniel
Validate a file for maximum size
Does anyone know if jQuery plugin: Validation can check that a file being uploaded is no larger than say 1500k?
jQuery lightbox plugin for HTML?
Hi. Im looking for a plugin that simply dims the background and shows a div containing some html, with a closebutton in it to close the div and removes the dim. There are alot of plugins out there which do this but they have very complicated and limited styling options, i really just want to open a div and have the option to close it again without alot of super duper complicated featuers that i dont need. Please provide me with one! Thanks.
tablesorter plugin Support for ROWSPAN and COLSPAN on TH elements
Where do I find the documentation for support on sorting colspan on TH elements? Thanks.
Please what is the proper synthax?
hello, I am trying to parse a value into a plugin, but it does not work. an alert(myborderimage); shows that I am getting the value, but I cannot parse it to jQuery $(document).ready(function(){ var myborderimage = $("#myborderimage").val(); $('#myborder').borderImage('url("borders/+myborderimage+") 30% 35% 40% 30%'); });thank you
simpleModal - parsing variable from original php to modal popup
Hello, I have a the SimpleModal running on a php page, and on said php page, a varaible is defined; e.g. $var = "John"; and then the usual gubbings for simpleModal, which calls modal_output.php - the file generating the output for the modal popup. I need to get that $var into this popup, so the popup can read: "blaa blaa John" This should be simple, I thought - but I can't parse it through _SESSION, or any method I try. I even tried hacking it into: $.get("contact_modal.php", function(data){ to read
Read value of a click event from jq Grid Plugin
Hey, I'm a newbie and i want to read the value where my click event happend in my jqgrid for storing it in my database. does anyone of you have a idea?? i tried this to check if i got the value of my click event: $('#sourcegrid').click(function(){ alert($(this).val); }); greetings
Validation Plugin - IE6 javascript Error
I have this bit of code running to validate forms. Works fine except in IE6. Here's the code: // validate contactusForm form on keyup and submit var validator = $("#contactusForm").validate ({ rules: { firstname: "required", lastname: "required", email: { required: true, email: true, } }, messages: {
(SOLVED) jQuery Corner Plugin + Lightbox
I have a problem on a Wordpress website: I gave certain pictures (as elements of the layout) rounded corners with a jQuery plugin. Some posted pictures I want to load with Lightbox (or similar). I have used several different Lightbox plugins for Wordpress (Lightbox 2, jQuery Lightbox, Simple Lightbox etc. etc.) but none of them work. I got some weird version of GreyBox working but FireFox gives an error every time before opening it so that's real shady code. Problem: as you can see on this page is
jQuery Cycle Plugin
I've used this plugin before and it worked just fine on all browsers. But on this assignment, it does not work on Safari. http://www.werwinning.com I am trying to get the banners at the bottom to animate. I don't understand why its not working, please help. ,Etah Chen.
Stop playing of other [jme] player instances when clicking play (or starting) another player
We have multiple instances of jme ( http://www.protofunc.com/jme/ ) mediaplayers. So what we now want is to implement a "stop all other playing instances" when we start playing with one player via the "play" control element. By now after some fiddling the only way to achieve this was to modify the mm.full.js - any other ideas on how to do this? Best, Cedric
Populating List Items on change or focus of text box
Dear All, I have requirement the search functionality similar to hotmail. The on change or focus of the text box an list items should be populated. Please find the attached screen shot. Regards Prakash
load Shoutcast Stream with jMediaelement (jme) audio video pluugin
Hello, im trying to load url for Shoutcast Stream http://srv2.streaming-ingenierie.fr:8142/;stream.nsv with jMediaelement plugin http://protofunc.com/jme/ , need help plz. thanks advance.
slider - simple scrollbar - 2 instances?
Hello all: I am attempting to use the slider / simple scrollbar version, but I want to have two instances (with different content) on the same page, and I'm not having much luck. Changing the content is easy enough, but both sliders will control both content areas. I have attempted to go in and add second sets of things, and can get it to work - but it invariable will lose the custom UI elements and just have a normal scrollbar. I am obviously missing something, and I assume it would be a rather
HTML5 Video (fake) Fullscreen with [jme]
Does anybody has some good hint on how to do real (seems not possible) or "fake" a.k.a. "full window + dark backgroun + no-change-ratio" with the jme player? I'm using XULrunner to do some presentations + jme player ( http://www.protofunc.com/jme/ ) to show OGV Videos. But it seems like there's no support for fullscreen in Gecko Engine yet (or never) Any hints?
This is my first time
How can I use JQuery plugin please provide me a specific documentation(step by step). Since,it is my first time thanks in advance
jQuery 1.4.2 unit tests for ajax
I've created a plug-in, ajaxMonitor, that monitors Ajax requests. It uses 1.4.2. The plug-in warps the Ajax requests. The plug-in should have no side-effects on Ajax requests. To verify this I would like to run the ajax unit tests with my plug-in installed. I have errors when using the unit tests from the github repo. With or Without my plug-in. Can anybody point me to a source for the unit tests for the Ajax at the time of 1.4.2 release. Some errors that I'm having can be found here. If feel that
Best plugin to fix IE6 opacity bug
I originally tried this but found it to be quite problematic: http://docs.jquery.com/Tutorials:PNG_Opacity_Fix_for_IE6 I don't think it's jQuery 1.4 compatible either. I then went on to try a JavaScript script that I found elsewhere, but that also brings up new problems! All I need is a simple bug-free jQuery plugin that will fix the opacity bug in IE6. Anybody have any recommendations? Thanks.
poblem with restart function
hi i use this plug-in http://jquery.malsup.com/cycle/ with this i can slide my picture like this way http://jquery.malsup.com/cycle/pause.html i want that after all the image was show the slid will be stop so i do autostop:1 and this work OK. now i have a problem if you look on my page that i create here if you will click on play the slide will start and after all the pictures are show this will stop this is ok but...the problem is , that i want that after the function stop(because all the image
Ajax Tabs Error in IE and Firefox
Hi guys, I` having problem with my ajax tabs.. sometime it works and sometimes it will give me an error.. of Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.0.3705; .NET CLR 1.1.4322; InfoPath.2) Timestamp: Sun, 1 Aug 2010 23:58:16 UTC Message: アクセスが拒否されました。 Line: 127 Char: 287 Code: 0 URI: http://domain.com/js/jquery-1.4.2.min.js and the ajax is not loaded.. or show Here is my code.. <script type="text/javascript" src="http://domain.com/js/jquery-1.4.2.min.js"></script>
Next Page