First  |  Prev |  Next  |  Last
Pages: 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642
Javascript image src
Hi I'm pretty rubbish at java and I'm trying to get an image to change when a user clicks a link. I don't know why this doesn't work. Can anyone help? foc.src=foc.src=='1.gif'?'2.gif':'1.gif'; foc is the image element - if i do foc.src='2.gif' it will quite happily change but I want it to alternate betwee... 11 Jan 2006 18:14
Set Image source using java script
Hi Guys, I need some clarification regarding the problem with safari browser. Please find my code below. I'm setting the image src, mouseover and mouseout using javascript. The mouseover and mouseout are working perfect but only the source is not setting using java script. Please clarify me regarding this. PS:... 16 Jan 2006 06:14
getElementByName
is it document.getElementByName or document.getElementsByName? ^ reason I ask is that I have to change ref's in my code from document.all to sthg that works also in FF... so changed something like this docslide = document.all['slide']; docslide... 20 Jan 2006 09:16
Switch statement help
Hi - how can I get a switch statement to look for a range of values? I have: function payCalc(field, field2) switch(field.value) { case 0-50: field2.value="lower band"; case 51-99: field2.value="mid band"; case 100-9999: field2.value="high band"; } But this doesn't seem to work. Thanks for any h... 11 Jan 2006 18:14
Changing image width using JavaScript
Hi, I have the following coding on a web page. It causes two pictures (pic1.jpg and pic2.jpg) to show, one above the other and then when one clicks on the top picture is squeezes to the left (as its width is reduced) to show the bottom picture. Then when the bottom picture is clicked the top picture expand... 8 Jan 2006 14:17
How can I make a window Resizable?
Hello! I opened a new window using 'resizable=no'. Can the child window make itself resizable even if it's opened with 'resizable=no'? For example: <body onload="javascript: window.resizable=true;"> TIA. Sam ... 5 Jan 2006 13:02
IE, XML, Objects and this
I'm trying to use the following code to load xml files: ImportXML = function (ts) { this.file = ts; if (document.implementation && document.implementation.createDocument) { this.doc = document.implementation.createDocument("", "", null); this.doc.obj = this; this.doc.onload = this.callBack;... 4 Jan 2006 04:31
Loading page using browser's history
I want to use history.go() to navigate between my previously loaded pages. I'm looking for a way to trigger a function call when a page is accessed using history.go(). Is there an event generated? Is there a method for detecting what page the user came from when a page is accessed using history.go()? -- Ed ... 2 Jan 2006 10:57
howto hide QuickTime object?
Hello everybody, is it possible to hide qtvr <object...> (or even change its size to 1 pixel rectangle)? I need to hide qtvr from the page dynamically, if .mov source is empty. For example: <script language="javascript"> function _hide_(){ ??? } function showfile(filename){ if(filename == "") _h... 30 Dec 2005 13:05
How to rotate the image
Hi All, Could anyone tell me how to rotate the image in javascript. Which concepts I should concentrate to rotate the image ... 2 Jan 2006 08:53
First  |  Prev |  Next  |  Last
Pages: 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642