jQuery 1.8.2 | Get thumbnail, title, duration, vid ID from clicked youtube related video?
My app retrieves thumbnail, title and duration from searched videos or via preset links, but how do I go about in fetching the same info after import of a video provided in the related youtube videos that appear after a youtube video has ended? Basically, when a clicked related youtube video appears in Tubeplayer (which I use as player), how to get thumbnail, title, duration and vid ID of that video? Thx for pointers or sample code. - dan Edited: Added ID in title and question.
Add to Home Screen
When users add an icon to home screen for my app and run the app from that icon, then new changes that I make to the app are somehow not reflected. Running the app directly from Safari shows all new changes. Is this normal? If so, how can I force the "installed" app to reflect new changes?
How do I disable Android Back button on one page and change to exit button on every other page
Hello community, I am developing an Android application using Phonegap that interacts with my Drupal site. I have re-assigned the Android "Back" button to prompt the user to log off from the Drupal server however, I just want it disabled on the login page (for obvious reasons). I can get it to work but only until the user logs out then once on the login page the button remains re-assigned as a logoff button. Here's the code I have so far: <head> <script> /* Wait until device is ready
Compare JQM 1.1 with JQM 1.2 for the same APP here
I been working on my web app for more than a year and today I will like to show you the results. Also this is an oportunity to see the changes from JQM 1.1 to JQM 1.2 as we actually have 2 web apps ¨online¨, one that is stable , and one where we test and run new ideas and improvements. You can see a ¨stable¨ version example at: http://m.futbol.com.ec/tournament/espaa/liga-bbva with JQM 1.1 and the same page but with JQM 1.2 at: http://www.futbol.mn/football/tournament/espaa/liga-bbva As new versions
Position button (image with no next) inside header (background image)
Hi, the problem with button with image and no text is the size / shape of the button is a 9px circle regardless of the size of the image. I was able to make it work by overwriting sizes in ui-btn size, but it does not scale (i cannot define button with other sizes). Is there a better way than the following? <div data-role="header"> <h1></h1> <div style="position: absolute; top: 0px; margin-left: 540px;"> <a href="#two" data-role="button" data-transition="slide"
Event, when i scrolled 2/3 of page, not running
Hi all. I have next issue: I need run some event, when I scrolled 3/4 page. I do that: var limit_height = 3/4 * jQuery('body').height(); jQuery(window).scroll(function() { if (jQuery(window).scrollTop() > limit_height) { alert('You are scrolled 3/4 of page!'); } });So, when I look on console(I check current scrollTop), I have more times, when current scrollTop < 3/4 * body_height(so limit_height). Therefore event not run. Please help me, where I have error, if it's
Jquery multi page with django
Hi, Using django with jquery populating links like. <a href="#popupItem{{ item|key:'ITEMNUM' }}" data-transition="pop"> and populating pages using. <div data-role="page" id="popupItem{{ item|key:'ITEMNUM' }}"> I cant get this multi pages working for me. Everything seems to be fine, produced links is looking like. /sale/detail/02_O1_00000036#popupItem10 and appropriate pages are created. if I copy and paste the source html into a seperate html file, it works fine. But then, produced links differs
Show submenu permanently in superfish menu
Hi, I am using the nav-bar superfish menu on my website, and want to show my submenu permanently. Anybody have an idea on how to do this? Best, Slynge
l am trying load images with ajax into a div.
l am trying load images with ajax into a div with c# web method code behind. My div: <div id="ThumbNailNav" style="display: block; width:100%; height:100px; z-index:1; background- color:Red" title="Thumbnail Navigation" > <div id="thumbimg" style="width:80px; height:80px"> </div> </div> My ajax code: function PopulateThumbsEx(BookID, lastShown) { var tag = $("<div></div>"); $.ajax({ type: "POST", // AJAX type post
Multiple datepicker questions
I need to: Limit datepicker so dates in the future cannot be selected. Make it so I can get the value from datepicker and insert it into text. Make it so when I click the datepicker, it hides it and shows a second datepicker. Help!!! Please?!?!?!
document type missing ; before statement issue
Hi, All I have a problem how to fix any idea
JQUERY Validate image name extension
Dear All I really love this forum..... in an CMS I am uploading the images I Want to allow only .JPG files to be uploaded...... Example In case a person selects abcd.GIF to upload .... an alert message to be displayed as please upload only JPG
Ajax interactive map
Hello everyone, I'm new to this forum and new to jquery. So, I'm trying to create an interactive map. However, next to the map there's going to be a form (e.g. with checkboxes). Say, we have a map of europe and a form with options such as "has sea" or "has english as main language" and so on. When the user selects an option, a query is made to the database finding all the countries that fulfill the selected criteria. Then, these countries are highlighted and they are clickable while the other ones
Err "QUnit.equals has been deprecated since 2009 (e88049a0), use QUnit.equal instead"
Hi, In the file myTests.js I have the code below: test('assertions', function() { equals( 1, 1, 'one equals one'); }) when I run it I got the err "QUnit.equals has been deprecated since 2009 (e88049a0), use QUnit.equal " instead if I run : test('assertions', function() { ok( 1 == 1, 'one equals one'); }) everything are ok. what shell I do to fox this problem err ? Thanks
Jquery problem with a function with a post inside a submit form
Hello I have this code, the problem is this, when click submit button, execute submit function, when arrives to validateEmail enters in the function, and before get $.post result , the function return true. I stop the process with return false in the form submit, and with alert command I check that this is the process: First enters in validateEmail, the return true and finally $.post return result (this works right). I do not understand why when enters in function validateEmail, first go to $.post
jquerymobile generic photopopup
Hi I'm new at javascript. I have many images on my mobile page and would like to adapt the following jquerymobile code to allow it to be used without hardcoding the image path in the data-role="popup" div. Here are the two parts to the code. The first section is used to display a thumbnail that when touched displays a lightbox with a higher res picture: <a href="#popupPhoto" data-rel="popup" data-position-to="window" data-inline="true" data-transition="fade" ><img class="v100col" alt="equinox"
selecting an image in a class
Ok, I'm once again being stupid. So I need a little help. If I have: <fieldset> <legend>Payment Method</legend> <article name="paymentType" class="paymentType selected" value="<natsPay1>"> <img src="img/light_bulb_on.png" /> <p class="mpOption pull-left">Credit Card</p> </article> <article name="paymentType" class="paymentType" value="<natsPay2>"> <img src="img/light_bulb_off.png" /> <p class="mpOption pull-left">Euro Debit Card</p>
Reload google map API in a popup
Hi all, I've an issue with a popup, I load in a google map, but when I click for a second request , the google maps isn't refresh despite I use google.maps.event.trigger(map, 'resize'); My code is : var geocoder; var map = null; function initialize() { geocoder = new google.maps.Geocoder(); var latlng = new google.maps.LatLng(-34.397, 150.644); var mapOptions = { zoom: 12, center: latlng, mapTypeId: google.maps.MapTypeId.ROADMAP } map = new google.maps.Map(document.getElementById("map_canvas"),
pdf
I'm posting a link to a pdf file but when I click it then it comes up as a webpage that says 'undefined'.
Google map with multiple directions
Hi Allhow can i get Google map with multiple directions: like i will first search for chicago then India then Pakistan so, now my map should fetch me the directions 1) from Chicago to India 2) from Chicago to Pakistan Hope you all have the understanding, Thanks For your help
Jquery validation in button click
Hi, In my aspx page has 3 buttons i need if i click the OK button then the page should be validate I am working on VisualStudio 2008. I am using these scripts <script src="Scripts/jquery-1.3.2.js" type="text/javascript"></script> <script src="Scripts/jquery-1.3.2-vsdoc2.js" type="text/javascript"></script> <script src="Scripts/jquery.validate.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function() { $("#aspnetForm").validate({ errorClass: "error", rules:
Newbie problem with simple toggle effect
hi, this is my first post as i am pretty new to jquery and trying out some simple stuff my goal is to make a simple toggle effect to show a list of comments, but my code does not work anymore after i changed the html structure $(document).ready(function() { $(".togglebox").hide('fast'); $(".toggle-nav").click(function() { //$(".togglebox").toggle(); //$(this).next('ul').toggle(); $(this).nextAll('ul').toggle(); }); }) first i used a div structure in
Multi filtering
hello i`m new to this site, I like to make web page with multi filtering choice and i found on web site http://www.stairking.com.au/Product-Listing/balustrading and I try to copy paste this site to learn how to make something similar but when I choose some filter then nothing happens where is the problem, my test site can be found on this page: http://www.marana.hr/testing/ when I click some menu choice like link capping then web page direct me to http://www.marana.hr/testing/#p=1&s=10&cfilter=52
How to validate content page on button click in asp.net using jquery client side?
Please help me? How to validate content page on button click in asp.net using jquery client side?
Can I use scriptlets inside the success callback of $.ajax() ?
Hi, I am migrating an existing web application, that uses JSPs, javascript and scriptlets heavily, to use JQuery to ajaxify certain form.submits. The application mainly has search page (with search results in a table), then upon clicking any record, it navigates to view record page and from there modify record page, etc., so here we are trying to bring the view and modify record pages in separate dialogs so that the user still remains in the search results page. In the existing view and modify pages,
controlgroup full width?
Upgrading to 1.2.0 breaks controlgroup. I want this example ( http://jsfiddle.net/pAuqm/1/ ) to work in 1.2.0 with 1.8.2 Alternatively, inset navbar with rounded corners. Any ideas? Thanks, ///johan
FadeTo problem
My codes below is to fade in .portfolio image when the page load but with opacity of 0.8, but when I add a hover effect on each of the image, the opacity will not reset to 1 even when I have opacity set to 1.0..... and when hover out the image look lighter. How do you overcome this? $(".portfolio").hide(); $(".portfolio").fadeTo(1000, 0.8); $(".portfolio a").hover( function(){ $(this).children("img").animate({ opacity: 1.0 }, "fast"); }, function(){ $(this).children("img").animate({ opacity: 0.8
Load the page from cache or any other logic for quick load.
Hi All, I have to created a application, like Text Book, i have used for navigation button for back and forward for next and previous. need to implement the pagination for the same. How i load the already seen the page from cache or any other logic for quick load. regards, Jaya.
jQuery slideToggle doesn't animate
Hello, I've been using jQuery slideToggle for a project but it doesn't animate(slideDown/slideUp). It just shows/hides the element. I've tried setting a width to the element, using display:none; on the elements and hide the elements with .hide() Thanks in advance!
jQuery Datepicker to Disable a Specific Date AND the previous day
Hello Forum, Based on the posts I've found online, I have coded a BeforeShowDay function that disables specific dates I've added to an array. This is working fine. My next step is to modify the function so that the Datepicker automatically disables the next day of any date found in the array. For example, if October 22 needs to be disabled (e.g. the lodge is fully booked that day), I need the Datepicker to automatically disable October 21 as well (as visitors are trying to book a 2-night visit, and
Newbie variable question
Howdy all, I'm a self confessed newbie to jQuery and the world of javascript and for the life of me I can't find why I keep getting a 'Cannot assign to a function result' error. Basically, I have 2 <a> tags that act like buttons with a <span> tag between them that displays a number. When the user clicks on the right arrow I want the number that is displayed in the <span> tag to increment by one, and when they click on the right arrow I want it go back one number. Sounds simple enough, but apparently
How to set target for scrollTop and scrollLeft
Hello. I am able to get the page to scroll using something like this $("html:not(:animated),body:not(:animated)").animate({ scrollTop: rw_X, scrollLeft: rw_Y},2000); I was hoping to be able to target the animate element by using something like this document.bodyIs this not possible? What are some targets that allow you to scroll the page (the position of the scroll bars)? Thanks FA
jcrawl.com: html scrapper as a javascript library
Hi, This is not really a plugin, so I am sorry for posting it here. Anyway this was the closest forum I found. I created a javascript library and web app based on jQuery for programmers and non programmers to be able to scrappe html data that is not exposed through RSS or webservices. My goal was to create an app to create the scrapping services that was as simple and visual as possible. Also that it could be used relying as least as possible on the server side. Therefore everything except for
Datepicker Question
Hello All, I was wondering how it would be possible to disable the next monday, when the day now is a friday. I can disable every monday, but I only want to disable one, when the day is friday and only the first monday, not every monday. I was using this, I am getting in the if loop, but it's not returning anything. minDate: new Date(y,m,fridayNotMonday), function fridayNotMonday() { var vdate = new Date(); var vday = vdate.getDay(); var vm = vdate.getMonth(), vd = vdate.getDate(), vy = vdate.getFullYear();
How to write correctly this variable, please
How to write correctly this variable, please: line 3 var $botonesComprar = $('.presup,.comprar_prod,.enviar_form'); var $botonesRegistros = $('#registro,#ingreso'); var $botonesSlider = $botonesComprar,$botonesRegistros ??????????????????? That is: var $botonesSlider = $('.presup,.comprar_prod,.enviar_form,#registro,#ingreso'); MIKEPIANIST
I need you help!
hello, i want to count of three div and wrap to <li> main: <div>title-1</div> <div>image-1</div> <div>content-1</div> <div>title-2</div> <div>image-2</div> <div>content-2</div> change to: <li> <div>title-1</div> <div>image-1</div> <div>content-1</div> </li> <li> <div>title-2</div> <div>image-2</div> <div>content-2</div> </li>
How to structure jquery code for a big website?
Hello; In a website with 100+ pages, let's say each page has its own class, id and jquery needed to function. I believe all javascripts shoulb be added in head like <script src="/docs/js/jquery-ui-1.8.10.custom.js"></script>Now how do we assign each piece of jquery to each page that requires it? For example if page A uses functions A,B, and C, and page B doesnt, how do we include them ONLY in page A without getting the site messy? Thanks
Proposal for Official .ScrollTo() Method
I wrote this .scrollTo() method to make scrolling much simpler. I hope it can be included in the next iterative release, as part of, jQuery's core library. I appreciate any feedback. API / Examples / Source: .scrollTo()
jquery plugin
Hi. I have a question regarding the plugin available for jquery. Can some one explain me about the purpose of jquery injector . Is there any such plug in available for internet explorer and firefox as such???
single image load onclick thumbnail
I have a PHP gallery script and am implementing a jquery thumbnail slider - so far so easy. What I would like is to have the main image load with some kind of transition on clicking the thumbnail. There are a wonderful selection of gallery scripts but they all seem to load ALL the main images. Each of my albums has say 60 images - of which the user may want to view only 5 or 6. 50 times 50-100kb = slow. I suspect it is not so difficult but I am not sure where to start. thanks
Next Page