jQuery and Css transform:rotateY?
Is there a way to replicate the effects of css's transform:rotateY(xDeg) so that you can transition between a range of degrees? Or is there a a javascript way of affecting it in a similar fashion? I'm trying to make a standard box transform(morph) all the way through to a set degree. But I'm not having any luck. Just curious if this is at all possible atm mixing css and jQuery. Thanks for reading
Sum of columns in jQuery not working
Wanting to sum rows and columns in a table with jQuery I came up with http://jsfiddle.net/HinE/y5DGC The sum of rows is working but I do not understand why the sum of columns is not working?
i need edit in popup using jquery
This is my code that i am strucking in getting editing the details. while entering edit button i need to show the field and value which should be edited in dialog box <%@ page contentType="text/html; charset=UTF-8" %> <%@ taglib prefix="s" uri="/struts-tags" %> <html> <head> <title>jQuery UI Dialog - Modal form</title> <link rel="stylesheet" href="//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css"> <script src="//code.jquery.com/jquery-1.9.1.js"></script> <script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
How to enable dialog scrollbar when content exceeds dialog height?
I am using jquery dialog popup in my page. My dialog height is "271". After that, enable the vertical scroll bar for dialog div. How to enable vertical scrollbar when div content exceeds the dialog height? I want to enable only dialog scrollbar. I have tried in jsfiddle. but its not working. Is it possible? My jsfiddle: http://jsfiddle.net/RakZ5/4/
HELP redirect
Buonasera, mi Dareste Una mano una tariffa Una redirect DOPO il login di un'utente REGISTRATO? Praticamente io ho 2 Tipi di utententi, 1 - UTENTE 2 - COOP VORREI Che QUANDO effettuano il LOGIN DOPO Aver Inserito Username e Password CLICCANDO sul Tasto login, ci SIA Una redirect alla Pagina profiloUSER o profiloCOOP (in base di un chi effetua il login) e il Tasto LOGIN Presente nell HEADER di Tutte le Pagine diventi LOGOUT. così il Che devozione agganciarmi al serever a tariffa CIO sé mi potreste
Select Dropdown is not working in IE8
Hi All, I have lot of Select Dropdowns in my application web pages. Some of them Have longer text as options. In Ie8 all the longer text is cutting off. I tried some options...Here is my code below.. I tried doing like this my code works if I specify to the particular select dropdown with specific Id.. When I apply this code for all my select dropdowns..all the dropdown are breaking and messing up with the styles...I have different kinds of select dropdowns in my web pages with different widths..How
HTML text in a textarea
Hi I have some HTML in a textarea in my document: <textarea id="html_out"><p>123</p></textarea> After grabbing it and manipulating it as a var, I set it as the content of the textarea, effectively something like: $('textarea#html_out').val('<p>ABC</p>'); What I want to do is wrap the textarea in a div: $('textarea#html_out').wrap('<div></div>'); and then remove the textarea tags: $('textarea#html_out').contents().unwrap(); and for the contents of the div to display as normal HTML, so I'd just see
Wanting flash movie to reduce in size after it plays
Hello, I have a flash movie that I want to reduce in size once it has played. In other words, when it plays, it is 480x640 and when it finishes, I want to go down to 120x160. Someone at Experts Exchange thought jQuery might be the way to go. I see the http://jqueryui.com/resizable/, but that is done manually. Any ideas? Have a great day, Don
Using 'this' for more than one attribute on hover
I'm trying to get the text from the 'alt' part of the image to slideDown on hover and then slideUp once the cursor exits. The fade is working fine, but I cannot get the text to appear unless I use a class, the problem is when I'm using a class the text for all the images drops when hovering on one img. Current code - not dropping any text $('img').hover(function() { $(this).css("opacity","0.4"); $(this).html.attr('alt').slideDown("slow"); },function(){ $(this).css("opacity","1"); $(this).html.attr('alt').slideUp("slow");
Problem with starting script from iframe
Hi! Guys, help me please. There is a page with iframe, into iframe loaded page containing java-script. if I specify the source for the iframe <iframe name="iframe1" src="second.html"></iframe> everything works well, the script works on the parent window and the one in which he is. But if I try load page into iframe with link <a href="second.html" target="iframe1"> script don't work for a parent page. Script loses a parent? Please, see this code: parent.html: <html> <head> <title>first</title> <script
Split Date of birth
How to split a date 1021988 into (i.e. 1/02/1988 dd/mm/yyyy)
image miss aligned initially or when window is resized
if you know a way to fix this http://s2.postimg.org/wotpf403d/Sem_T_tulo.png it appears initally wrong some maybe i need to hide it and just show when it gets the position. it. this also happend when you changr browser window , it only looks good on maximized window mode in: http://85.240.70.238:8080/default.aspx
How to Attach A Tooltip to a Dragable Element
Can you please take a look at this demo and let me know how I can attach the tooltip to jquery ui handler so when the handler moves the tooltip also moves? Here is my code: $(function () { $("#slider-vertical").slider({ orientation: "vertical", range: "min", min: 0, max: 100, value: 60, slide: function (event, ui) { $("#amount").val(ui.value); } }); $("#amount").val($("#slider-vertical").slider("value"));
refresh select list
Hi, How to create refresh select list with options 1, 2,3 4, 10,60,...., on selecting a 1 a refresh button is created and the page can be refreshed once by clicking it, on selecting 2 a refresh button is created & page can be refreshed twice by clicking it, and so on...if the selected option is 2 , the refresh button should disappear after it is clicked twice.... and same applies to the other option...
jQuery and Safari 5.1.7?
Hi all. I believe that Safari has stopped updating their browser for the Windows platform. That is the last version of Safari for Windows operating system was 5.1.7. They have more recent versions for their Operating system. How does jQuery determine if the vendor prefix (-webkit-) is needed as the two versions diverge? TC
HELP.......APPEND
Ciao Ragazzi, mi occorrerebbe un'aiuto sto provando da giorni ma senza successo, dovrei riuscire ad utillizzare questi campi in imput tramite delle chiamate al server, mi spiego meglio. il codice è il seguente : http://jsfiddle.net/Lm9mp/8/ praticamente in REGIONE DI NASCITA la lista delle regioni scelte me la deve prelevare dal server, e in base a quello che inserisce mi deve dare le relative liste in COMUNE DI NASCITA e PROVINCIA DI NASCITA. ES. REGIONE DI NASCITA (mi deve caricare la lista delle
JQuery Text Slider not working
Hi all. Had this JQuery Slider on my website, Not working now (when it was 3 days ago). Here's the code: Any thoughts? <!-- First Band (Slider) --> <!-- The Orbit slider is initialized at the bottom of the page by calling .orbit() on #slider --> <div class="row"> <div class="twelve columns"> <div id="slider"> <data-bg class=" slide slide-1" title="Americas Top Soccer Camp"><span class="line-2">NEW SITES FOR 2014<span class="line-2"></span><br /> <div data-bg="/images/bg-1-soccer-camp.jpg" class="slide
Detach / Append - multiple button clicks
I've got following problem with this script snippet: http://jsfiddle.net/lluuccaass/cxMBR/3/ this works pretty like I want it. As long as I click only one time at the buttons. But after clicking a button multiple times, it stops working. I want to exclude / detach / remove content BBB by clicking button AAA and vice versa. Unfortunately I am not able to solve it. I would really appreciate your help. Thanks!! ps. show/hide is no option.
HELP ME- LOGIN PAGE
Buongiorno, Avrei bisogno di un'aiuto nella realizzazione di una LOGIN PAGES al seguito di un login di un'utente registrato sul sito che sto realizzando. di seguito vi posto il controller e il richiamo dell jsp e il javascript CONTROLLER : @RequestMapping("/login") public @ResponseBody String login(HttpServletRequest request, @RequestParam(value="u", required = true) String username, @RequestParam(value="p", required = true) String password) throws IOException, ParseException{ String page =
slider is not looping...
pls check this http://jsfiddle.net/LycKA/1/ first loop is successfully happening.
Required Help
Dear All, Kindly I need yours help to solve my problem: I am using below code to convert the keyboard language automatically to arabic, but below codes remove maxlength for the input type text on my application: /* ArabicType Version 1.3 (24/07/2013) Revamped by: Alaa Salem * ver Developer Date Comments * ----- ----------------- ---------- ---------------------------------------- * 1.3 Alaa Salem 24/07/2013 - First version * 1.4 Hamzeh Abu Lawi 31/10/2009 - Fix
Chrome bug? or how do I prevent a form field to SCROLL the container when focused?
First, preventing defaults on focus doesn't work, and preventing defaults on keydown still fails for the first field focus (with tab). As explained below. A form partially hidden inside a container with overflow:hidden SCROLLS to make the field visible, RUINING the css animation I setup specifically to reveal it. If i remove the overflow property it works like charm. Is that a chrome bug? jQuery limitation? or what? I made an live example at http://jsfiddle.net/dNk9v/ I used jQuery only to change
Browser limit on number of asynchronous Ajax connections
Dear people at this group I have a problem regarding the number of asynchronous Ajax request the browsers nowadays can handle parallel. I've been searching for a solution, ajaxqueue (making requests synchonous so not useful) bajax etc etc. I've desigend a website with blocks and each block has its own ajax request to build up the screen (11 at startup), but waiting time makes the block to appear very slow. I'm using a JavaScipt/php message queue. Please help.
How can I turn off jquery's handling of certain <a> links?
How can I tell jQuery not to do anything with certain <a> links? I don't mean styling as much as whatever the scripts are doing with the links. I am using a JavaScript sound manager that converts normal <a> links to .mp3 files into little embedded audio players. The files will play, but when I have jQuery also on that page, the links take me to a blank white page. I'm not sure what jQuery is trying to do, but is there a way to tell jQuery to ignore certain links? Let me know if more info is
[Q] Persistent Music Player
Hello, I need to have a music player on a website, and I want it to stream songs, but don't want it to refresh when the user selects links on the page. A perfect example is at WQXR. They have a music player on their site, and you can play their stream, but can click around and the player doesn't refresh (stream is not interrupted). What are some methods I can read about that would allow me to do this? Thanks Jay
Run loops for Arrays based on change function()
Currently I have a Select based form which shows values based on my selections. It's all working fine and you can see it here - http://jsfiddle.net/4ppDS/ But the way I'm writing the script it is going to be unnecessarily long. So I thought of creating various arrays and looping them based on my conditional selection. I have been trying to get it right but so far been unsuccessful. You can see it here - http://jsfiddle.net/uM9FE/ Can some one please help me. As of now when I make a selection, only
[jQuery] (jQuery validate) Remote Custom Message Problem on version 1.5.5
Hi.. I´ve upgraded my validate plugin to the 1.5.5 and I was having a problem: I have an email that needs to be checked if it already exists by ajax, and I was using the Validate Remote Method. In my old Validate version ( 1.5) it works great, but in the 1.5.5 version when I validate the email field it show primary the correct error message ( if it exists): "Email nono@nono.com already exists". But if I type another existing email, no matter which one, I get the same message with the same email using
How to load image and save to another page
Hi all, I need to read an image and save it but failed with strange issue. The first step is to load with $.ajax and seems very simple. $.ajax({ url : "http://www.izhaiyiqi.com/ce/tbtfscom/tbcaps/s.gif", success: function(){ // second is to save it } }); s.gif is a one dot image. And I can see strings like "GIF89a ����!� , D ;". I thought it's the valid gif data and tried to transfer the data with $.ajax. But this is the second question. The first thing I cannot explain is, if I visit
Need help! Coockie and resize div
<div class="right_clm_fix" id="rcf"> <div class="right_top_block" id="rt">Default height 50%</div> <div class="btn_sl" id="btn_sl">move top or bottom</div> <div class="right_bottom_block" id="rb">Default height 50%</div> </div> <style> .right_clm_fix { position:fixed; width:300px; height:100%; top:0; right:0; } .right_top_block { width:300px; height:50%; /* default */ background: rgba(0,0,0,0.8); } .btn_sl { height:30px; width:300px;
probs by realization
please look at this link - http://de.wix.com/website-template/view/html/1248 is it possible to realize it with jquery
Position an image in the bottom left corner
Hi, how to position an image always in the bottom left corner, that include when the browser window width and height change. Thank you
Working with .closest but its not working
In the fiddle you can see my jQuery code: http://jsfiddle.net/kfcgg/14/ So fare it works but the parent div "group" should get the same height as the child div "toggle_container". So on click both divs scroll down and up again at the same time. Can you guys help me?
toggle checkbox and remove value
Hello and thank you to all who have previously helped me. I thought I had this working but not any more. I have a form with a checkbox array. If the "Other" checkbox is checked, then a textfield appears (in div #fieldOther). If "Other" is unchecked, then the textfield as well as the value in it disappears. That is all working fine. However, the action on this form takes the user to a page where they can review/edit their form data. The code below, used to work, so that on this review page, if
Problem finding previous class
Hello, I have a table that has headings that have classes to identify which group Im working in. Im trying to get the class of the group(a previous tr). var $classes = $(this).prev(".itemno").prop("class"); But it's not returning the class. It's returning undefined. What shouldl I be using? <table> <tr class="itemno itemno1"><td></td><td></td><td></td></tr> <tr ><td></td><td></td><td></td><td>button</td></tr> <tr ><td></td><td></td><td></td><td>button</td></tr> <tr class="itemno itemno2"><td></td><td></td><td></td></tr>
Replace using multiple selectors
I've got a TD with a class (ms-vb2) - within that, I have an anchor tag (a) the Text within the anchor tag is a file name with underscores everywhere you would normally use a space (My_Official_File_Name). I want to replace the underscores with a space. I've tried: var val=$(".ms-vb2 a").html(); var val2=val.replace("_"," "); $(".ms-vb2 a").html(val2); But it only replaces the first underscore in the text - not all of them. What am I doing wrong?
How to copy text from Text area to Clipboard using jquery?
Hi, I want to copy text from Textarea to Clipboard using jquery, Not required Zero Clipboard, zClip,Zero Clipboard, I need it using jquery. Thanks, Madan
What is wrong with this code? (it scrolls a div)?
Here is the code, the idea is that you have a div on your page with id of "content6", and it takes up only a part of your page. The div has a scrollbar because it has enough text content so that many scrolls are needed to get to the bottom. Given a "fraction" like .3, you want to scroll it down to 30%. Or a fraction of .5, you want it to go to 50%. The following does not work. function tp_setScrollFraction(fraction) { var bod = document.getElementById("content6"); var iNewHeight = bod.scrollHeight;
How do I find the "scrollable" height of a div
Suppose I have a Div that fills only part of my screen, but it has a vertical scrollbar because it has lots of text contents. When the user clicks a button, I want to know where the thumb of the scrollbar is - is it at the beginning, the end, or maybe 30% through the content? I thought I could use "scrollHeight" in my calculations, but that seems wrong - in my tests I find its a huge number. How can the task be accomplished?
how to get the middle element to be hovered automatically in thumnile slider?
hello, pls see this fiddle...http://jsfiddle.net/N8Uzc/ in this slider there are 4 thumbniles, everytime when we press the 'prev' or 'next' button 2nd thumbnile border should be in red color.
I need help please.
Hello, What I want to do: - Save a div (+ everything in it) to a javascript variable. - Be able to turn that js var into a php var. - Put that php var into a database. - New to jQuery -
Next Page