| Author |
Message |
Forum: JavaScript Forum Topic: Simple Javascript variable problem |
| panzer |
|
Posted: Sat Jun 20, 2009 3:20 am
|
|
Replies: 1 Views: 418
|
I have no idea what actionscript does, but how about an array?
Code: var arr = new Array("firstvideo.jpg", "secondvideo.jpg"); var idx = 0;
When you need the file, just use its index pos.
Code: placeholder.loadMovie(arr[idx]); idx++;
|
|
 |
Forum: JavaScript Forum Topic: On page load, if cookie set then hide div? |
| panzer |
|
Posted: Tue Jun 16, 2009 10:38 am
|
|
Replies: 2 Views: 570
|
| Not sure if it's what you're after, but may something like this will help. ... <script language="javascript"> function foo() { if(document.cookie != "" && document.cookie != null) { document.getElementById("d").style.visibil... |
|
 |
Forum: Visual Basic Forum Topic: Read Write an asci |
| panzer |
|
Posted: Wed Nov 19, 2008 1:10 am
|
|
Replies: 1 Views: 140
|
| I've done a bit with Visual Basic 6, but I don't quite understand what you're asking. I *think* you're hinting at reading the above into an array and then writing it back out. I can try a give a basic VB6 example, but I don't know about other variations. dim arr() as string ' container for f... |
|
 |
Forum: HTML Forum Topic: Problems with Firefox |
| panzer |
|
Posted: Wed Nov 19, 2008 12:56 am
|
|
Replies: 6 Views: 344
|
| I've tried it with Mozilla Firebird 0.7, Firefox 3 RC1, Opera 9.6, and Safari 3.03 (Win32) and all appears to work ok other than the contact link. ../%20radioact@... may be an issue. Try removing the space from that link. You might also try flushing the cache and/or any cookies. here's a link to the... |
|
 |
Forum: JavaScript Forum Topic: How to put .gif image using java script |
| panzer |
|
Posted: Wed Nov 19, 2008 12:33 am
|
|
Replies: 7 Views: 598
|
| but it is showing a square box by default and when the upload button is clicked the .gif image is displayed , I dont need that square box . i got the solution , but is there any way to remove the square box . Thanks You can try adding border="0" to the img tag. <img id="img" src="... |
|
 |
Forum: JavaScript Forum Topic: How to put .gif image using java script |
| panzer |
|
Posted: Mon Nov 17, 2008 10:56 pm
|
|
Replies: 7 Views: 598
|
| You *may* be able to try something like function validateField() { var docs = document.getElementById("img"); docs.setAttribute("src", "gif_path"); ... // other code } <body> ... <img id="im... |
|
 |
Forum: C and C++ Forum Topic: Where can I download a free C++Language? |
| panzer |
|
Posted: Mon Nov 17, 2008 7:07 am
|
|
Replies: 2 Views: 390
|
Do you mean compiler? If so, try here for several free c/c++ compilers. Dev C isn't too bad from what I recall.
HTH |
|
 |
| Sort by: |