Select problem
hi There is an issue i wanna select an element with such a format $( someVariable + ' p span'). but bad luck it's a syntax error, so what should I do to do the stuff ? Help please
Align buttons and inputs
Hello, how can I manage to align an input and a button in one row? I tried with a two-column grid, and with a simple html table, but the button always is a good 10px higher than the input.
Bug: jQuery.position() after css transform gives different result on Webkit & Firefox
Load the following page in Firefox (3.6+ or 4.0) and Chrome/Safari http://files.n2napps.com/bug-jquery-position-after-transition-webkit-firefox-different.html In Webkit browsers, the $box.position() take in account the css transform translate() operation, however in Firefox when we call after the css translate, the $box.position() return the same values than before the translate (even if the $box has been successfully translated) Here is the short code to illustrate this issue (but do a view source
data-fullscreen behaviour is quirky
I'm writing a small image zoom/drag component to work with jQuery Mobile. I'm trying to use a header in a page with data-fullscreen true, which allows the header to toggle on taps. I like this as it allows more room to view the image. However the behaviour is too quirky/unobvious to make the approach usable. My component when dragging does stuff between the touchstart and touchend events. [ I'm using "raw" event handlers as I had some problems getting the touch data otherwise]. When the header
[jQuery] Using live() and tooltip together
Having some issues with live method and the bassistance tooltip http://docs.jquery.com/Events/live http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/ I'm using the live() attached to the onmouseover method to dispatch the element to the tooltip function. It works - not the first time - but the second - and after that it fails. I suspect its because the bassistance plugin is written for non-ajax based applications, which is understandable. Has anyone extended this plugin to support Ajax based
Splash screen
Is there a possibility to use a start up/ splash screen like iPhone allows, on android devices? Like this: <link rel="apple-touch-startup-image" Or is there a JS workaround?
Trouble using cycle on divs?
I am trying to get jquery.cycle. to slide divs and the text is sliding but the css styling to the div is being messed up when i run it i have a background image and height and width but when I view it live the background is not right and the text is centered on one of the divs and not centered on another???
Possible infinite loop when adding dynamic content
I want to add some dynamic content to a page after it has been shown. This dynamic content included jQuery controls like expanders. Thus, I need to call ".page()" on the topmost element, I insert into the DOM. In addition, I also listen to "pagecreate" where the creation of this dynamic content is queued. However, each call to ".page()" results in firing "pagecreate" which results in new content generation and... finally an infinite loop. Take the following code as an example: <div data-role="page"
Issue with Tiny Scroll Bar
I'm using Tiny Scroll Bar from here > Tiny Scroll Bar I've placed it into this page design. > CET-beta The problem is I want to use anchor links in the scroll area and jump to them from any page from the main navigation. But when I do this it goes to the test page to the anchor area but you can not scroll to the information that would normally be higher up in the scroll area. Any idea how I can stop this from happening??? I'm not sure why it's even happening?? I tried to email the page owner a week
https://code.jquery.com has an invalid SSL certificate
On http://jquerymobile.com/download/ you kindly offer CDN hosting on code.jquery.com. However, for those of us who use SSL on our sites, we need to use SSL for this as well. Unfortunately the server certificate (with edgecdn.com) is invalid. Can you get this fixed. Thanks for a great product! -Rolf
Selector speed
Hello! I would like to know if there are any selector speed test results done with 1.4.1 that i could see? What i'd like to know is, for instance, $("div.myclass") is faster or slower than $('.myclass'); ? Thanks! Alexandre
Sending XML to web service cross domain
Hi, I need to send XML / XML string to a web service cross domain. I have a JavaScript function that creates the XML by selecting the fields on the page and formatting the values into the required XML document. The HTML page is running on the users local machine but need to send the XML to a public secure (SSL) web service (ASMX) that has one argument of type string. I have tried to come up with a solution and the only one that is currently working is JSONP with GET. But this results in the
triggering dropdown box with keyboard
I am going thru forms created with jqm and I cannot figure out how to go thru the dropdown choices on a non-mobile device unless I have a mouse. Is there a key binding to it? Normally you can use the down arrow key to do this on regular forms. I am creating a form to be used by computers and mobile devices. I am willing to pay/donate for this functionality. Thanks!!
vertical toolbar using buttonset?
I need a vertical toolbar. Is there an easy way to vertically-orient a buttonset? Thanks for your time.
my .click with UI Dialog is making me have to double click instead of one click to open it
I cant really figure this out, the only thing i could see messing it up is the javascript:void(0) inside the anchor link but since there is a double click function and a click, it should only be one click. Does anyone have an idea as to what is wrong here? I put autoOpen which i think is also causing it, but i did that so the user can open it, close it, and open it again so the delay "double click" is saying for the first time initialize and then the second click is opening?? if so how do i get around
ui dialog - inputs dissapear on second open
i posted this earlier, but it disappeared from the forum (irony)... below code doesn't work when the dialog is opened from the link second time <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> </head> <body> <link href="App_Themes/Default2/custom-theme/jquery-ui-1.8.5.custom.css" type="text/css" rel="stylesheet" /> <script type="text/javascript"
UI Dialog: .dialog("open") is not working for me
This is the first time I am using the dialog box and obviously I am doing something wrong. I am not able to get the dialog to open. Initially it is hidden with "autoOpen: false,". In another a JS function I call SaveSuccessufll(); but the dialog popup never pops up. Any suggestions? Thanks Code in the HTML: <div id="dialog-modal" title="Your data has been successfully saved."> Thank you for waiting! </div> jQuery(document).ready(function() { $("#dialog-modal").dialog({
Initializing JQuery's data method variables on server side.
You can use JQuery's data method (e.g. $('#MyID').data('MyVar', 'MyValue');) to easily store/retrieve information. However, I was wondering if it is possible for my PHP generated page to add HTML tags that initialize the JQuery's data method variables. Regularly, I want server side variables to be accessible client side. It would be very helpful if I could initialize data method variables during PHP page generation. If this is not possible, are there any suggestions on how to efficiently communicate
jQuery Portal / Library
I am investigating the difficulty in building a website to display artworks using the iTunes - flippable album cover display. There are a few good jQuery plugins out there that do this. I'd also like to add the capability for the users to click keywords or colors to narrow down the selection of displayed art. Does anyone know of an open-source jQuery solution that would include all these capabilities?
how to set particular date in jquery mobile datebox control and highlight it in datepicker
I am creating one application with jquery.mobile-1.0a4.1 release. I have a page which is having input form to get details. It has date field , so for that I used jquery.mobile.datebox . See http://dev.jtsage.com/ for its demo. I am facing one issue with it, when I set particular date value for date field on page-load , the value is shown in textbox. But when user click on date-picker icon- the calendar still highlight today's date and show current month only. can you please help, how to achieve
Trouble with $.mobile.changePage
I'm having a bit of trouble getting $.mobile.changePage working the jQM URL hash history. The history doesn't seem to be updating. As a result, when someone hits the back button (in the header or in the native browser) it navigates away to a previously visited site. What I'm trying to do is intercept links on the page, build some UI client-side, and then invoke $.mobile.changePage to update the UI to the new screen. I'm doing this with a basic pattern like this: $('a#my-test-link').live("click",
Plugins sorted by the number of times downloaded
It would be nice to be able to sort plugins by the number of times voted on. I know you can see how many times it has been voted on after you go to the detail page but it would be helpful to get that info as a sort field on the "Most Popular Plugins" page because then you could tell wether a 5 star has been voted on once or a 1000 times. I personally would rather get a 3 1/2 starred plugin voted on 1000 times then a 5 star voted on once by the developer. Don't get me wrong I would vote 5 stars
WLAN und UMTS/GPRS
Hi, if I'm inside with the phone in the WLAN, then I see the Mobile page 100% of designwith colors and background If I'm only using the GPRS or 3G mobile phone online, I see a simple CSS Page. Why? What should I switch? Thanks, Chris, Austria
tooltip bodyHandler / external function
The code below returns: jquery.tooltip.js (line 149) bodyContent is undefined error source line: if (bodyContent.nodeType || bodyContent.jquery) { $('td.de a', tr ).tooltip({track:true,extraClass:'de',showURL:false, bodyHandler: function() {showstuff();} }); function showstuff() { return "hello world"; } Am I missing something? Thanks!
History Plugin
Hi everyone, I am working on a personal project and I need to create a system where everything in the front end works via JSON. There will be one main index page and the rest of the content will be pulled dynamically. So I need to make sure that my system is seo-friendly, supports browser's back/forward buttons and each content section can be bookmarked. So far I have found the following plugins: http://www.mikage.to/jquery/jquery_history.html http://stilbuero.de/jquery/history/ http://benalman.com/projects/jquery-bbq-plugin/
[jQuery] Force the browser to render window
Is there a javascript or jQuery method available to force the browser to render the contents of the window? This would something similar to updating the "stage" in Director or Flash. I have a two-column interaction set up where users input information in one column and see their results in another. Safari, Firefox, etc all work perfectly. IE however needs an extra click anywhere on the browser window for the results to appear. So I'm looking for a way to attach a function to a UI control that 'forces'
Is there a list of all the options for data-* attributes?
Hi all, Is there a list of all the options for data-* attributes? I find that I have to look them up repeatedly, and I'd love to have a reference. There doesn't seem to be a single list for them. Here are the ones I remember off the top of my head: (Newer stuff below) data-role: collapsible, button, page, header, footer data-icon: back (http://jquerymobile.com/test/docs/buttons/buttons-icons.html) data-theme: a, b, c, d, or e Feel free to add more as replies and I'll add them to the top post. List
Using "Simple Modal" on iTouch in Landscape Mode
Has anyone tried to use the "Simple Modal" jQuery plugin in landscape mode on the iTouch or iPhone? It appears to miscalculate the dialog placement, often appearing off-screen. Also, the overlay that appears behind the dialog is too short and you can see where it ends if you scroll down.
SVG - Draggable, Droppable, Selectable?
Hi all, How can i make SVG drawings (with jQuery SVG or Raphael) that are fully compatible with jQuery, so it's a DOM element that i can drag, drop, select, ... Thanks, Chielus
Drawing shapes
Hi, I'm looking for a plugin or similar in order to draw shapes like circles, rectangles etc. Something in style with: $("#myDiv").drawRect(10, 10, 20, 20, {color:'blue', alpha: .5}); I did found the drawing plugin but i didnt get it to work. Appreciate some help on this area.
Urgent: Autocomplete css
I am using jquery autocomplete. Its working fine. Only issues I have is with its display. Now I have a textbox where users type in the text. Below the texbox are some other controls such as texbox, dropdownlist etc. Now when the user start typing in my autocomplte textbox it shows all the suggestions below but it still displays my controls below, i mean my result should be over the controls below and my results box should overlap my controls. Right now it seems my results box is transparent. Any
adding search to the header
Hello, I would like to add a search input to the header of every page. Is there a standard way to do this? Many thanks, Ant
What's the status of the globalization plug-in?
Hi all, Back in October, a new jQuery globalization plug-in from Microsoft was announced on the jQuery blog, and seems to live over in this github repo. In the blog post, it says it will be "available soon" but I'm not yet seeing it under plugins.jquery.com. There's clearly still work being done on it, though, and I can't imagine anyone has lost enthusiasm. Having a standard i18n mechanism with jQuery is very exciting indeed. (And I understand there's an effort to make this same feature set available
[jQuery] (autocomplete) help about extraparams
Hi, i'm trying the jquery autocomplete from here http://docs.jquery.com/Plugins/Autocomplete On that page someone said that: " Often one autocompleted field depends on the value of another field. In that case, the extraParams option can provide the necessary dynamic parameter: Consider an example where the states-field reuses the value entered into the country field " And the examples was: " $("#states").autocomplete(url, { extraParams: { country: function() { return $("#country").val(); } } " What
Injecting content into the DOM, changePage to content, update history in V 1.0a3
I wasted a lot of time on this today because of a lack of documentation or simply my inability to find that documentation so I hope this helps some others out. I needed to be able to dynamically append content to the DOM, then switch to that content while updating history so that the back button works as expected. The thing that tripped be up was the assignment of a div data-url attribute as opposed to previously just assigning an id to the div. This is a snippet of the code that injects the html
dialog black theme cannot be changed
You might not have found that the dialog theme cannot even be changed, which is by default black. The dialog header, content and footer can be changed to any other theme, but dialog page itself is fixed to be black. Is black better for a dialog? or can it be set somewhere I don't know? <div data-role="page" data-theme="c" id="newword"> <div data-role="header" data-theme="b"> <h1>{% trans "search a word" %}</h1>
[jQuery] outerHTML
Can anyone else get the outerHTML of a html object? I can't seem to get it anymore. document.getElementById('log').outerHTML returns undefined. I'm using FF2. ~Sean
Manipulating divSlideShow Plug-In
Hey. I'm using the divSlideShow plug-in on my site; however, I want to be able to call a given "slide" within the slideshow via a button located outside the slideshow container. So instead of manipulating the slideshow via the automatically set left and right arrows, or numbers, I want to use my own buttons. Any help would be greatly appreciated. The javascript plug-in is ~166lines long, not sure if it's common to post all the code up here. Link to demo and source: http://www.kevinresol.com/divslideshow/example.php
jQuery plugin for eclipse
Hi, Any one know Is there any specific plugin we can use in eclipse for jQuery content assistance. I tried with jQueryWTP, but this is not working in Eclipse3.4.0. Thanks Kasu.Praveen
Time Picker in Jquery Mobile?
Hi all, My Application needs a good timepicker.is there is any good jquery mobile timepicker. Thanks & Regards, Nithya.
Next Page