dom cache for dialog to display transparent background
will i be able to change the dom cache dynamically for some cases, for example during the dialog pop up to show the transparent background. if i open the dialog the page does not remain in dom. I wanted to know if i can keep the page in cache when a dialog is open and when i navigate to another page, will i be able to make the dom cache as false.
Search scrolling div menu with Jquery
I have a scrolling menu in jquery that scrolls vertically on mouseover: (part of it is hidden until scrolled into view) <script type="text/javascript"> $(document).ready(function() { //Scroll the menu on mouse move above the #sidebar layer $('#sidebar').mousemove(function(e) { //Sidebar Offset, Top value var s_top = parseInt($('#sidebar').offset().top); //Sidebar Offset, Bottom value var s_bottom = parseInt($('#sidebar').height() + s_top); //Roughly
Boxy question, show only one dialog at a time.
I am using the Boxy plugin to create multiple popup dialog boxes. I'd like only one popup to show at a time. Currently it will overlay one on top of the other, so if you click a bunch you have to close them all individually. I tried using the API methods isVisible() and hide() but I'm not having much luck. Any help is much appreciated.
AutoComplete dynamic select
I have a question. I have an edit page with an autocomplete. What I am trying to figure out is when the page loads I want to check and see if the value from the DB matches the combobox value the have that value selected. I have coded the html but when the autocomplete get created on the page it is not showing the selected value. Is there a way to do it. This is what I have for the auto complete <script> (function( $ ) { $.widget( "ui.combobox", { _create: function() { var input, self = this, select
Adsense Code Blocks Jquery Script From Funcioning
i am working with a page that includes a Jquery script and as soon as i add any google adsense code the Jquerry script will not load and run. any help?
Beginner struggling with custom events
Hi everyone! First post here, I hope I'm not violating any rule here. I'm modifying the open source jQuery Image Color Picker plugin from project-sierra.de. Here are some parts of my code. This is where I define what happens on mousemove when the mouse is on an image (better, on a canvas that I created to coincide with the image): widget.$canvas.bind("mousemove", function(e){ var point = imageCoordinates( that, e.pageX, e.pageY ); var abscoor = absCoordinates( that, e.pageX, e.pageY );
SheepIT and drop-down list
Hello ! I have a dynamic form and use the SheepIT plugin to clone my form elements. The form has a drop-down list with 2 options: 'No' and 'Yes'. If the value is 'Yes' must show a paragraph. My problem is: when change the value in drop-down list , he show the paragraph in all cloned forms. My code: <!DOCTYPE HTML> <html> <head> <title>SheepIT</title> <script type="text/javascript" src="js/jquery-1.4.4.min.js"></script> <script type="text/javascript" src="js/jquery.sheepItPlugin.js"></script> </head>
problem to change the button theme
Hi Friends, In my IPad application i have a problem to change the button theme. On click event i want to change my button theme "a" to "c". I have include the link to source code of jsfiddle site. Please visit and give me the solution of this probleml. Click here to view the Source.Click here to run the application Model Appliction -Kamalakannan.M
input type search and button inline
Hi, I'm trying to have a searchbox followed by an inline search button, preferably in navbar, but I can't seem to get it working, could anyone provide me with an example? which css overrides should I be using, if any? <div data-role="navbar"> <div> <label for="search" class="ui-hidden-accessible">Søg</label> <input type="search" id="search" name="search" value="" placeholder="Søgning på aftalenr., cvr og kundenavn"/> <input type="button" id="btSearch" data-icon="search" data-iconpos="right" value="Søg" data-inline="true" data-mini="true"/>
device orientation
Hi , I am kinda new to jquery . I am making an application in which the second screen has two different UI depending upon device orientation. Device- IPAD ,Language - jquery/jquery-mobile How do i dynamically repaint the screen with new UI upon device orientation. My jquery code is as follows : <div data-role="page" id="calendar" > <div data-role="content" id="calendar_content"> <script>generateCalendarView();</script> </div> </div> Above, I am calling my function generateCalendarView() from my
Is the button delay still an issue in JQM 1.1.1?
I'm using JQM 1.1.1, codiqa and AppMobi (similar to PhoneGap). I'm noticing some button delays/page load delays on iOS, and was wondering if the 300ms button delay is still an issue, or if there's something else I need to address. My app was partially made in codiqa. I have this set: .ui-page > div { -webkit-transform: translateZ(0); } .ui-page > div { -webkit-transform: translate3d(0,0,0); } I am also using no transitions. Are there any further
will the jquery mobile load if applicable or always?
Should I do a separate page using the mobile core or can I have both on the same page and the correct one loading depending if a mobile is rendering the page? Thanks!
Help with "not" selector
Simply want to hide other links in a batch when I hover over one. HTML: <a href="#" id="link1" class="menuitem">Home</a> <a href="#" id="link2" class="menuitem">About</a> <a href="#" id="link3" class="menuitem">History</a>And the script $("#link1").hover(function () { $(".menuitem").not('[name="#link1"]').hide(); }); I realize I am a neophyte; any help is appreciated. ace in PA
embed jquery in flash.
Hi i have a actionscript 3.0 thumbnail grid in flash. I wan't to open a big image for thumbnail in jquery plugin : http://leandrovieira.com/projects/jquery/lightbox/ In flash i'm calling externalInterface like this : if (ExternalInterface.available) ExternalInterface.call("openLightbox", imageIndex);imageIndex is a number for every thumbnail in grid. One man told ma that it is possible with this plugin to open all photos in turn. but for this i need to have a special function in html file that will
Problem With Dynamic UL List
I've posted this question here and before but seem to get no real reply. The problem entails creating ul list dynamically but constantly getting a JQuery undefined error. More info here: http://stackoverflow.com/questions/12135001/jquery-mobile-ul-list-still-not-working-fro-dynamic-list#comment16232368_12135001 Can anyone help me with this problem or know a workaround?
else if blocks
I'm trying to create an autocompleter and I want to create an else if statements. here is my logic. Bind a "keyup" event to the input (and receive the "event object" as e). In the event: This event fires every time the user presses a key in the input. Capture the value of the input to a variable using .val() If the length of the value is less than 2 characters: Hide the results DIV (using a fadeOut animation) Exit the event by using return false. The key pressed is stored in e.which(Up = 38, Down
How to disable animations of elements?
I'm curious about how to disable animations at all. I found many answers to the question how to disable page-transitions. But what I'm looking for is the animation of the elements in a page itself. My problem is that "Flip toggle switch" is stagnant on Samsung Galaxy Tab 2 10.1. Now I would simply disable the animation hoping it will then be as fast as toggling a radio-button. How you do that?
Close divs with animation when click on another
I have multiple divs that I want to open an close on click. I can get them to open easily and close with a different call, however I want to automatically close any open divs when I click on a new one (so that only one is open at any one time) I am using the html: <div class="alphabet"></div> and the jquery: $(document).ready(function() { $(".alphabet").click(function() { $(this).animate({width: "13%",height: "500px"}, 1000); }); }); can anyone advise on this please?
Response Message
how do i output a “no response” message if my ajax responds with zero?
video streaming on iPhone, playing clips then stop
http://video.webdufour.com/optimal with HTML5 video player ( fallback to Flash) using video.js streaming for iPhone from a private Wowza server Playing fine in all browsers Playing fine in Safari w user agent iPhone ! On iPhone device ( handset or simulator) it's playing fine once : the sequence is Ok, then switching to the Playlist I can play once each clip, then it's over , cannot play clips anymore ... is it something related to iPhone handset cache or Safari cache ? running the iOS simulator
Tablesorter plugin does not sort numeric correctly in IE8
Found a flaw in tablesorter when using IE8 and having numeric column containing more than just text. In my case, an anchor (<td>1234<a name="a1"></a></td>): Line 309: text = node.innerHTML; must be replaced with: text = $(node).text(); to be able to parse the cell content correctly.
creating a simple countdown
Hi, I am trying to create a simple countdown. But I need somehow an interval. So every second I want to say for example, 30 (seconds) -1 and so on. But how do I get an interval. Hope someone can give me a hint. Thanks in advance.
chrome animation bug
Goodmorning all, i am having a bad issue in chrome. Firefox is ok. Please check the simple animation. http://jsfiddle.net/V49zh/ I see this in chrome and some my friends see that in chrome too http://imageshack.us/photo/my-images/708/chromebug.jpg/ Any idea how to fix it ? thank you
pagination and treeview
Hello, I have a problem with jquery plugin: Treeview I tried to use django pagination but it doesn't work How to paginate with Treeview ??
why is this not working??
I write a code in local js file. not web js file. in jquery Version 1.3 run ok ,but now in Version 1.7 or 1.6... not runing. why? bug? for example code: $.ajax({ url: 'http://bugs.jquery.com', success: function(msg){ alert(msg); } });
an included basicmap will only show on browser refresh!
I have create a mobile page for our education package (www.bildungspaket-nf.de) and I have a problem to show a mapaera with GoogleMap! When I open once side in my application, the map will not display and there is only a blank area ... until the Reload (F5), then the map will show! Example: http://m.bildungspaket-nf.de/angebotsgruppen.cfm?Thema=Boxen&KatalogID=62 and then klick to the link ...TSV Rotwei... When I insert the coplete URL http://m.bildungspaket-nf.de/angebotdetail.cfm?AngebotID=323
Fixing Scroll Position in Gridview While Postback
I am using Edit Option in Grid row.While Editing last row in grid Sroll Position is moving 1st row While Postback and also using Fixed header jquery in gridview. Scroll Position must be in that Edit Row..... Its Very Urgent....
Jquery Mobile and CMS
Dear Forum, It is amazing to be able to develop fast and easy with jquery mobile. I am just asking me: If I make a mobile app for a customer, so how can I give him a confortable way to edit his app like contents, pics, etc..? Is there a cms for jquery mobile to make it easy for a customer? What would you suggest or what is available? Thank you!
Can't scroll after tap to checkbox and radiobutton in listview.
Can't scroll after tap to checkbox and radiobutton in listview. Put in the list view(data-inset = true) check boxes and radio buttons. Then, can not scroll for the first time after tap them. But when try again another scroll, scrolling is possible This issue happen in Android and iOS. In desktop browser, not happen.
How to remove header script?
Hi, I'm currently using zoomooz of janne.aukia.com/zoomooz/. However, I need to remove this line in the header <script type="text/javascript" src="js/jquery.zoomooz.min.js"></script> when viewport is less than 700px, and put it back if viewport is greater than 701px. How do I go about this? Thanks.
Refresh dynamic selectmenu
Desired behaviour: Enter a number on a page, click the next button, the next page is displayed with a dynamically generated selectmenu displaying options 1 - x (previously selected number). Current setup: The select menu is entered as html code: <div data-role="fieldcontain" id="container"> <label for="selectmenu" class="select">Options:</label> <select name="selectmenu" data-native-menu="false" multiple="true" id="selectmenu"> </select>It is then dynamically populated in js:
Problem with hover function
My problem can be viewed here: http://www.ohauge.net/work/eiriktvilde/index.php?p=gallery When I hover my mouse away from the project image (over the title), things get buggy. I know why it happens, I just don't know how to fix it. here is the code I am using for this part: /** * Display the project title when * mouse is hovered over corresponding * gallery image. (useless, but cool) */ function displayTitle() { var img = $('img.gallery-img'); img.hover(function()
Disable jqtouch
Hi, I'm using jqtouch but my problem is it's loaded even in widescreen. How do we disable it dynamically? Just load it if viewport is about 400 width.. Thanks..
Ajax not working
can someone help me get my ajax to run properly, i am trying to create and auto completer and the ajax wont run so I ma stuck on this part. http://jsfiddle.net/TMfex/3/ I know my code is not right but where? how can I fix it. I want to get it to run so that I can check the length of the ajax response to see If its zero so I can create a "no results" message inside the existing UL in the results DIV. What am I doing wrong?
Any recommended books / Video Tutorials
Hi, Any recommended books / Video Tutorials relating to JQuery, Ajax, JSON, Data handling to and from a MYSQL using PHP, Thanks
Radio button loosing selected state inside popup
I have radio buttons inside popup dialog. In code I had one of them selected. When the popup comes up first time the selected radio button is highlighted. When I close the popup and open it again the selected highlight is missing. When I again select any other button it shows highlighted, but when I close the popup and open it again the selection disappears again.
Create few Flip toggle switch with javascript
Hi, I want to creat some flip toggle switches with a javascript function to insert them in rows. When i pressed create button, its create everything but instead of flip toggle switch, a dropdownlist. How can I create flip toggles?? Thanks!! PD: It is a while function like this: function createTable() { var lista= new Array(); lista[0]= new Array('aaa','aaa', 'aaa','a'); lista[1]= new Array('bbb','bbb', 'bbb','bbb');
Safari <select> onchange form submit broken in 1.2
In my form I have a <select> box and I want the form to automatically submit when the user selects an option. The following code works fine in IE/FF/Safari (desktop version) <!DOCTYPE html> <html> <head> <link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.1/jquery.mobile-1.1.1.min.css" /> <script src="http://code.jquery.com/jquery-1.7.1.min.js"></script> <script src="http://code.jquery.com/mobile/1.1.1/jquery.mobile-1.1.1.min.js"></script> </head> <body>
Problem with jQuery load, causes stack overflow...
Hi, In my web site I've used jquery's Load method like below to load some pages: $('#Message').Load('File1.htm'); For some pages it loads but for some other pages it doesn't, and when refreshing page IE causes 'Stack overflow at line 6'! Help plz!
Jquery tablesorter how to store previous sort list
Hi i am using jquery tablesorter plagin. I want to store the previous sort list when a user close or make a refresh to the page. And after refresh or reload the page, the table will use the previously stored sort order. I try in many ways. Here is one of those: $.tablesorter.addWidget({ // give the widget an id id: "sortPersist", // format is called when the on init and when a // sorting has finished format: function(table) { // Cookie info
Next Page