15,121 Topics

Member Avatar for
Member Avatar for emilyhedgecock

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 …

Member Avatar for almostbob
0
4K
Member Avatar for shakerxxx

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

Member Avatar for almostbob
0
109
Member Avatar for sniigg

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...

Member Avatar for sniigg
0
218
Member Avatar for lifeworks

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 …

Member Avatar for lifeworks
0
1K
Member Avatar for Molinski

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 …

Member Avatar for vsmash
0
2K
Member Avatar for pato wlmc

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 …

Member Avatar for pritaeas
0
182
Member Avatar for lich

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 …

Member Avatar for tharu123
0
662
Member Avatar for runey71

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" …

Member Avatar for runey71
0
584
Member Avatar for sa1support

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 …

Member Avatar for sa1support
0
139
Member Avatar for Bobon

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 …

Member Avatar for Airshow
0
184
Member Avatar for ms_sws

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 …

Member Avatar for ms_sws
0
213
Member Avatar for harry010

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 …

Member Avatar for harry010
0
81
Member Avatar for albertkao

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 …

Member Avatar for albertkao
0
161
Member Avatar for jitendra_25

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 …

0
54
Member Avatar for amby

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 …

Member Avatar for Airshow
0
189
Member Avatar for Santho786

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 …

Member Avatar for Santho786
0
229
Member Avatar for ms_sws

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 …

Member Avatar for ms_sws
0
296
Member Avatar for ephemeral

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 …

Member Avatar for Airshow
0
149
Member Avatar for ItecKid

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 …

Member Avatar for ItecKid
0
2K
Member Avatar for Atomika3000

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, …

Member Avatar for Atomika3000
0
108
Member Avatar for masocha

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 ; …

0
69
Member Avatar for ms_sws

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 …

Member Avatar for Airshow
0
5K
Member Avatar for AdRock

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 …

Member Avatar for theighost
0
207
Member Avatar for MaristBrandi

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 …

Member Avatar for theighost
0
348
Member Avatar for baseballfury

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 …

Member Avatar for thonz
0
2K
Member Avatar for jrw89

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. …

Member Avatar for jrw89
0
135
Member Avatar for ItecKid

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 …

Member Avatar for Taywin
0
753
Member Avatar for Atomika3000

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 …

Member Avatar for Taywin
0
90
Member Avatar for g0pal

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 …

Member Avatar for Taywin
0
287
Member Avatar for Romik84

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", …

0
109

The End.