15,120 Topics
| |
Ok, so this is probably something simple, but I'm no javascript queen, so if someone could help me do this I would be so appreciative. I'm using Javascript to rotate the 5 featured stories I choose via a Wordpress plugin. So right now it looks like this: I've put the … | |
Hello all together, I've a JS-script that forces the mouse pointer to become a hand. It does work perfectly on IE, Opera, Safari and Konquerer (that's what I've tested so far). Just FireFox doesn't want to change the icon. What's the matter? Here is the script: [CODE]document.getElementById(wid+'0a').style.backgroundColor="#E0E0E0"; document.getElementById(wid+'0b').style.backgroundColor="#E0E0E0"; document.getElementById(wid+'1').style.backgroundColor="#E0E0E0"; document.getElementById(wid+'1').style.cursor="hand"; … | |
In FireFox, in HTML DOM, if I have a Node object representing a specific <tr> tag, is there any way I can get the TableRow DOM object for that same TR? Ok, let me back up and ask the higher-level question. :) In FireFox, how can I get the TableRow … | |
I am trying to use swap imagesto swap two separate images on the same page but I can't get it to work. Here is the code for one image, rotator. I also have a second image,rotatorB that I want to swap different images with. I think I need two separate … | |
Hi I have a collection in VbScript (on an asp page) named coll The UI of the ASP page has dropdown thats is to be populated based on the iteration I do in the collection "coll" I iterate it based on it s count...but How to I add each of … | |
i am trying to write a function so that when a user enters onto a page selected images change with each page that is entered. the page uses an iframe to load the new data so i need to swap the images on the main page which holds the iframe … | |
Dear All, I have written the following code for IE. But after executing this code the inside text become rough. I mean, the text does not show clearly and smoothly. CODE: [code=JavaScript] setTimeout('document.getElementById("' + id_name + '").style.filter = "alpha(opacity=100)"', 1000); [/code] Is there anyone can solve the problem to help … | |
Why the javascript code is not running in this example? [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <script language="javascript" type="text/javascript"> function check() { if(f1.form_name.value="") { alert("Please Insert the name!!!"); } else if(f1.form_user_id.value="") { alert("Please Insert the USER ID!!!!(MUST)"); } else if(f1.form_password.value="") { alert("Please Insert … | |
I just found a very cool and efficient way to work with the data using eXtremetable approach. The link to the eXtremetable: [url]http://code.google.com/p/extremetable/[/url] | |
I am hoping there is a way to add OnChange to a .NET Label tag. the label is already part of an extensive form, I just want to be able to call a javascript function (to check the string for hyphens) when the text in the label changes. Can this … | |
Hello, I have a js function that calls a AJAX function. Then, if the return code is correct, another AJAX function is called. It works perfectly with Mozilla but I am having a problem with Explorer... the 2nd AJAX call is not performed!!! I have put an alarm after the … | |
Can anyone send me a simple, understandable javascript code for form validation, including e-mail validation,name validation , password validation etc. pls! send me in hurry!!!:'( | |
[URL="http://superiorminitrucks.com"]superiorminitrucks.com[/URL] doesn't work right if you click the tabs more than once. Will someone please diagnose the problem? Knowledge of mootools 1.11 will help. But I dont' think it's a mootools problem. Thanks. Any questions, I'm here. Don't know what code to offer, as I'm confused by the problem. | |
Hi - Once again I hope someone can help me with a very simple problem in javascript. I've written a simple program for children (I am not a programmer), which displays a larger sub-window and the sound an animal or a bird (yes, I know birds are also animals) makes … | |
I use an image resizer/veiwer script That works Great in IE, but I've discovered that the custom page I use for Showing the Images, appears as text in Firefox. How can I make it show as text/html ? It's a simple enough page. page code <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML … | |
[code] <body onload=function(){document.getElementById("place_holder").src =document.getElementById("imgurl").value;} > <script> function ResizeThem() { maxheight=250; maxwidth= 250; imgs=document.getElementsByTagName("img"); for (p=0; p<imgs.length; p++) { if (imgs[p].getAttribute("alt")=="user posted image") { w=parseInt(imgs[p].width); h=parseInt(imgs[p].height); if (parseInt(imgs[p].width)>maxwidth) { imgs[p].style.cursor="pointer"; imgs[p].setAttribute('alt','Reduced Image - Click to see full size'); imgs[p].onclick=new Function("document.getElementById('imgurl').value = this.src; iw=document.getElementById('this.src','viewer')open();iw.focus()"); imgs[p].height=(maxwidth/imgs[p].width)*imgs[p].height; imgs[p].width=maxwidth; } if (parseInt(imgs[p].height)>maxheight) { imgs[p].style.cursor="pointer"; imgs[p].onclick=new … | |
Im using the following script to resize and Automate thumbnails of user posted images on my forum. However I dont like the white background of the new window. Im wondering if its possible to launch the full size image in a customized window with a background image, such as http://h1.ripway.com/Inny/ImageViewer.html … | |
I have Windows XP home edition, and Internet Explorer 6. This happened before but I did something to fix it, and I don't remember what. What happens is whenever I click on a javascript link, it doesn't do anything, or just sits there and has the loading cursor forever. Any … | |
hi, i am new to this group. i cam across it when i was looking for help on the web with the informations that is out there. i am a beginner website programmer. hint the word begginner. i am learning javascript and it is giving me a huge migraine. i … | |
hi, i have a form where the user can post data.But in my application when the click more than once ...data is getting inserted more than once.so i want to allow the user to clickonly once in every 10 sec.please do send some sample code | |
is there a script that will load the all the page objects before the next page is connected to. i have a flash menu and i want it to load up on to the server and then not have to be reloaded every time a new page is entered/accessed. | |
Hello, Currently I'm working on a funtcion which has to eval() some events from a string i'm injecting into the dom. The problem is that i've tested my regular expression on [url]http://www.regular-expressions.info/javascriptexample.html[/url] and every time it works perfect. Only when I implement it in my website it doesn't work. The … | |
Hi, I have made one web application with the use of AJAX. On each page i am sending lots of AJAX request. I have two pages called parent and child. child is opened from the parent page. Now when i am closing child page before all the request sent by … | |
Hello, I am not sure this is the right place to ask or not but I find it the most relevant compared to any other subforums. I have this assignment to demonstrate simple XSS (cross site scripting). I have to craft an URL that would display a webpage, but some … | |
Hi. I want to have a drop down list that display's images instead of text when it's active, but returns to text once the user selects it. I was wondering if someone more experienced in the DOM could give me some pointers. | |
Is there a way to modify this script to print current window & a seperate web file? The code below only prints the entire page. But, I need the function to include the entire page after the form data is submitted, plus an additional "terms and conditions" page which is … | |
Hi there, Hope someone can help... I'm developing a "Startpage" for a client's customers. He wants all information relevant to his clients to be displayed on 1 web page. We have come up with [url]http://www.systemattend.com/index.php[/url] All is well until we tried logging in to Novell Groupwise. It seems it won't … | |
hi everyone.. I'm struck in a problem .... that i want to refresh two td/div {with whatever it is possible} at the same time , without refreshing or reposting the other fields of the form in html by clicking a button using PHP/js/Ajax/HTML. I want to do this exactly as … | |
Hi, I have a requirement to present Netvibes like interface to the user, wherein the user can select the no. of columns to display the portlets. Based on the no. of columns selected, the portlets will be displayed in the respective no. of columns. I am looking for approach and … | |
Hello, I want to delay showing all of my links on my page for a few seconds until all the animation I am doing is done. I was wondering if there was a way I could delay placing them using javascript. In other words I want them to not show … |
The End.