Google Map API not working
What is wrong with my code below? <!DOCTYPE html> <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8" /> <title>Maps</title> <script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false"></script> <script type="text/javascript" src="jquery-1.9.0.min.js"></script> <script type="text/javascript"> var map; function initialize() { alert('Hi'); var myOptions={ zoom: 14, center:
formulaire
Hello dear friends developer, I am a new developer jquery mobile, I have a problem with the code below, given that when I filled out the form (index.html) and send it to (action.php) I output which displays the code of second file (action.php). Fichier index.html <!DOCTYPE html> <html> <head> <meta name=viewport content="user-scalable=no,width=device-width" /> <link rel=stylesheet href=jquery.mobile/jquery.mobile.css /> <script src=jquery.js></script> <script src=jquery.mobile/jquery.mobile.js></script>
[1.3.0-beta-1] About headers in panels
I'm trying to include a fluid-like header in a panel. What I mean is the that the header of the orignal page and the panel look similar (color scheme + height). This functionality is more or less implemented in http://jquerymobile.com/branches/slide-panel/docs/panels/index.html via a listview in the panel. The first listitem has some tweaking (margin-top and color). I've implemented something similar and hosted it at: http://jsfiddle.net/ZnuwT/2/ It uses similar listview and the tweaking. The difference
Why is that page not centered?
Hello, I`ve created a mobile website. On my iphone it looks good and the page is in the center. On iPad its on the right and on the computer its not centered either, why? http://poure.eu/mobil.fitness-rodgau.de/ Thanks for help
The Bootstrap rendering RoyalSlider inoperable?
I'm not sure exactly what is creating this conflict. When I run RoyalSlider with the WP default theme it works fine, but when I run it with The Bootstrap theme it no longer works. I followed the documentation and troubleshooting on the site and asked the developer but as of yet have not received a response. I checked to verify that the correct plugin settings were checked to included the slider on each page. I also verified that the theme author correctly called the .js scripts by enquerie, etc.
height(), innerHeight(), outerHeight(), css('height'), css('border-top-width') compared at different zoom levels
HTML5 page. Chrome 24.0, Maxthon 3.5, IE 8 and IE 9 I have created two div with a height of 100px to analize. The second one have a border of 2px. I saw documentation of .height() but the page do not contains the word "zoom" at all. Where is documentation about zoom level in jQuery? Documentation says "returns a unit-less pixel value" (can be a float point value?) and then "return the content height, regardless of the value of the CSS box-sizing property". First of all, according to the documentation,
Almost works
I am testing out Easy Comment and have everything working except that it won't post. I took your code sample and changed it for my local settings and loaded it to my web server (IIS). The dialog came up and accepts my input OK but when I hit submit nothing happens. I get no errors of any kind. Any help would be appreciated. Here's a link to the test pege. http://sjsnew.digiact.net/school/easycomment_sample.html
content slider gallery move automatically
how to move content slider gallery move automatically, i m using content slider having side arrows when i click on arrow it works, i want it should work automatically jquery.ennui.contentslider.js <script> $(document).ready(function () { $('#contentslider').ContentSlider({ width: '944px', height: '409px', speed: 600 auto:true; }); I tired with auto: true..but its not working plz suggets.
calling in jquery - what is it about?
Calling the switch plugin This plugin will auto-initialize on any page that contains a select with the data-role="slider" attribute. However, if needed you can directly call the sliderplugin on any selector, just like any jQuery plugin: $('select').slider(); This what does this "calling" do? The jqm manual assumes the user already knows But where to find out?
mobilyblocks
Hi Guys, i'm new to Jquery but I found a cool plug-in. see folowing linK: http://plugindetector.com/mobilyblocks I've already implemented it but the thing is. when the bottem circle opens (with the click event) the links (other circle are round it) I like to have it changed to when a link is pressed that it closes again. the trigger for this code is Click what i'm using but I only get the circle closed again when I click on the middle circle. please does anyone has a clue?? The code for the whole
Alternative to $.event.handle in 1.9.0
Hi, I have written a library of mobile 'events', that unifies mobile and desktop clicks and touches into a single event (see here > https://github.com/benmajor/jQuery-Mobile-Events). I (rather foolishly) relied on two undocumented jQuery features to handle certain areas within the code. One of them was $.attrFn, which I have been able to fix by declaring it myself, but the other is a little more difficult, it is the $.event.handler. The full code that no longer works is as follows: function triggerCustomEvent(
jQuery errors in debug mode. (machine issue?)
I'm getting an error(s) in VS 2010. I'm not sure if it's jQuery or not, but it's definitely js. I'm using Telerik controls. I seem to be the only one getting the error(s). If I run my project, on certain pages (most) I'll get ID is undefined and it breaks with a dynamic window showing only this: cr_real_detachEvent("onload", window.CR_IE8_EVENTS[ ID ].handler); If I continue on and ignore the error, it seems to work fine...just annoying. On subsequent postbacks I'll sometimes get (and it could be
//$(this).parent().parent().remove();
Hello all, This is my first post and I'm relatively new to JQuery so hope this is not a stupid question. Basically, I want to have some rows in a table that can be deleted by clicking the button which is present on each row. The code looks like this: HTML: <table border="0"> <tr> <th></th> <th>Name <em>*</em> </th> <th>Email</th> <th></th> </tr> <div id="participant"> <tr> <td>1</td> <td><input type="text" id="partName" class="required" /></td> <td><input type="text" id="partEmail"/></td>
different buttons but same ajax call on blockUI
I have a blockUI in which i ajax call another page through a series of buttons with same class but different attribute value(of tag). however, when i run the code, only value of first button gets submitted no matter what button i clicked. How can i modify this to send data associated with different buttons separately? Please help $('#submit').click(function() { var action = $("#form1").attr('action'); var form_data = { message: $("#message").val(), data: $(".pageDemo1").attr("tab"), is_ajax: 1 };
how to block div from inheriting css from parent div?
<div id="containerDiv" style="overflow:auto;"> <div ></div> <div ></div> <div ></div> <div ></div> <div ></div>......................<div>n </div>In the above code all divs inherit "overflow:auto" and this is a desired action, but I want to turn off this inheritance for sume divs
attr removed? Or just removed for properties?
I'm looking for some clarification. Has .attr been removed entirely in 1.9? Or is it still around but simply no longer able to set properties (as opposed to attributes) ? I'm finding the upgrade guide to be a bit ambigious. Full disclosure - Haven't had time to do my own testing. I would avoid asking this question on the grounds that it doesn't take much to answer it by trying it out, but I think it's a good idea to document it clearly anyway, so here it is.
Parsererror on valid json(p)
Hey people, For retreiving data from a remote server (for a local app) I use jsonp. The ajax function returns a statuscode 200, statusText success, and chromes developer tools show I received the correct data, but it also gives me a parsererror. I have confirmed it is valid json, and it is properly parsed in chromes console. Here's my code: $.ajax({ dataType: "json", url: url, success: function(rdata){ data.sampleData = rdata; console.log(rdata);
Memory leak or poor code?
Hello, I hope somebody can help. We are using jQuery 1.8.3 and have an application that is leaking memory badly in certain conditions. It is very difficult to track down, but I have a small snippet of html/script that seems to exhibit a leak (obviously this is not part of the app itself): <div id=”test1”></div> <script> gInterval=setInterval(function() { $('#test1').empty().append($('<div id="'+Math.random()+'"></div>')); }, 1); setTimeout("clearInterval(gInterval);
JQuery Conflict with Dropotron Menu and Lightbox
Hello, I am very new to coding in Dreamweaver and have spent the better part of 2 days trying to resolve this. I have seen many similar posts online, but can't get the code to work in my webpage. I've got a navigation menu that uses JQuery and when I attempt to insert Lightbox into the page, the menu does not function properly. I'm sure this is a JQuery conflict. I have tried the JQuery.noconflict()...not working. Can anyone provide me with exactly where I need to insert the JQuery.noconflict()
Selectables issue
Hi, i have two selectables with two textboxs in a table (The first selectable contain the category and the second the sub-category). The textboxs are used for search in the Selectables. If i select a list item from the first selectable and execute a search, is also selected the list item of second selectable with the same ID of selected item of first selectable. This is my Javascript code: function Category() { $( "#selectableCat").selectable( "destroy" ); $("#selectableCat").bind("mousedown",
Effect with slide will stop at the undesired location
I am trying to use jQuery UI to produce a dropdown menu. When mouse over the box, the inner div will slide down using jQuery slide(). However, I found that, when the div is sliding down, it is started from the parent div. And finally, it will produce a "jump" to the destination. Furthermore, if my mouse is move away before the animation ended, the box will stopped at the undesired location, and become unrecoverable. If moving the mouse in and out too fast, the div will be missing. Is there any way
using jquery-migrate
hello all - newbie here (again) during the week, jakecigar was kind enough to explain to me why i needed to use jquery-migrate if i was going to be using the jquery-latest. i notice that jquery-migrate had a version number of 1.0.0. i am wondering if there is any way to use jquery-migrate WITHOUT specifying a version number? it seems a little odd to be using a jquery-latest and a jquery-migrate with a version number. maybe something like a jquery-migrate-latest? thank you!
Slide effect enlarge border size problem
I am trying to use jQuery to produce a dropdown menu. When mouse over the box, the inner div will slide down using jQuery slide(). However, I found that, when the div is sliding down, the box will become bigger than the original size a little while, then will finally restore to the original size. This is not happened in fadeIn() and fadeOut(). Is there any way to solve it? This is the sample. (Please refer to the second one, the first one is using jQuery UI).
how to obtain file object from file input in JQuery or javascript
Hi how to obtain file object from file input in JQuery or javascript. <input type="file" id="files"> Thanks in advance, Joseph.
Sample code to upload excel file using Ajax to controller
Hi Could you please provide me sample code to upload excel file using Ajax to controller using Iframe Thanks in advance. Best regards, Usha.
another IE9 Problem
i noticed this post: https://forum.jquery.com/topic/problem-with-jquery-ui-layout-working-along-with-jquery-plugin I am having the same problem in IE9. firefox works perfectly once again but IE9 will not move the tooltip down with the accordion. Is there a css fix to this or something.
common code for map
For my map for mobile application I want to have the following functions: 1. map a static object designated marker; 2. the user has a button when clicked on can determine its current geolocation; 3. also have a button for the user get direktions. I found some code for all combinations of these positions but they do not work. Is there a common code?
Dynamic Tab Creation
Hi, I am in the process of creating a Google Maps Mashup. When I add a marker to the map, I am dynamically building up an HTML string with certain elements I am populating using JS. This string is then passed on to the info "popup" window. This needs to be done on the fly so that each marker has it's own unique pop window. Now, the HTML that I am passing to the popup window contains a jQuery tab. What I cannot seem to wrap my head around is how I would "initialise" (not sure if correct word) the
Suggestion on which widgets (and how) to light up a map and a list, based on some selection criterion
(UI novice here) I need to light up locations on a map of some kind, and short list items on a list, based on some selection criterion (implemented by a combination of radio buttons, drop downs etc.). Any suggestions on which widgets I could leverage, and how?
Cycle2: How to get the total slide count in the jquery script on the click function?
Hi, On the click event i want to get the total number of slides from the cycle2 plugin. $('#cycle-2 .cycle-slide').click(function(e, opts){ var index = $('#cycle-2').data('cycle.API').getSlideIndex(this); }); Igot the current index, but i want the slide count in the #cycle-2 click function. mentioned above. Any help?? thanks in advance..
jQuery plugin is not appearing on the new plugin website
Hi Repo: https://github.com/aamirafridi/jQuery.Marquee Settings file: https://github.com/aamirafridi/jQuery.Marquee/blob/master/marquee.jquery.json Tag added: https://github.com/aamirafridi/jQuery.Marquee/tags Hook added: http://cl.ly/MGQG Still not appearing on the plugin.jquery website. What am I doing wrong?
index() problem reseting when find other div.
Hello guys i have this problem: I have an image carousel but the structure of the html needs to be like this: <div class="example> <div> <!-- Image Elements --> </div> <div> <!-- Image Elements --> </div> </div> And now i need to know the index of the elements, but i know that when it finds the first div counts from 0 to 4 for example, and then resets the count because it founds the other div. What i want to do is to find the way tha my index are: 0
how to disable dropdown on chenage on other dropdownvalue
Hi all, greetings, as i am new in jquery. i want to avoid post back while selecting on country. i have two dropdown one is country and another is state if i select country other than india state dropdown should be disable. plz help My code is: <script type="text/javascript"> $(function(){ $('#<%=cmbCountry.ClientID %>').click(function(e){ var ddlstate= $('#<%= cmbState.ClientID%>'); if(this.checked=='india') { ddlstate.attr('disabled', true); } else{ ddlstate.removeAttr('disabled');
Getting masked panel to slide on clicks from inside
Hey there, So I have a jQuery script below that slides a containers on and off the screen with a 100% mask. What I have been having the hardest time figuring out is how to make the containers slide based on links within the containing div and not the div itself. <style> body {margin:0; overflow: hidden;} .container {overflow:hidden; } .f1_container {overflow:hidden; width:100%; float:right; margin-right:-70px; background-color:#999;} .f1_bar {width:70px; float:left; background-color:#333;} .external_container
show() function not working in IE8. Any ideas why?
The show function is not working on my website for IE 8. Possibly other versions of IE too, but I don't have a different Windows PC in order to test it. It works in other browsers (FF, Chrome, etc) on both Windows and Mac OS. Below is a link to the page I'm having problems with: http://www.signmestlouis.com/order_now When you make a choice in the "Select Your Sign Package" drop-down, an image of the sign should appear. It does not appear in IE8. I'm using JQuery v1.7.2 My code basic code
jquery cycle slideshow images alphabeticaly, array won't work
Hi everyone, I have used an online tutorial to make a slideshow using jquery cycle plugin. the tutorial is located here: http://www.ampedwebstandards.com/2009/03/16/tutorial-dynamic-image-slideshow-with-php-jquery/ It all works, but the images are not displayed alphabetically. And I do want that. I tried making an array of the image paths and sort that array alphabetically. That actually workes fine, but for some reason the cycle plugin won't turn the image tags in a slideshow anymore. Instead the
Multiple button colors?
I've downloaded a couple of themes with different sets of colors since I want to have the option of having different colored buttons (e.g. red, green, and gray) on the same page. I'm not clear how to apply multiple themes to the same page - I've been using a statement like this to link to the stylesheet for a particular theme: < link href="../Styles/gray_theme/jquery-ui-1.9.2.custom.css" rel="stylesheet"/> . If I want some buttons to use the gray_theme, some to use the red_theme, and some to use
hiding signal and navigation bar
is it possible to develop a jquery mobile app by hiding the signal symbol and the navigation bar.
adapting jquery to a html5 website
I am countyfairgrounds.net and the site has been coded in html5 and css3 I am pretty visible and resizable on most mobile devices. Do I therefore need to make a separate jquery website for mobile ? or can I take my present site and just adapt it with some jquery - without having a specific and separate mobile website. I am new at jquery and need help
how to search the contents of all associated js files simultaneously through IE F12 panel?
Hello - I'm trying to debug a web page that has around 30 associated js files. Specifically, I've identified a function name and I want to see its details. To do this I first need to identify which js lib the function name belongs to. The F12 view in IE shows me a dropdown of all the js files associated with the page. There's a search widget in the top right corner of the panel. However, this search widget only appears to search the content of the script that's currently open in the F12 window.
Next Page