2,530 Topics
| |
I have the following code executed on window load: var focuscheck = setInterval(focuswindow, 1000); $(anotherwindow).focus(function() { focuscheck = setInterval(focuswindow, 1000); }); $(anotherwindow).blur(function() { clearInterval(focuscheck); $("iframe:first", anotherwindow.document).on("mouseover", function(event) { focuscheck = setInterval(focuswindow, 1000); }); }); anotherwindow and focuswindow are fine so I won't post code for that. So this is how … | |
I am trying to put together a web interface for a process which downloads a number of XML files and then processes them. I am usimg JavaScript / jQuery / AJAX to initiate the process on the server, one file at a time, and to display progress information after each … | |
Hello DaniWebers! I'm absolutely shocking when it comes to JavaScript/JQuery and have run into an occurance when I would like to use it. Now before you slap me on the wrist I **DO** intend to learn JS in 2014 (Scouts honour!). I am using this slider: [JQuery - Snap To … | |
I am trying to make a script which detects clicks on google ads. All events works like onmouseover, out etc except click, focus, mousedown. When i click on google ads it open its ads link but dont run my jquery script on click event. I have tried preventdefault and other … | |
http://jsfiddle.net/VqSFz/51/ Can anyone help me solve this or at least point me in the right direction, I have a handy little slider that when you click an image it replaces the master and you can slide back and forth, but I also need to add the function for removing blank … | |
I have a Django site with a little Jquery script that changes some images when the user puts the curser over the image and then changes it back when the cursor leaves the area. This is my first time trying to deploy a Django site and I am using amazon … | |
I have a website at: [MTN Charge](http://www.shaarzh.com) this site is hosting by a company that provides charge for mtn Operators... I dont access to any control panel,the only panel i have access is a template panel that I can add some javascript or html and meta tags . I know … | |
Notice: Undefined index: uname in E:\xampp\htdocs\test.php on line 4 . This error accourd Data Base CREATE DATABASE IF NOT EXISTS `cms_project` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci; USE `cms_project`; -- -------------------------------------------------------- -- -- Table structure for table `user_info` -- CREATE TABLE IF NOT EXISTS `user_info` ( `id` int(10) NOT NULL … | |
Here's my code >> [Click Here](https://dl.dropboxusercontent.com/u/21617707/accordion.rar) And here's an image showing the problem! >> [Click Here](http://i41.tinypic.com/4id7dc.png) Rest is self explainatory. I used the same code in IE and the problem didn't occur. I haven't tried Firefox. The problem is most people seem to use Chrome these days and thats why … | |
Hello, This is the first time I am trying to use jQuery DataTable. I read a lot of articles, but I can't make it work. I hope someone can help. I need to build a table that displays Rugby games scores. The table I am building should look like this: … | |
We use hashes a lot in our URIs to jump people around to a specific place on the page. For example (www.example.com#part1 and www.example.com#part2). However, we have a static fixed header at the top of the page, and so if it tries to jump you down, it ends up plopping … | |
Hi, I have a form that has two controls; a textarea and an upload, one of which is hidden depending upon the selection of a dropdown. What I'm trying to do is alter the action of the form depending on which control is hidden. so if the textarea is visible … | |
Hello Im looking for a jQuery Easy Slider type of plugin but instead of images, allows me to present HTML/JS/etc content to the user for when he, for example, click on the next button (something that Easy Slider provides) Anything like this out there? | |
I have a select element that I populate with data returned from an AJAX call. It workds most of the time but its unreliable. Sometimes it works the first time I click the link and sometimes not (mostly it works). I can see that the server is returning the correct … | |
Hello My input field has 2 state. If the user don't scroll the page or the page is in the homes page, the value of the input field is empty. When user starts scrolling, the value will be filled. My problem is when I scroll, the text inside the input … | |
This should change the images and image maps then highlight them. But image maps don't seem to be working and higlighting doesn't work either, after clicking on the "go right" link at the bottm. How to make them work? http://www74.zippyshare.com/v/54618428/file.html | |
Hello, I am having a strange behaviour with jQuery slideToggle. When I click the link with class "tracking" I want the div under it to slide down if it is "closed" and up if it is "open" The problem I have is that when I click the link, the div … | |
Hi, I m not sure how to start this off. I have a bunch of li and I want to add a class let s say .red to li.target at a random time then after a set time remove it. Then repeat. I found a few things online ... but … | |
I want to show the live input calculated values in jquery for subtracting and multiplying and summing up the grand total. I could sum up the sub total from the submitted value but am not able to minus the discount or add shipoing cost and multuply by tax from all … | |
Hello, This is my first time trying to make an ajax call with JSON. I am developing a site with CodeIgniter 2.1.4. I am on the verge of throwing my computer away and find a job selling flowers.... Here's the story: In my view I have a dropdown box: `<?php … | |
Im creating a form that every time you select a drop down menu option it will write the value to a text box I have the writing part working. The problem is that is writting to both text boxes when I select on dropdown and it it suppose to be … | |
Hi, I just popped in on a website named http://n-frames.com/. I would like to know what kind of jquery or css effects they are using in-order to achieve the layering effect on the images while scrolling the page as I would like to use this effect in one of my … | |
Any idea why only the first "click" works? I am relatively new to jQuery, so it is, in all liklihood, something rather simple. Any help is greatly apprecaited!! $(document).ready(function() { $("div.arrow").click(function(){ $('div.active_arrow').text('↵').removeClass().addClass('arrow').parent().find('div.rss_news_link, div.rss_news_link_odd').height('auto'); $(this).removeClass().addClass('active_arrow'); $(this).parent().find('div.rss_news_link, div.rss_news_link_odd').height(+100); $(this).text("X"); }); $("div.active_arrow").click(function(){ $(this).removeClass().addClass('arrow').parent().find('div.rss_news_link, div.rss_news_link_odd').height('auto'); }); }); | |
Currently I am using this script (http://johannburkard.de/blog/programming/javascript/highlight-javascript-text-higlighting-jquery-plugin.html) on my website - www.tompainetoday.com. It works when you hover your mouse over a "Trending Now:" term, then that word is highlighted throughout the page. The highlighting is removed when you hover over the header image (yes, I know, poor UX, but it … | |
Been trying to get this working for a few hours now but can't seem to get a result. Any advice would be welcomed with open arms! I'm using the JQuery Validation Plugin: [http://jqueryvalidation.org/validate/](http://jqueryvalidation.org/validate/). I have included the following into my file: <script src="assets/plugins/jquery-1.10.1.min.js" type="text/javascript"></script> <script src="assets/plugins/jquery-migrate-1.2.1.min.js" type="text/javascript"></script> <script src="assets/plugins/jquery-validation/dist/jquery.validate.min.js" type="text/javascript"></script> … | |
I made the following code to replace form fields in a page that I can't edit but only manipulate. However, the code does nothing. In chrome console when I print a variable it works fine. The code is below: //GET val from drop DROP DOWN var office_id = FieldIDs["OfficeName"];//Gets the … | |
Hi there ! The code(in model) given below generates the list structure: function getNavigation($parent_id = 0, $show_product = 0, $flg = 0 ){ $query = $this->db->get_where('categories', array('parent_id' => $parent_id)); //var_dump($query->result()); //exit; if($query->num_rows() ){ $this->navigation .= '<ul id="browser" class="filetree">'; foreach($query->result() as $v){ $this->navigation .= '<li> <span class="folder">'; if($flg) { if($v->categories_id == … | |
I’m pretty much new to codeigniter and PHP. I need help with insertion of data in the db from multiple clone form fields(not using implode, I have used implode and managed to push data which I will post here), this from clone form fields(If I click add, it should display … | |
Hi All: I have a challenging jQuery XML task I'm trying to accomplish as follows: I have an XML structure as follows: <nav_data> <outline> <links> <slidelink slideid="_player.6LjVRsWzPla" displaytext="Scene 1" expand="true"> <links> <slidelink slideid="_player.6LjVRsWzPla.6GWiXuWmXyn" displaytext="Fundamentals" expand="true" /> <slidelink slideid="_player.6LjVRsWzPla.6gxk7XqbaT8" displaytext="Closed Captioning Example" expand="true" /> <slidelink slideid="_player.6LjVRsWzPla.5rPNkwvz8u2" displaytext="Another Cationing Example" expand="true" /> … | |
Hello, I am developing a site with CI 2.1.3 I have a blog module, in this blog I have a form to post a comment. I am calling this form inside a view with: `echo Modules:: run('blog/comment');` When I submit this form with ajaxForm, or refresh the page, the values … |
The End.