15,127 Topics
| |
My code is for wordpress in noconflict mode This code works only on double click not on a single click,any advice or guideness is welcomed. I want to make it work on a single click. Thank you in advance $j=jQuery.noConflict(); $j(document).ready(function() { $j("#icomenu").toggle(function(){ $j("#menu").animate({left:"0px"}); }, function(){ $j("#menu").animate({left:"-280px"}); }) }) ; | |
<form method="post" action="#"> <table> <tr> <td></td> <td><input name=cars type=radio value=a>Volkeswagon</td> <td><input name=cars type=radio value=b>Ford</td> <td><input name=cars type=radio value=c>Honda City</td> <td><input name=cars type=radio value=d>Renault</td> </tr> <tr><td> <input type="submit" value="submit"></td></tr> </form> > Quoted Text Here so when i did page refreshing after the radiobutton selection.the radiobutton can display as unchecked. can u … | |
Is there any way to get this to work in Internet Explorer? It shows/hides multiple rows in every other browser, but will only show one class's row in IE. Any help would be great. Here's the code. Thanks! <style type="text/css"> li.merk { list-style:none; display: block; width: 925px; padding:8px; margin-top:-20px; } … | |
Good day Geniuses! I am a beginner and would like to ask for your assistance regarding my Javascript not working ONLY in IE :( I dont know where to start debugging since I only use Chrome and Firefox for testing. Hope someone can help me on this. Javascript <script type='text/javascript'> … | |
Hi Folks, I'm brand spankin' new to developing but was assigned a web app to develop in ASP.NET 4 with C#. I am using JavaScript for validation. The problem I'm having is that the date validation alert box that pops up displays a lot of unneccesary time and timezone information, … | |
I tried to rotate an element by changing the CSS using this code: elem.style.-moz-transform:rotate(45deg); It didn't work, and yes, I'm using firefox to test it. How should this be done? | |
Hi, I am looking for a tutorial to make an faq list with answers that pop-up, similar to this page:[http://www.lifewave.com/faq.asp](http://www.lifewave.com/faq.asp) I googled, and couldnt find anything. can anyone give me a link to a tutorial? Thanks. | |
Trying to display events on my website based on what my clients want to view. I have 3 checkboxes setup to toggle the connected events, but I can't seem to make the onclick handle more than 1 event at a time. Basically, I want to know 1) how to display … | |
I had a jquery-based code that messed up the slider on my page @ http://formidablehoops.blogspot.com Is there a way to have those two co-exist, or is there a way to toggle my calendar at the bottom with javascript instead? I've removed the code for now, but I think it's a … | |
I need to create layout like [this](http://steveandjacqs.com) It is not scrolling smoothly. I need to travel to 2nd div each time before going to div clicked by navigation **My full code is here** **css** @import url("reset.css"); html, body{ height:100%; width:100%; margin:0; overflow:hidden; background:url(images/4.png) repeat center top; color:#FFFFFF; } a{color:#FFFFFF} #header{float:left; … | |
**<iframe width="608" frameborder="0" id="mainframe" name="mainframe" onload="$(this).height($(this).contents().height());" src="mindex/forratt.php" scrolling="no" /></iframe>** So I have written this code to automatically adjust the iframe to its content and it works fine. The thing is that when I access a page with a lower height, the height from the previous page stays put. I want … | |
I am trying to insert input values into database with the help of form without refreshing the page.For this my form is <html> <head> <title>Jquery test</title> <script src="http://code.jquery.com/jquery-latest.js"></script> <script> $('insert').click(function() { $.post("test2.php", $(this).closest("form").serialize()); }); </script> </head> <body> <form id="test"> <table> <tr> <td>First Name</td> <td><input type="text" name="fname"></td> </tr> <tr> <td>Last Name</td> … | |
| Hi all, I have a table on a page that is generated from MySQL database entries via AJAX request. I have a `.live()` event for the table rows in that table, `$(#myTable tbody tr).live('click', func...)`, which opens a jQuery UI dialog window with extra information from the table row. In … |
I'm trying to see how to load jQuery at run time. I can't understand why the following code doesn't work (probably me making a silly error) <!DOCTYPE HTML> <html lang="en"> <head> <meta charset="utf-8"> <script> var script = document.createElement('script'); script.src = 'https://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js'; document.getElementsByTagName('head')[0].appendChild(script); </script> </head> <body> <a href="#" id="main">click me</a> <script> … | |
I'm creating a website and I want to have a popup menu with additional links come up when a text image is moused over. I'm alright with HTML, but I know that this can't be done in HTML and I assume it's Javascript that I would need to use. Can … | |
I'm using [ScrollTo](https://github.com/balupton/jquery-scrollto). It is not scrolling to div having margin, **margin-left: -1160px;** or **margin-top: -600px;** I have following div <div id="home" class="content"> <h1>I'ts home</h1> </div> <div id="about" class="content" style="margin-left:-1160px;"> <h1>I'ts about</h1> </div> <div id="contact" class="content" style="margin-left:600px;"> <h1>I'ts Contact</h1> </div> <div id="services" class="content" style="margin-top:-600px;"> <h1>I'ts Contact</h1> </div> I want to … | |
Hi Guys I need to retrieve a value from the javascript below in my html code and inject this value into a webbrowser. how can I format and invoke this script ? $(function(){jQuery.liveviewWithTable({enableCountsTable:false,enableCountTable:true,countTableElement:$("#count"),directionIn:$.getParam("Counter.DirectionIn"),liveSumUrl:"/local/people-counter/.api?live-sum.json",loadingAnimationUrl:"/people-counter/images/ajax-loader.gif",dataTypes:["in","out"]})}); Thanks a lot | |
Hi I am trying to give some sense to this expression #container, #footer { width: expression(document.body.clientWidth < 742? "740px" : document.body.clientWidth > 1202? "1200px" : "auto"); } found on here http://www.cameronmoll.com/archives/000892.html but I can't quite get it. Is it saying if the width of the page is less than 745 … | |
i want to add search box to my calender where many event goes. public can search here with 3 keywords. please help me. | |
i want to disable browsers refresh button & F5 as well as ctrl+R . | |
I have a form with a text input where I am trying to use 2 jquery functions together. However only one of them seems to work. So I am hoping their might be a jquery guru out there that can help What I have is a text input box called … | |
Hello! I'm creating a small little applications (command line type thing, got some ideas) and I was wondering how exactly I would portray loading of the sorts, I know the classic animation: -- \ | / -- I just wanted to know how to animate that in Javascript. Just change … | |
I'd like to create something like this: http://www.million-monkeys.com/tvcyo/ I'd love to use Google docs, but I wouldn't mind plugging it all in by hand. I've done so before when I used this site: http://jquery-datatables-column-filter.googlecode.com/svn/trunk/index.html to create a searchable database. I'm just wondering, however, how would I go about doing that … | |
My slider works well enough in all browsers except for IE, where the overflow isn't hidden at all. I've tried adding position absolute to some parts and I've tried adding position relative to others, but nothing has worked. Any answer to this would be great. Thanks. <script type="text/javascript" src="http://dl.dropbox.com/u/5739741/OMAR/code/jquery.js"></script> <script … | |
Hi all. I have 2 pages: 1. that provides data from mysql in json encoding if a correct "key" is provided, in my case the "key" sent by method post should be "1". Link: http://semaffiliate.local/public/api/getemployees Code in Zend: public function getemployeesAction() { $key = $this->getRequest()->getPost('key'); if (isset($key)) { if ($key … | |
Hi there fellow daniweb programmers I have problem in running function in javascript <script type="text/JavaScript"> function toggle() { var e = document.getElementById('target_<? echo $id; ?>'); e.style.display = 'none'; } </script> I have button that generated in php code so its repeating itself <li><a id="target_<? echo $id; ?>" href="like.php" onclick="toggle()"><img src … | |
how do you manually add it when the link is www.somesite.com which i would want it to be added to index.html ? function setActive() { /*current page function*/ $('#menu a').each(function(index) { if(this.href.trim() == window.location) $(this).addClass("current"); }); this works for any pages that are in the navigation menu. | |
Anyone can please help in this. I need to assign a path for a text file in a variable to be shown later on in html here's my code: <html> <head> </head> <body> <!-- Header --> <header> </header> <!-- End Header --> <!-- Main --> <section id="main"> <script type="text/javascript"> var … | |
Hi Everyone, I've been looking for good javascript projects to join. Are there any projects you can advice? I've researched a lot. (with the help of Google. :D) But would also love to get advices from people who have/had worked at an opensource project here. I would also love to … | |
Friends I want to show results on my website from the other website. It uses the URLS to shows the result as for Roll number 123123 the results page is www.remotesite.com/B/Res/123123.html like wise for the number 124124 the results page is www.remotesite.com/B/Res/123124.html I want to add such a javascript in … |
The End.