Show a <img> in full screen - No URL bar
Hi, I'm working in a project that the client wants to view an card in full screen, with no address bar. I've tried many things, but the result is nothing seems to this. Anyone have an idea? Thanks in advance. Gerson
Looping through set classes
I have 3 columns of divs that are inline and forms many lines: <div class="info0..."></div><div class="info1..."></div><div class="info2..."></div> ... repeat sim. line ... I am trying to target the first and last lines of each class and change their borders. var str1 = 'info'; for (i = 0; i < %id=infogroups%; i++) { console.log('Groups: ' + %id=infogroups%); // should always output the assigned value (3) var sel = str1 + i.toString(); console.log('SelName: ' + sel); // should output 3 variables
TypeError in jQuery: cannot call method toUpperCase of undefined
My ajax calls worked fine until recently. Now I'm getting a TypeError on undefined in jQuery and can't figure out what went wrong. It started when I put all javascript in a separate file. I tried going back to inline script, but nothing seems to help. Uncaught TypeError: Cannot call method 'toUpperCase' of undefined jquery-1.7.1.js:7482 s.type = s.type.toUpperCase(); Any ideas on how I managed to mess things up? Here's the complete html that's sent to the browser: <!DOCTYPE html> <html> <head>
jquery.cycle.lite.js
When I click on prev button, the current image slides to the left instead of to the right. How do I make it slide to the right? Clicking on next button is ok, with the current image sliding to the left. Thanks, Richard
SSN Masking and Formatting
/* --------------------------------------------------------------------------------------------- * myPass v1.0 - jQuery password-hiding iPhone-Style * * Copyright (c) 2009 Oliver Storm, Stefan Huissel( http://www.mysrc.de ) * Feel free to redistribute the script/modify it, as * long as you leave my infos at the top. * * * Date Thu, 30 Jun 2009 * * Defaults: charReplace -> Unicode for the symbol that will be displayed * instead of the character. You can find a good overview here: * http://www.fileformat.info/format/w3c/entitytest.htm?sort=Unicode+Character
Validation with JQM and collapsible fields
Can someone give my some ideas the best way to validate jQuery mobile with collapsible field sets. My form works and the validation to the fields even hidden fields. But what I need to do is either open the collapsed area that contains an required field or list how many errors in the header of the collapsible field set so the user knows where to find the errors. thanks, Rob
Compatibility issues with Android - JQMobile 1.30
Hello, I have been working on this site lately as a student. http://www.spokanecounty.org/crimereport/ We are really trying to get as much compatibility as possible out of this site and have found only one problem set so far. These modern phones below are not working with Chromes Installed JellyBean Browser, although they are listed as a grade A experience. Droid Razr HD: Chrome Browser - 27.0.1453.90 (Most recent release to my understanding) Android JellyBean 4.1.2 Kernel Version 3.0.31 System Version
jQM and Google Visualization - PHP Issue
Doesn't matter what browser I use: I have created a Visualization Table for the sorting functionality. Upon initial page load, the DIV 'table_div' does not populate. If I reload the page, then everything works fine. Also if I right click on the link and say open in new tab, all the data loads successfully. I feel it has something to do with jQM caching the CDN files, but am not certain. I am hosted on Rackspace, so I don't feel that the server is taking to long to request the CDN versions of
How to bind event to .data item
Hello, Is there a way to bind a click event to a .data item? Thank You
CSV or XML to save data?
Hello, I have a webapp that pulls data out of a MySQL DB. Now I want to make this app independet from a server so I want to save the data in a differente format and accesss it directly with Jquery. It is basiclly one table with 5 columns and about 200 lines. I think I could read this table in an array and work from there. My question now is: should I use CSV or XML to save this table? Which can be handeled better by jQuery? What are other advanteges of one or the other? Thanks a lot!
How and What prototype maked difference in javaScript classes?
Hi, I have written class "IC" in a javaScript file whose code is like this: IC = function () { this.var1 = null; this.var2 = null; this.name = 'acxs-334'; this.turn = 'forward'; } IC.prototype.getMonthsName = function (m) { return IC.MonthsName[m]; } IC.MonthsName = ["Jan", "Feb", "Mar", "Apr"]; Next I have written this code but I am getting this error while accessing MonthsName : 'MonthsName.0' is null or not an object function Person(gender) { debugger; var obj = new IC(); var month = obj.getMonthsName(2);
i think the jquery little difficult to understand
i think the jquery little difficult to understand
Automatic update of select menu after jquery input database
Hello, I'm having a little issue and i don't know how to let it work, i will explain! I have enough PHP knowledge, only my knowledge of jquery is a bit poor... I'm working on a website and i have started a backoffice thats adding menu items into a database, if i put a new menu item it wil open a jquery window and add the menu item in the database. So i think i need to do this in JSON It's also possible to add a sub menuitem to an existing menuitem, this is standing in the form in a <selection>, now
How to implement active: 'selector:last' in 10x?
If I understand correctly, looks like this is no longer valid for 1.10.x (and I can confirm doesn't work for me, though works fine with legacy 1.9): $(document).ready(function(){ $('#accordion').accordion({ active: 'h2:last' }); }); What is equivalent for 1.10.x? I can't really do integer (which does work) without kludgy hoop-jumping since content will be loaded dynamically from CMS and number of entries will change often.
Observer Pattern using jQuery
I got asked a while back in a test to implement the Observer Pattern using Javascript / jQuery. I did not understand the Pattern at that point and its taken me a while to get something running. I have no theory background so I had never heard of the Pattern plus I had to understand the difference between Observer and Publish/Subscribe (still slightly confused tho). Does the code below seem to form a solid basis for the Observer Pattern? I tried to follow the idea of how Flash AS3 implements the pattern
Search by Date with JQuery
Hello to All! I have XML file. In this file have a date when user's was registered. http://d.pr/i/Wpw2 I can filter the registered users by date ? using JQuery Like: week, month, year, ...
Is there an expanding div effect like this in jquery?
What I would like to do is have like six different colored squares on a page with a lot of white space around them, and some white space in between them. I'd like to be able to click on a square and it open up/transition to a full screen, or near full screen layout with content in it. Here is an example, but this example isn't working in IE8 here at work. It worked in IE8 at home. Don't know why. http://tympanus.net/Tutorials/ExpandingOverlayEffect/ Any suggestion would be welcomed. Thank you
Trouble getting content in tag.
Hi, I am having trouble getting some text from an element in an xml file. I need to get the value inside name and as there is multiple names the only thing thats different with this one is the key tag. How do I go about getting the name? Thanks in advance. <attributes> <key>creator</key>//This is the only difference <value xsi:type="someTextinHere"> <itemId>someID</itemId> <userId>UserID</userId> <name>NameINeed</name>//This is the name I need <emailAddress>Email</emailAddress> //my jQuery is below
help with input.button() jquery UI
I want to have jquery ui theme to all my input type text. for this I run ( "input[type=submit], :button, :reset, :text, :password" ).button(); on document ready. It works good in chrome but in IE 8 , it behaves strange. the text field changes its width based on the chars in textfiled ie is the width changes based on the text size . I have a input type text with size 20 , and if user enters more than 20 chars then then the width of text element also increases , please advice
Jquery portlet plugin for struts2
Hi All, We are having the jquery portlet application(with static data) now we want to integrate with struts2, I want to know is there any jquery portlet plugin for struts2. thanks R.Ramesh
How to make multiple sets of ui tabs work with jquery 1.6.4?
I made a website using a nice template when jquery 1.6.4 was new. Now I've added two sets of ui tabs using the code below that I found on jquerys site. It works like a charm on all pc's and on all Apple products. My problem though is that the jquery 1.9 version makes my site crash on android tablet and smartphones = it completely ends the whole internet session. Since my site worked before I added the 1.9 version, I'd like to adjust the code below to "communicate" with jquery 1.6.4 instead, but I
how to validate textbox having html editor??
how to validate textbox having html editor?? i am using ckeditor :http://ckeditor.com/download in my text box to add html editor features?? but on submit i want to check whether the textbox is empty or not?? if text box is empty do not submit to database??? $(document).ready(function () { $("[id*=lblUploadError]").hide(); // On Click value entered in textboxes,Works when Add is clicked $("#ctl00_InnerContent_Update").click(function () { alert("xx");
we want to add expand and collaps dymanic
Hi all, we used div append var $Session = $('#sessionData'); $Session.append("<h2 class='expand_heading'><a href='#'>test</a></h2><div class='toggle_container'><div class='box'><h3>Need Shopping website?</h3><p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod</p> </div></div>"); }); css call but funcality not work thnks Arvind
Using jQuery Cycle Plugin
I am still quite new with jQuery, if someone can please help me. I want to add a jQuery Cycle Slider with sliding images on my website. How would I add the jQuery Cycle Plugin to my ASP.Net website in visual studio? I downloaded the script, where do I add it and where do I reference it? And how do I change the transition type and transition period? And where do I add the images that I want in the Cycle?
This JQUERY doesnot work when I use fadeslideshow.js
I am using script (Given below) to center the DIV and it is working fine. <script language="javascript"> $(document).ready(function(){ jQuery.fn.center = function () { this.css("position","absolute"); this.css("top", ( $(window).height() - this.height() ) / 2+$(window).scrollTop() + "px"); this.css("left", ( $(window).width() - this.width() ) / 2+$(window).scrollLeft() + "px"); return this; } $("#loading").center(); }); </script> refer link http://webvikas.net.in/savarkar/divincenter1.html The Loading
JQU time picker
I would like to know How to set max time in JQU time picker. Mobile Application Development
how to call page when close button is pressed in jquery dialog?
Hi, I wanted to call a page when the cross button is pressed. http://jsfiddle.net/s7LMT/ The way i have done is that when the body of the dialog is closed then it calls one page but if the cross button is pressed then its not calling
Draggable with select list on android
Hi There After searching the web for hours, I finally made the decision to post my question. I'm using the jQuery draggable function to let the user drag and drop a <li> from a <DIV> to the another <DIV>. In the <li> is a select list, connected to PHP with ajax. Everything works fine on most Browsers, Windows, Mac, iPhone (thanks to jquery.ui.touch-punch.min.js). But I can't get it working on any android browser (I tried FF and built in browser). The select list can be clicked, but I can't chose
Position of "ui-datepicker-div" in DOM
Hi there! I know this question was answered 3 years ago, but maybe some things changed until now. ;) Normally the div containing the content of the datepicker will be positioned at the end of the body tag. Is it possible to change the position to put the div near the form and context? I'm asking because of an aspect of web accessibillity. It is an requirement I have to check. Best regards, Bjoern
date picker dont want to close
I dont want to close datepicker UI after select a date, is there any attribute available. Please let me know. here is my initialization: $('#chooseDate').datepicker({//No I18N showAnim: '', autoSize: true, changeMonth: true, changeYear: true, showOn: 'focus', //NO I18N dateFormat: 'M dd, yy', //NO I18N yearRange: '1900:2100', //NO I18N onSelect: function() { } });
How to move pages left one by one
Hi, http://jsfiddle.net/4kwZJ/http://jsfiddle.net/4kwZJ/ The way i am doing is that the selected pages move up and down. But the problem is that the look and feel is not that much attractive. Is there any way to improve the look and feel like a selected page will move from left to right or something to improve a look and feel?
On click select and remember which is selected
I have a display with around 100 thumbnail images. Each has an anchor tag around it that does not target any place. It's just a container for the thumbnail and a rollover span that triggers when move your mouse over the thumbnail. . This works. The structure of each thumbnail looks like this. <a class="thumbnail thumbLeft" href="#"> <img id="avatar" width="30" height="30" border="0" name="Avatar Image" alt="AvatarImage" src="/images/AVATARS/10_30x30_BLUE.gif"> <span style="width: 150px"><img
If i am selecting date using Datepicker, radio button is still selected.
hi sir, I have just stucked it here i need your help to solve this problem. Scenerio- i have a datepicker textbox ,below that a radio button is there. I have to select either one of them. Suppose if i entered date using datepicker then radio button should be unselected of if i have selected the radio button first then date entered in textbox should be cleared. This is the code which i have written. <script type="text/javascript"> $(document).ready(function () { $('.datepicker').datepicker('destroy');
complex variables (SOLVED)
Aloha, I am trying to use jQuery and Greasemonkey to make client side changes to a site but am having problems with getting my variables setup right.. Here is a page I am trying to make changes to... Fanfiction Story Here is the part I am working with...you can find it near the top of the page. Rated: Fiction T - English - Adventure/Angst - Harry P. - Chapters: 7 - Words: 43,822 - Reviews: 74 - Favs: 129 - Follows: 48 - Updated: 07-20-07 - Published: 05-06-07 - Status: Complete - id: 3525286 Here
add data to a dialog
I have a ajax response from a web service at here, I want to display it in the dialog but it is not working. Basically I input a text in the textbox and click the button. <script type="text/javascript"> $(document).ready(function () { $('#btn1').click(myFunction); $('#res1').dialog({ autoOpen: false, resizable: false, position: 'center', stack: true, height: 'auto', width: 'auto', modal: true }); });
Forms not working with updated jQuery
I'm working with a client who uses a sort of clunky CMS system. The jQuery the CMS uses is a very old version, and I had to update it to a newer version to get certain plugins working. However now the forms aren't working. When you press submit nothing happens. I'm no programmer, but I try to work things out. I noticed the form tag had an onsubmit="return false;" tag. This worked with the old version of jquery, but not the new one. When I get rid of that, it insists there is no e-mail entered in
Swapping items with vertical sorting in a Display Grid
Good day All, My question is drawn-up from the demo example on the jquery UI website: Display grid ; when sorting horizontally,the items tend to swap places but when one gets to sort vertically,it tends to displace the item it tends to sort.How can i create the swapping effect for vertical sorting just as it is for horizontal sorting. To better understand what i mean,i want a situation where i swap places for items '8' and '12' on the demo above and not displacing it.And i noticed a similar effect
.html elements adopting wrong id?
Hi, I'm really new to Javascript/jQuery. I'm pretty sure this is a fundamental basic, but I've yet to cover it. (lack of time and good source material) Anyhow, my problem is that when I get jQuery to write a new HTML element, that element isn't responding correctly to additional code that relates to it. It's relating to the container that the new code was written into, but not the new code. $("#mainCenter").delay(2700).fadeIn(400).html("<div id='newBox'> </div><br><div id='newBox2'> </div><div id='newBox3'>
Datatables constant height
I have 21 records in my datatables and page size equals to 10. When I turn to last page, entire table shrinks vertically and paging controls go up, since there is only one record on the page. How to make my table contant height? I tried with: <table id="aaa" style="height:400px;"> but my table gets streched and looks disguisting. Thank you for help in advance
Multi-Column Autocomplete Issues
I am developing a multi-column autocomplete. I have three categories of items in my list which used to be just one column. Now the UL contains three LI, one for each column and then I add in the items with a monkey patch using the _renderItem, determining which type is which item and adding it to the appropriate UL within the LI. The data appears correctly as expected and the open event works, but the hover and select do not. I'm not all that concerned about the hover, I can accomplish this easily
Next Page