It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Partner Sites

Search found 7 matches

Return to advanced search

Re: Simple Javascript variable problem

I have no idea what actionscript does, but how about an array?

Code: Select all
var arr = new Array("firstvideo.jpg", "secondvideo.jpg");
var idx = 0;

When you need the file, just use its index pos.
Code: Select all
   placeholder.loadMovie(arr[idx]);
   idx++;
by panzer
on Sat Jun 20, 2009 3:20 am
 
Forum: JavaScript Forum
Topic: Simple Javascript variable problem
Replies: 1
Views: 418

Re: On page load, if cookie set then hide div?

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...
by panzer
on Tue Jun 16, 2009 10:38 am
 
Forum: JavaScript Forum
Topic: On page load, if cookie set then hide div?
Replies: 2
Views: 572

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...
by panzer
on Wed Nov 19, 2008 1:10 am
 
Forum: Visual Basic Forum
Topic: Read Write an asci
Replies: 1
Views: 140

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...
by panzer
on Wed Nov 19, 2008 12:56 am
 
Forum: HTML Forum
Topic: Problems with Firefox
Replies: 6
Views: 345

Re: How to put .gif image using java script

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="...
by panzer
on Wed Nov 19, 2008 12:33 am
 
Forum: JavaScript Forum
Topic: How to put .gif image using java script
Replies: 7
Views: 605

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...
by panzer
on Mon Nov 17, 2008 10:56 pm
 
Forum: JavaScript Forum
Topic: How to put .gif image using java script
Replies: 7
Views: 605

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
by panzer
on Mon Nov 17, 2008 7:07 am
 
Forum: C and C++ Forum
Topic: Where can I download a free C++Language?
Replies: 2
Views: 390

Return to advanced search