Redirecting the back button if the "back URL" is xyz.com
I am trying to capture the back button and redirect if it is a certain URL, if not just go back like a normal back button. I've never really messed with the history except for something like this: <a href="#" onClick="history.go(-1)"> Anyone have an example using this plugin: http://www.asual.com/jquery/address/ , or any other plugin that might achieve this? any direction will help thanks
Is there an offering to SMS in the same way TEL works?
Hi, in order to make the smartphone make a phone call we just put tel in the href e.g.: <a href="tel:55555555">555555555</a> is there something similar for SMS? if not, how can I have my application send an SMS using the phone rather than a 3rd party gateway? thanks Matt
Jquery Dialog Overlay problem when dialog is bigger than page content
I'm stuck at a problem and I don't know the answer. After a lot of debugging I figured out what went wrong, but I don't know the answer. When I use a basic Dialog, set modal to true and the content of the dialog is bigger than my viewport, the overlay isn't calculated correctly. The height is wrong, therefore I get a vertical scrollbar. My guess is that since I have suddenly a vertical scrollbar I also get a horizontal scrollbar. I tried a clean html file with only standard css and js files from
Problem with linking when running offline with application cache (manifest)
Hi, I'm developing a web app that will be placed and started from home screen on the iPhone and will need to work offline. I've added a application cache solution using a cache manifest file which lists all the files I need to run the web app offline. I've stripped the solution down to just two files: index.html and page1.html (and the js and css for jQuery to work). When specifying the files in the manifest I got a problem since the jQuery Mobile adds a hash to the link as in: index.html#page1.html
Theme Roller interchange
It would be nice if the theme roller schemes could create an interchange of basic colors to be passed between the original browser and the mobile version. (If they are not one tool in the end that is.)
Need dialog to extend past vertical viewport
I'm using a single jQuery UI dialog on a page of mine. The page has numerous buttons that can trigger the opening of that dialog with a click event. Prior to opening the dialog, I want to reposition it so the top of the dialog DIV appears at the same top offset as the button (basically covering the button). Here's my problem: let's say that the dialog DIV has a fixed height of 500 pixels, and the "open" button appears right near the bottom of the viewport. When I click the button, there isn't enough
Autocomplete with custom data and display
Using this source code I've faced the challenge: custom data displays fine when there is an only "autocomplete" text input. I have two and both of these works as autocomplete, but only second works with custom data. I think that problem is in this function: .data( "autocomplete" )._renderItem = function( ul, item ) { return $( "<li></li>" ) .data( "item.autocomplete", item ) .append( "<a>" + item.label + "<br>" + item.desc + "</a>" ) .appendTo( ul ); }; Tell me please, how to fix this?
filtering by multiple selected tags / classes
Hello, I've been searching all over the web and through these forums and haven't been able to find a solution to my question. I have an ecommerce site and want to create a filter with a list of keywords that the user can click toggle to combinations of search terms. For example, some of the terms would be: male, female, walking, standing, youth, adult, elderly, etc. The products that correspond to these terms have class attributes and would be either shown / hidden or have their opacity reduced
stop page from jumping to the top?
Hello, i've made a menu for my website and i've used to jQuery to create a sub menu on the 'about' section. the problem is when you click the button, the page jumps to the top.. which i don't want it to do. is there a way round this? here's the javascript i'm using: $(document).ready(function () { $('li.aboutb').click(function () { $('ul#aboutsub').slideToggle('medium'); }); }); here's a link to the page in question: click me Thanks in advance. Max
JQM Gallery - gallery of jQuery mobile sites
Hey crew. While building jQuery mobile sites I found myself looking for examples that I could use for ideas and inspiration. Decided to build something similar to the many popular css galleries, but for jQuery mobile! I combed through forums here and found a few links, but if you have a jquery mobile site out in the wild be sure to submit it to the gallery. The site: jqmgallery.com Submit your jquery mobile site: jqmgallery.com/submit/ also: if you visit the gallery on your mobile device you'll
Icon only toolbar button
It is possible to have a toolbar buttons without an icon. But how do I create a button without text? I noticed that: <a id="btn-fav" data-icon="star" class="ui-btn-right" href="#" > </a>does the trick but leaves me with space after the icon. Leaving the text blank result in an odd formatted button. Someone an idea?
Scrollview how do I use it and where do I find it?
Hi, I want to add a scroll-view to my page but do not know how to do so. When I look at the example at http://jquerymobile.com/test/experiments/scrollview/scrollview-direction.html it points to files I do not have or know the full URL. Can anyone advise me on this as it looks as though using scrollview would be the best option for me. Thanks, Paul.
Phone number inside list item
I have a list (<ul data-role="listview">). In some of the list items, the content contains a phone number. iPhone automatically creates a link from these phone numbers. The problem is that once there's a link inside the <li> element, the behavior of that list item changes, and the phone number link is not displayed as intended. I could disable all phone number links using a meta tag but I'd rather not. Is there a way to embed a regular link inside an <li> element?
button lauching a file dialog
Hi, I try to open a file chooser dialog when pressing a button. Here is what i have up to now. <html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="scripts/jquery.min.js"></script> </head> <script type="text/javascript"> $('#button').file().choose(function(e, input)
Show/Hide buttons by class loses formatting
Hi, I'm running into formatting issues when I toggle button visibility depending on context. Note, in the code below, the formatting for the button with myclass0 is unaffected, just the buttons with myclass1 and myclass2 as their visibility is toggled. But I cannot figure out why my code is pretty straightforward e.g. <a href="#" data-role="button" class="myclass0">Button 3</a> <a href="#" data-role="button" class="myclass1">Button 1</a>
Cycle plugin, split-up pager.
Hello everyone, I've recently discovered the power of jQuery Cycle plug-in, and I'm enjoying it. However, tonight I faced an obstacle trying to achieve something. Basically, what I want to do, is to split the pager for a single slideshow into multiple parts, each containing only a some of the slides: essentially, in my idea, the thumbnailed pager appears on the side of the slideshow, and the thumbnails appear beneath some heading tags depending on their category. For example, I have a slideshow
Cycle - show more than one item
Is it possible to show more than one item with cycle plugin. For example, if we have something like: <ul> <li id='1'> <li id='2'> <li id='3'> <li id='4'> <li id='5'> </ul> I'd like li's 2 and 3 to be shown at the same time.
Link inside an accordion
When I add a url link inside an accordion it adds another accordion section. I'm using the accordion for content not navigation. How can I avoid this and just get a link to another site in a blank page. I'm using 1.2.6 and ui.accordion.js
slider not sliding in IE9
Hi, I have use the following Jquery plugin selectToUISlider on my web site which has worked fine in IE8,FF, Chrome however when viwing the same site in IE9 the slider doesn't slide when using the mouse to drag the slider. I can still click on each value and the slider will move/jump to the required value. I've debugged the javascript in both FF and IE9 and I can see that in IE9 the slide event doesn't get fired, where in FF it does. Does anybody have any ideas? unfortunatly I don't have external
Cache strategy
Getting cached most elements of a mobile web app/page is obviously important... right? Some time ago, when the first version of iphone was the only true "smart phone" I was trying to use jquery-core on a web app but discovered that mobile browser did not cache files over 21~27 kb. Someone known if this limitation is still there on modern phones? This jQuery mobile looks amazing!, Writing js without jQuery is no fun!
jQuery UI 1.9 release date
When jQuery UI 1.9 likely to be released?
Cluetip in an iframe
Hi all, i'm using the cluetip plugin in an iframe. When I mouse over the link, the cluetip does not load above the parent page, so it gets cut off partially. Is there any way to make the cluetip load above the parent page? thanx
header not fixed on dynamic page
I use the following code on one of 10 internal pages. before I show the page 10 <li>s are dynamically appended to each of the 3 <ul>s in a pageshow event, and I do a listview refresh after this action. On this scrolling page the footer stays fixed but the header does not. What am I overlooking here? I am using the latest version of JQuery mobile. <div data-role="page" data-theme="b" id="statistics"> <div data-role="header" data-id="hdr" data-position="inline" data-position="fixed"> <a href="#home"
Accordion
Hello! I'm using the Accordion plugin and I want to display my list all compressed. What should I do?
Styling the dialog box of alert function
Hello, When we now use the alert function, the dialog is still native. It's very useful when we have something like this dialog box, which appears as a layer on the current page (not totally hide the current page as the current dialog box of jquery mobile) and has the style of jquery mobile framework. I want to use this kind of dialog box to inform the users after a ajax call. Regards
Any news regarding shadow for modal dialogs? I'm new to jQuery and I can't make it work
Hi, I have created my own theme using themRoller, and I liked the shadow that is being showed in the overlay dialog. How can I apply it? I have searched and seen that like over one year ago it was removed because of some problems for 1.7, but right now we are in 1.8, so I guess it could be solved. I can't find anything in the API. Is it still TODO feature? Thank you!
marks in firefox with bxSlider
Hi everyone, I need some help in removing the marks that appear in Firefox with this JQuery Plugin (bxSlider). Thanks in advanced!!
"jQuery15012356981023933311_1302979842877" replaces double question marks in Ajax/JSON
Hi, I have some jQuery Ajax the sends a message to an ASP.Net webmethod, it gets saved in the database, and is then returned to the client. Before the message gets written to the database, the above string is appended to the message so I'm asumming its happening between the client hitting the Send button and the .Net Webmethod receiving it. I doesn't happen very often so I'm struggling to debug. Any ideas? EDIT: Title modified due to further revelation.
Make Autoscroll stop at bottom
Hi. I've installed the jQuery autoscroll (http://www.yeesiang.com/jquery.autoScroller/), for my web page. I'm using it in a div tag for a news feed. The problem is that it is looping. Is there any way to make it stop at the bottom? And if its possible, is there any way to make it being able to scroll upwards again?
Ajax navigation and authentication
Hi I'm using jquery mobile in an ASP.net mvc 3 site. I'm using authentication so the user has to log in when he visits the site. When the user logs in he is redirected to main page "/" but the address in the addressbar is : /Account/Logon#/Account/Logon (Account being the controller for the Logon site and Logon the view.) When the user refreshes instead of reloading the main page he is redirected to the logon page. How can I fix this ?
Datepicker don't work in IE 9 ?
In Chrome works well and in other versions of IE too, but in IE 9 don't work. Is this a compatibility problem?
jqgrid with spring mvc
Hello.... I need to use jqgrid with spring mvc3.0.... Can i get any help regarding the same??? Any sample code is welcome....
ie8 transparency problem with datepikcer
hello, datepicker work properly in firefox but in ie8 the background is transparent ... i cant find the way to remove the transparency in css datepicker. You can see it here : http://www.locordi.com/?page_id=159&type=2 by clicking on date livraison or the one under ... May you can help me ? Cordialy, Olivier
Accordion - multilpe sections open?
The UI Widgets demo page mentions that it is not possible to have multiple accordion sections open at the same time. But I really need to have multiple accordion sections open. Basically I want click on the header to open it, and click on the header again to close it. I do not want the sections to close automatically when a different header is clicked on. Does someone have a patch that I can use that will allow multiple accordion sections open at once? I am using autoHeight: false so the overall
Slow performance when initializing AutoComplete
Trying to apply the AutoComplete bundled with UI 1.8.2 to 280+ input fields on a page. I noticed that the initial rendering of the page is somewhat slow and upon investigation I see that the initialization of the plug-in is the culprit. The following code takes over 7 seconds to execute in FF 3.6.3 with IE7 taking even longer. console.time('autocomplete'); $("input[id$='Project']").autocomplete({ minLength: 3, source: function (request, response) { $.ajax({ url: '<%= Url.Action("FetchProjects",
ajax and event handler
Hello @all, I have a problem and no idea where is the error: I use jquery in connection with zend Framework. I send a form (create something) via ajax to the server and get back a new form (edit). After that I want to delete the actual event handler and set a new one but unfortunately bind() and unbind() doesn't show effects on this form. Always the first created event handler (before the ajax request) is running. Does anybody have ideas? The response html contains the follwoing script $(".formContainer
Getting generic content into a list view LI
I have a couple special cases where I would really like to place my own divs with my own basic styles into a list item (so I can still get the collapsible support.) I can sort of do it, but the automatic list view handling places the extra elements to the right of my divs automatically (for the button and aside span), using up valuable real-estate. Is there a way I can suppress the automatic list view magic, so-to-speak?
Using Symfony with jQuery Mobile, how can I suppress Hash Navigation for Symfony-redirections?
Hi, I am using the Symfony PHP framework with jQuery Mobile. To supress hash navigation in links, I can use rel="external". But how to achieve this with form submission? My Problem in detail: I have a login-form coming from (module/action:) user/login, which raises the view loginSuccess.php (all views in Symfony have the trailing ...Success.php so don't bother) When user completes the form, it is submitted to user/loginCommit where it is evaluated. If evaluation is fine, I redirect to album/index.
Malsup Cycle jQuery plugin - problem with caption
hi, first off i'd just like to say what an absolutely superb plug-in this is... so simple to use and with so much customisation... i'm having a small problem with getting the captions to display from a slideshow... i've got multiple slideshows on the page which i guess could be causing the problem... i'm not getting any errors, but no caption is being displayed... here is a section of my html.... can anyone suggest what i might be doing wrong... <script> $(document).ready(function() { $('#cat_slide1').cycle({
jQuery.forEach?
I noticed in the jQuery 1.5 Roadmap (psht, 1.4 is already old hat) a line that says "jQuery.forEach and deprecate jQuery.each". Is there any more info about that? I'd be interested to know what changes are proposed for each. Or is it just a reference to Classy Query?
Next Page