15,121 Topics
| |
Hi I have made a javascript image viewer where there are thumbnails at the top and when you click on them the bigger image below the row of thumbnail image changes according My question is, how do i make the larger image become a hyperlink to the corresponding page it … | |
I am trying to code this kind of menu ( [url]http://www.elmalma.com/index.html[/url]) for my web page but I have no clue how to do this. does anyone has idea about this. or What is this menu name? Thank you so much for help Sincerely, Yunus | |
Hi, I have a html document when i run in Internet explorer i am getting the desired output(j query working fine). But i copy pasted the same code in aspx page...the same code is not working properly... | |
I tried to get as much info into the title as posible... hope it doesnt confuse anyone i have an initAll() called on window.onload within initAll() I assign a few onclick handlers to some links. However, it would be great if I could pass an argument to the handler, so … | |
I have been a happy lurker for some time now, soaking in the abundant knowledge that i have found here. But now I am at my wits end trying to find the solution to what is probably a novice’s oversight. I have a menu that animated with jquery. One of … | |
First the definition of Easter Egg ( Or at least the one i care about ): [I]In computing, the Easter eggs are messages, graphics, sound effects, or unusual changes in behavior of programs that occur after introducing some undocumented commands, mouse clicks or keystrokes. It initially used the term Easter … | |
i want to redirect the page after submitting to the exact page with the tabs. but when i submit it just loads the same page. but what i want is it should load under the home tabs. my other pages are loading in the div tags which are loaded using … | |
I am trying to preload some sounds for a website I am working on... Originally I used the embed tag but that caused problems in Opera and did not validate... So I've switched to the object tag which now works in everything except IE8... [CODE]<object id="sound_lock" class="embedded" data="sounds/iphone/system/iphone_sound_lock.wav"> <param name="autostart" … | |
Hi guys I have created some custom code and implemented it into a article within Joomla. (The HTML editor is turned off) The code works in all browsers except Internet Explorer Versions. The custom code has Javascript and the "onMouseOver". The purpose of it is to change a image when … | |
Hey guys, trying to teach myself a bit of javascript as i would like to get a website up and running. Please have a look at the code below. I'm trying to create input for a webpage. In the first piece of code, i'm declaring all the functions(which i'm sure … | |
I've used the following code to open Excel. It works but generates a browser error warning the visitor that the web page is trying to run an add-on with an unknown name, and control with an unknown name. Is there a better way to open Excel (read only) in order … | |
Hi, I'm currently working on a script that parses out function keys in a string of text. I've got this code which works, but was just looking for ideas on how to improve it :) I would have liked to use regex, but I would need to do variable substitution … | |
I want to keep the value of the user input (e.g. text box value) displayed after page refresh by a javascript. The following test web page is used. The alerts appear before and after the page refresh as expected on all browsers (FF, Chrome, Opera & IE). The input value … | |
I have used a javascript to display a countdown timer for 60 min. like in an online exam. It works fine but when i refresh the page on which timer is displayed then the timer value again resets to 60:00. So, if there is any solution to prevent this please … | |
Hi, In my code behind file, I called Soap web reference and retreive data and diplay in grid view and it worked. But when I convert retreived data to Json text and send back to java script and on client side, convert json text to java script object and when … | |
Hi, I have an array of integers I like to retrieve the max number and index of max number from that array without using Math.Max() function.. Presently in this below code, I have 4 dynamic values, end user will be select degree from combo box, entering the values semester, Max … | |
I could use some help. I have a function that opens an Excel spreadsheet to load data from it. The function is found inside <head> </head> and within that inside <script></script> (see below). The problem is that I need to write that data inside the row of a table in … | |
I'm having two Ajax-related problems on a page I am working on at the moment. [URL="http://www.utm.edu/departments/acadpro/library/openmic/add2db.php"]http://www.utm.edu/departments/acadpro/library/openmic/add2db.php[/URL] On this page, I have two buttons that use Ajax to fetch two separate forms and put them into a chosen div; that part works like a charm. On said forms, there is a … | |
Hello, I am attempting to use JavaScript to 'highlight' text by changing it's background color: [code] <div id="foo" onMouseOver="highlight(this);"></div> [/code] In JavaScript: [code] function highlight (word) { document.getElementById (word.id).bgColor="blue"; } [/code] This produces no effect. I also have an onClick event in the same div, can I not have onClick … | |
Is it possible to name a cookie in javascript? i've got a web program that will display "name:undefined Name:Jack Grade:32" whenever i display the contents of a cookie i create. i'm assuming th first bit is the cookie name itself and then the other two bits are the contents? also, … | |
defined('_JEXEC') OR defined('_VALID_MOS') OR die('...Direct Access class aca_module [ var $shownamefield = 0; var $receivehtmldefault = 1; var $showreceivehtml = 0; var $listIds = null; var $linear = 0; var $fieldsize = 10; var $introtext = null; var $redirectURL = null; var $showListName = 0; var $buttonUnregistered = _ACA_MOD_SUBSCRIBE ; … | |
I've tried all manner of methods for accomplishing this and nothing has worked so far. The latest attempt follows. The objective is to call a function that tests for the existence of an image file. If the file exists then that image file is to be displayed. Otherwise, an alternative … | |
I'm trying to help someone out with some javascript that works in IE but not in firefox. It's basically a filter so you select some options from select boxes and the javascript hides or shows any table cell that is not needed. The html is shocking and the javascript doesn't … | |
Hi all! I am trying to get a JavaScript date selector to work for a front end I'm writing. I've seen a lot of problems related to JavaScript and IE vs. Firefox but I've yet to find a solution to my issue. I have a simple form - when you … | |
Hello, I am currently working on a function that will allow the user to search for an event by date and category. I've been using the w3schools exercise as an example but i wish to pass 2 pieces of data instead of one and am not sure how to do … | |
In order to make sure my site works for a user I need to check that both JSON and XMLHttpRequest() are defined as objects by their browser. Rather than if/else I thought I'd use the ternary operator:[CODE=javascript]condition ? true : false.[/CODE] I tried the following and it doesn't work correctly. … | |
Hello, I have written a 'predictive text' widget using JavaScript/AJAX. When user enters a string of letters into form, the list of possible matches is displayed under the form. This works well and good, now I am trying to make it so that when the user clicks on a certain … | |
ok, got to make a program that allows a user to enter data into the text fields (specifically a name and a grade), it then needs to store it locally, it then needs to be able to create a graph, and work out the standard deviation and mean from the … | |
i want to create a feedback form for my website [url snipped]. as i m using free host it doesnt allow PHP so i want to create it using JAVA. please help me create a feedback form which when submitted automatically send an email to my ID. if it is … | |
Hi there, I just try to figure out a function which will dismiss a text and saves it in cookies for next page reload/visit. My current code looks as follow: [CODE]<script src="http://code.jquery.com/jquery-1.4.2.min.js" type="text/javascript"></script> <script src="jquery.cookie.js" type="text/javascript"></script> <script> $(document).ready(function() { $.cookie("viewState"); var theState = $.cookie("viewState"); $("#R1").click( function () { $("#secret").hide("slow"); $.cookie("viewState", … |
The End.