15,113 Topics
![]() | |
Hi all, I have recently built a website using wordpress and I have noticed that wordpress adds some classes to my html tags automatically. I asked for support in their forum, but nobody got back to me, so I was hoping somebody could she some light on this? SO I … | |
How to display text string with Javascript on screen? This is my test page: [CODE]<html> test <script type="text/javascript"> docwrite(1); document.write('hi'); docwrite('hello'); </script> docwrite(2); <script type="text/javascript"> function docwrite(x) { document.write(x); } </script> </html> [/CODE] I saw only "test docwrite(2);". I want to see "test 1 hi hello docwrite(2);" with " 1 … | |
how in a canvas HTML5 I can add more than one image,... is any stack order? how many images overlap and seem all or part of them, can have in canvas? canvas or an image can saved in localStorage html5? | |
Hey there. The situation is like this: 1. The user clicks a button. 2. Tooltip pops up. 3. The user clicks the button again OR the user clicks anywhere outside the tooltip. 4. The tooltip is removed. Now I can get either of the events described in step 3 to … | |
Can any tell me ReadOnly Status os Excel Driver... I want to read from and write into Existing Excel Sheet.. Am using ADODB.Connection and ConnectionString as "DRIVER=Microsoft Excel Driver (*.xls);DBQ=FilePath;ReadOnly=1;" in javascript.. Here ReadOnly=1 indicates the connection to be established in read only mode.. If I put ReadOnly=0, then Is … | |
I want to split the image equaly by vertically. This images should be in slideshow. Then give the link to that two parts. Left side link is for moving to previous slideshow and right side link is for moving to next slide. Anyone can help? Please! | |
Hello I have a code and on page load it gets clicked, I see by alert for example. The problem is it send not needed ajax request. Its hard to find origin clicker by hand. Is there a way programically detetc who clicked the class? //Delete all event from betting … | |
I have an ASP page written in JavaScript that writes a CSV file into a database table. while (!oFile.AtEndOfStream) { var s = oFile.ReadLine(); var sArr = s.split(","); var sPostcode = String(sArr[0]).replace(re, ""); var sSuburb = String(sArr[1]).replace(re, ""); ...stored procedure to write into database... } It works fine for smaller … | |
I have this function which fades in a main menu when scrolled more than 100px. $(document).ready(function() { $(window).scroll(function () { if ($(this).scrollTop() > 100) { $('#main_nav_fixed').fadeIn(500); } else { $('#main_nav_fixed').fadeOut(500); } }); }); It works fine, but if the user scrolls fast up and down lets say 10 times, and … | |
Using an onclick event I'm checking some radio buttons to make sure the correct one is pressed. That part works OK and generates an alert if the correct button isn't pressed. The problem is that the form is still processed even when I return false from the javascript function. I've … | |
I noticed something today about Arrays in JavaScript that struck me as a bit odd. I imagine there is an easy explanation that will make perfect sense when I hear it, but until then I thought I would ask the community. If I use an Array as the sole component … | |
When tracking links, do i need to put this code at the end? return _gaLink(this,'#'); What exactly does it do? My understanding of this is not clear. Here is the full code: <a href="#" onclick="_gaq.push(['_trackEvent', 'Email Link Clicked', 'exampleurl.org/';, '#']); return _gaLink(this,'#'); ">exampleurl.org</a> Thanks | |
I was created a table with <table> tag and id is 'calendarid'. In this each td contains a textbox and an image. Some textboxes contain value and some are empty. I want to hide the image where textbox contains no value(or empty).I have used following java script code to do … | |
Hi, I have an IFrame. Good. And I have a Canvas as well. Good again! The user can write on the IFrame as I set the design mode ON. I am using document.execcomand to do the stuff, just like a simple text editor. I do not have issues on this. … | |
Hi everyone, I am trying to compile a sencha touch 2 project to build an android app but it doesn't compile fully and successfully. When I run this command, `sencha app build native` targeting android/iOS platform. The error I get is as follows below: [WRN] [ [1000] : Yui Compressor … | |
![]() | i have a div and an icon, i connected the 2 with toggle() <img .... onclick=" jQuery('#my_div').toggle();" > it works great, but how do i hide the div (once it's visible) when other area on the screen is clicked (besides the icon)? basicly what i need is <div id= 'my_div' … ![]() |
Hi I got in a bit of a muddle here. Basically say you have this html: ... <a href="javascript:void(0)"> <img alt="" data-name="myCar" data-family="ferrari" data-type="Fast Family" src="images/ferrari.png" style="left: 193.291px; opacity: 0.5; cursor: default;"> </a> <a href="javascript:void(0)"> <img alt="" data-name="yourCar" data-family="aston" data-type="Fast Family" src="images/aston.png" style="left: 293.291px; opacity: 0.5; cursor: default;"> </a> ... … | |
Hi all. I am a beginner in Zend and I am wondering if there is any good book or tutorial for developing applications with Zend Framework, using json for data encoding and decoding and how to use jquery with Zend. Thanks. | |
![]() | Hi! So I have two "tabs" implemented using radio buttons as shown in the code (visibility is controled by CSS). There is one control in each tab contained in the div. I hope the code is clear enough. Now, I am inside a javascript function where I have the control … ![]() |
I have a slider that load all of my content at once. Into a div. Like so: external page.php $get_users = mysql_query("SELECT * FROM user WHERE id!='$user_id'"); while ($rows = mysql_fetch_assoc($get_users)) { $id = $rows['id']; $firstname = $rows['firstname']; $display_info .= ' <div class="f_outer" id="' . $id . '"> <div class="f_name … | |
Hi friends. I am currently developing the website that I do want its contents (pictures & texts) to be prevented from being copied. I have tried googling but I got no solution on this, some of the people on the internet suggested the way on avoiding copying, they suggested disabling … | |
Hi guys... i want to delete data from datagrid in mysql...i have also done update query using same datagrid... but i m not able to delete data... my code is <script type="text/javascript"> $(document).ready(function () { // prepare the data var data = {}; var theme = 'classic'; var source = … | |
Hello guys.. i am developing a "College" website for my college project. I want to use validator as are in www.techrepublic.com on the input fields. please help me by providing guidelines. | |
Hello I want to remove this: > As you see it is a blank but the regular variable.replace(/\s+/g,''); does not work. I generate this character with Alt+0160 The best way would be its ascii code so how do I do it? | |
Hi, I cannot load a URL into a DIV tag using javascript and ajax, all that occurs is the original div text remains in place: <html> <head> <title>Ajax Example</title> </head> <body> <center /> <h1>Loading a web page into a DIV</h1> <div id='info'>This sentence will be replaced</div> <script> params = "url=google.com" … | |
Dear admins..!! i am sorry for my previous post, but, now i am asking you this because i am poor in JS scripting.... i have seen a [website](http://max.jsrhost.com/ajaxify/demo.php). Here the menu and content are displayed in two different DIVs, but, i cant understand how to use that, i have concerned … | |
I'm trying to get the colors to show on my table. I'm not sure how to even start. I was told to make 3 different css classes and work with that, but still not understanding how to do it. Table on the left is the example. Table on the right … | |
HI Im looking for a javascript game to download for free so I can give my users on my website a way to get points. so the points that they get in a javascript game would be added to the mysql database to add the points into their account. does … | |
Evening all. I am using nivoSlider, and have come across an issue with ow i'd like it to work. Here is a sample of the slider: http://gavdev.roundthebend.info/index2.html This is what i would like it to do: http://www.directenergypurchasing.com/ This is the HTML: <link rel="stylesheet" href="nivo-slider/nivo-slider.css" type="text/css" media="screen" /> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> <script … | |
I'm making a contact form. I need it to display the label of a selected check box in a message produced in my JavaScript and validation that makes sure at least one box is checked. I thought this would be simple, but poking my eyes seems like it would suit … |
The End.