why is this script breaking
Hello: I'm using a slideshow on my site called BarackSlideshow 3.0, a jquery application. I'm using the free demo version. What i am trying to do is attach a link to an image when it briefly comes across the screen that directs to the appropriate url. but every time i try to link more than two URL's to the images in the presentation the script breaks. I do not know how to demonstrate the code that is giving me the blues but here is the address where the script is located: [url]http://www.devthought.com/2008/06/11/barackslideshow-an-elegant-lightweight-slideshow-script/[/url]
JQM, Jquery Form Plugin, and returning to original state
Trying to submit a form using Jquery Form Plugin. I can refresh the div with the original div upon submitting successfully, but I am loosing all JQM markup. What should I do so that it returns to the same original state before submitting the input? <script> $(document).ready(function () { var options = { target: '#audcontent', beforeSubmit: showRequest, success: showResponse $('#audform').submit(function () { $(this).ajaxSubmit(options); return false; }); }); function showRequest(formData,
Jquery conflict, one script won't work with another
I have jquery script for menu (lava lamp http://www.htmldrive.net/items/show/439/LavaLamp-jQuery-Sliding-Menu.html) and other for gallery http://lab.hisasann.com/jStack/, how to enable both of them to work? The problem is within menu bar hover floating highlighter it doesn't appear at all. I don't know how to enable both of them. My code: $(function() { $("#lava_menu").lavaLamp({ fx: "backout", speed: 700 }); }); <!-- syntax --> <link rel="stylesheet" href="http://hisasann.com/housetect/js/dp.SyntaxHighlighter/Styles/SyntaxHighlighter.css"
Question about Spinner in .NET
I'm somewhat new to jQuery, been using .NET for a long time. I'm using the spinner box and trying to get the selected value on the server side, does anyone know how to do this? Its easy enough to set the UL to runat=server, then the UL is available as an HtmlGenericControl in a button click event. I tried sel4.value , but 'value' isn't available for HtmlGenericControl. Any suggestions would be helpful. <ul id="sel4" runat="server" class="ui-spinner-box"> <li>Monday</li> <li>Tuesday</li> <li>Wednesday</li>
Jplayer audio works in Live mode of DW CS6 but not browsers
Hello, I am having issues with my first attempt at utilizing Jplayer. I followed the beginning tutorial to a T and currently have my audio player displaying and displaying in Dreamweaver CS6 Live Mode. Works really well but when I go to preview in a browser from DW Safari, Opera, Chrome and FireFox all open the site with a code type list and the following: To play the media you will need to either update your browser to a recent version or update your <a href="http://get.adobe.com/flashplayer/"
How can I use promise.done() with a function that accepts an argument to use in the ajax url to be returned ?
I've done this succesfully without the argument but if I wanted to put an argument in to be used in the url could I do, function citeAjax(urlId) { return $.ajax({ type: 'GET', url: 'https://www.sciencebase.gov/catalog/itemLink/' + urlId + '?format=jsonp', jsonpCallback: 'getSBJSON', contentType: "application/json", dataType: 'jsonp' }); } var citePromise = citeAjax(); but I'm not sure
two cities
Hello, I'm using this plugin: http://jqueryui.com/autocomplete/ # remote-jsonp how do I change it to insert two cities (birth and residence)?
JQuery Form
Hi! I am new in jQuery and AJAX and I need a simple code of Image upload and some data upload on the db and showing without refreshing the page, I am using WAMP and phpMyAdmin So send mysql file too! I shall be very thank full to you!
2 problems with this code - show with IE does not work and live() issue
Hi Guys I have 2 problem first problem is that IE is not showing a div when i ask it to do .show() but all other browsers are working fine.on line 350 i have added .css({"visibility":"visible"}); to hopefully fix this issue but it did not. second problem is Uncaught TypeError: Object [object Object] has no method 'live' I get this problem in line # 598 of my code below I am using jQuery1.9.1 if this matters. Thanks for your help I have attach my code in a zip file because the form does not allow
javascript onclick call in jquery ui tab not working
I have a page where I'm using jquery ui tabs and in each tab I am displaying a table of data that has an onclick javascript function call for each row of data. When I click on a row in the table my javascript function is not working any longer and I am getting the error "TypeError: $.prompt is not a function". This code worked before I put the tabs on the page. Any suggestions?
code optimization
How can I optimized the following code ? thanks $.fn.testing=function() { var find = '#' + $(this).attr('id') + ' > li'; $(find).bind('mouseover', testing_mouseover); }
Error $.browser.msie in version jQuery 1.9.1
Error $.browser.msie in version jQuery 1.9.1 Uncaught TypeError: Cannot read property 'msie' of undefined. If I use version jquery-1.8.3 work no problem.
jQquery UI Autocomplete
Hi guys! I've used jquery-ui-1.8.20's autocomplete and it used to work fine. Then, I changed it to jquery-ui-1.9.1, and it failed. I'm using not only autocomplete of jquery-ui-1.9.1, but other features too, like dialog, so I don't want to have 2 versions of jquery-ui in my project. Here is my code: $("#searchBox").ready(function () { $('input[id$="txtPredictiveSearchBox"]').autocomplete({ minLength: 1, delay: 200, autoFocus: true, highlight:
Can't use data returned from ajax call in seperate .js file ????
I've been trying to figure this out for a long time (and thanks to those here who have helped) and I'm slowly getting how promise works in jquery (at least I think). My issue still seems to be using the return in another file... So I have a file called request.js with this code, function testAjax() { return $.ajax({ type: 'GET', url: 'https://www.sciencebase.gov/catalog/items?parentId=504108e5e4b07a90c5ec62d4&max=60&offset=0&format=jsonp',
autocomplete: prevent close when hiding virtual keyboard on mobile
I'm using the jQuery UI autocomplete in a jQuery mobile page (so I hope I used the right forum, it might be a bit of a border-line case but I think I should fix the issue within jQuery UI). When I use the page on a mobile device the autocomplete box pops up and technically it works as expected. Now my problem is that there might be only very little screen space and the device's virtual keyboard takes up a lot of space. I'd like to close the virtual keyboard with the built-in button. My problem is
Problem with child nodes having same element name as parent
I'm trying to go through a collection of objects and read out a value 'location' for each, however, I don't want to pull out any values for each object's children that also may happen to be called 'location'. Using 'find' brings all the 'location' values right down the tree, whereas I just want the location values for the current level. e.g. <building> <office> <location>1st floor</location> <person> <location>office 10</location> </person>
Listview data-filter-reveal problem JQM 1.3
Hi, I have created a list view with property data-filter-reveal set to true. The list is populated from a sqlite database at runtime in pageshow event. When I open the page, the listview is shown correctly in the page but is is expanded (all children items are shown). If the listview is populated directly from the HTML file of the page (static content), the children items are shown correctly only when I type some text in the search field.
Loading widget in dolphin browser????
Hi. I have been using dolphin browser (its in top 10 list of browsers) and application goes great, except for loading page. I cant't see a way to show it. In other browser (chrome, opera mini, safari) works ok. Is this a general problem or is there any solution or work-around?. Thanks
Issue with responisve menu converting to drop down
I have a <ul><li> list that I am using JQuery to convert into a <select><option> drop down, then using responsive CSS to hide it and unhide it depending on browser size. I am having some issues with the code that converts the menu into a drop down. It looks to me like the code is just taking the text and making a list. I am trying to take the href value and add that value to the option value. For example, this code will populate the drop down with the menu items text and their value with no iseeues
How to prevent jQuery Mobile from adding min-height to data-role="page" element
Hello, I'm using jQuery Mobile 1.3 RC1 with jQuery 1.8.2. I have noticed that jQuery Mobile apparently adds a style attribute with calculated min-height property to the data-role="page" element. This is causing some problems with the particular design and layout I'm using. I have a min-height property in my CSS, but it is ignored since jQuery Mobile adds the min-height directly to the element via a style attribute. If I use Firebug or Web Inspector to disable the element's min-height style property
Superfish dropdown submenu not displaying
I am strugglging with superfish dropdown menu, It is just showing arrow, when hover on it , doesn't show submenu under it , neither in IE(7to 9) nor FF. I have goggled and tried to change call of the function with many parameter. here is my code <link rel="stylesheet" type="text/css" href="assets/superfish.css" media="screen"> <script type="text/javascript" src="assets/js/hoverIntent.js"></script> <script type="text/javascript" src="assets/js/superfish.js"></script> <script type="text/javascript">
Submit into a iframe-popup
Hi everybody, I'm using jquery mobile pop-up with an iframe inside. In my case the content of the iframe could do none, one or more page submit. The problem is that when I try to close the popup without doing a iframe content submit, everything goes ok, but when I do a submit into the iframe and then I call popup close, the content of the opener goes into iframe. Seems like if iframe content loses information about his parent. Here is the code... Opening button: <input value="Open popup" data-theme="b"
Popup dialog problem in JQM 1.3 and iOS
Hi, I try to close a popup dialog using the following code: $("#popupLogin").popup("close"); but the dialog is not closed. If I change my code to call the close function twice, it is closed successfylly.
A question about Jquery Ajax
When I call Jquery ajax, I get xmldata back and I can have code like jQuery("#tabclasslabs")[0].addXmlData(xmldata.responseXML) If I have a xml text string, how can I parse it so it returns same format as the "xmldata.responseXML"? Thanks
.listview gone, use .mobileListview instead?
Hi, is just tried to upgrade my application from JQM 1.2.0 to 1.3.0 and got an error that Listviews now don't have data-property "listview" anymore. Do i understand right that this has been removed? I haven't found any documentation about this, that's why i'm asking. ie. my code before did something like this: jQuery("#myListview").data("listview") In 1.2.0 i can see that this data-property is set, in 1.3.0 this is gone, instead a mobileListview property exists.
Jquery Mobile Collapsible List issues on Nexus 7 i.e quick expand and collapse on single touch
Hi Iam using Jquery Mobile's collapsible list view, which is working fine with many of the android devices like S3,S2 and Galaxy tablet devices(also with LG devices). The same is not working with Nexus 7. I am using Backbone+Jquery mobile . Expand and collapse is very fast on single touch ( I mean its expanding and collapsing on single touch). If i touch and hold for some time then expand is working fine, even for collapse also i need to touch and hold for some time. the following is the sample code
blockUI : block() function does not seem to respect local options overrides
According to the blockUI documentation, options can be overriden either globally or locally. Thus, to override the message class globally you could do: $.blockUI.defaults.blockMsgClass = 'progress-wrapper'; ..and to override the message class locally you could do: $('#targetDiv').block({blockMsgClass: 'progress-wrapper'}); However, after fiddling back and forth with this, I'm unable to override locally. As far as I understand, the following piece of code should work: jQuery("div.search-results").block({
Adding facebook comment box in lightbox jquery
Am having an image lightbox code and i tried to add facebook comment box for every image . The first image goes well with comment box . The Problem is when i move on to next image the comment box keep on duplicating for every image . And the move next move prev also not working it moves to end of the last image in album this problem occurs only after adding comment box any idea about this . (function(){ /* Private variables */ var overlay = $('<div id="galleryOverlay">'), slider = $('<div id="gallerySlider">'),
asp.net mvc partial view and jquery mobile
Hi, i need to refresh a listview when dropdown selection change. i'm doing this by return partia view or by filling div view javascript. but when i use Jquery mobile the list view style not change to the mobile style but the basic style of regular lu. i googled this but would not find the helpfull answer. thanks for any help!
Problem with clone() and datepicker
Hello peeps. I'm having a bit of a problem with cloned table rows and creating datepickers. I use this function ... Admin.Page.copyRange = function($row){ var $table = $row.parents('tbody').eq(0); var $clone = $row.clone(); $table.append($clone); $clone.find('input.date').datepicker({dateFormat:'dd/mm/yy'}); $("#quotes-table").tableDnDUpdate(); } ... to clone the passed in row and append it to the table. That part works great. When I try to create a datepicker on the
Problems with grid view. Wordpress Imbalance2 theme conflicts with plugins
Hello, I desperately need help with my latest wordpress project. I want to use the Imbalance 2 Theme from WpShower. The Problem is with some plugins like wp-e-commerce or Thickbox the grid view layout doesn´t work anymore and all articles are showing up in one column. Unfortunatly I can´t provide a link to my site at this moment because I am working on localhost. In the WpShower support forum are several Topcis with this issue but so far no solution. Any help is appreciated. Many Thanks,
Multi File Upload through Modal popup
Hi Team, As per my current requirement, We have to develop File Browse popup with some specific Buttons. Requirement (completely customized window for file upload): 1. When click Browse button then, Popup window should display local directory Files (it should allow single/multi file selection) in modal popup window. 2. Popup window should allow user to select multiple wiles to upload. Please suggest some inputs/plug-ins to fulfill this requirement. Thank you in Advance. Regards, Srinivas.
accordion with content before hearder
Hi i wanted to know if is it possible to show the content up the header and not under it ? Thank you already for your answers. Jomania
Windows 8 store application using PhoneGap and JQM
Hi all, i am planning to develop an enterprise application using phonegap and JQM which is targeting all platform tablets. Can any one tell me how can i bring Windows-specific UI/ Android-specific UI to my application. For example, i want to add appbar to my application. Is there any plugins available for Windows style application UI (Previously it was called Metro style application) ? Any ideas to handle page navigation ? Is there any inbuilt page navigation techniques ? Thanks in advance !
[datepicker] Add custom text to a cell. Which way?
I need to show custom text on some dates at Jquery UI datepicker, to be more precise, to render a specific price for some dates. My idea was to use beforeShowDay to attach specific price in titles of such dates and then, in beforeShow to check out each td and to place title's text into the cell. Example: var m, d, y, checkDate, specificPrice = ''; var specificPrices = {"2013-3-8":"300 EUR", "2013-2-26":"263 EUR"} $('#my-datepicker').datepicker({ beforeShowDay: function checkAvailable(date)
I would like to pay for some jquery input....
Hi all, I'm posting this a 2nd time as I've had no (proper) responses to it first time. I need a jQuery based dynamic database facility to be added to my website. I have no idea how to do it and too little time to learn. I have therefore decided to offer someone an opportunity to earn a bit of money and maybe even get a job later. In the short term, I'll tell you what I need - you come up with a price. If we agree, away we go. The 'winner' will be offered any further work that comes along, but
Lost in the Woods!
Lets say You want to: hover over a link- then have a picture appear, hover off the link- picture goes away then if you click on the link- picture appears and stays when yo click on the x the picture goes away
function not working
function firstFocus() { $('#form-first').hide(); $('#first').show(); $('#first').focus(); } function firstBlur() { if ($('#first').attr('value') == '') { $('#first').hide(); $('#form-first').show(); } } //functions called from an external js file <input type='text' id='form-first' name='first' value='First Name' onfocus='firstFocus()' size='50' > <input type='text' id='first' name='first' value='' size='50' onblur='firstBlur()' > I'm new to Jquery and can't seem to get the firstBlur
Jquery Pages 1 and 2 column layout
g'day, I love jquery pages, but wondering if someone can help me do the following. Basically I have a menu that selects a set of pages, all in the same document. What I want: - on phone - to click menu, and "navigate" to new page, with a back button (as per the mobile demo) so I can do that... but I also want - on computer, or ipad, have two column layout with menu at the left hand side, so clicking the menu replaces the page on the right column - the menu remains always visible. NOTE - it's
do not trigger mouseout until the cursor is over the element
I will try to explain it as simple as possible... - #layer is initially hided, I make it visible by clicking on #link - Now I want to hide #layer on mouseout, the problem is #link is far from #layer, so I click it and #layer appears, but it automatically hide since at that point the cursor is not even over the element (#layer). I would like to avoid trigger the mouseout event until I can get the cursor over #layer. Hope you guys can understand what I say (stupid language barrier, makes everything
Next Page