|
There is a javascript dice roller here:
http://javascript.internet.com/games/dice-roller.html
It may help you out.
|
|
|
|
|
Actually, I am looking for an actual Yahtzee style clone game that keeps track of scores and such but can allow for the sides on the dice to be changed to pictures. It would kind of like a Yahtzee Jr. game that uses pictures instaed of the numbers 1-6.
|
|
|
|
|
I have a C# web application which need to use an ActiveX in it. I can find some article on ActiveX using C++, I am unable to find a sample of C# call ActiveX. I am not sure if ActiveX only comes with C++?
If you have some ideas about this, or some sample code/article, please let me know.
Thanks a lot.
Kevin
|
|
|
|
|
hi all,
lets say that i created a table dynamically on javascript by this command:
var DummyTable = document.createElement ( 'table' ) ;
how can i insert (render) this element into the document object or lets say other objects like DIV?
please write me the command for this.
|
|
|
|
|
sorry for such a silly question, seems that i was in rush for answer without even thinking about it, i forgot all about the document.all, anyway what i need now is to have a deep copy for an existing HTML Table that is rendered so i can perform processing at it then replace it with the HTML Table that i alreadt have in the document, remember what i want is a deep copy not just a reference to the table that i already have... thank alot for being patient.
|
|
|
|
|
Inside an html document, what is it that is required to open a file when you clik a link or button?
|
|
|
|
|
a path to it
ByMindOnlyYouCanDoIt
|
|
|
|
|
A link just needs the href filled out to point to the file (e.g. href="http://www.123.com/myfile.doc" ) but for a button you will need to use some JavaScript to redirect the browser to the URL (e.g. onclick="document.location = 'http://www.123.com/myfile.doc'" ).
regards,
Paul Watson
South Africa
The Code Project
|
|
|
|
|
Is it possible to ulpload more file with one uploadObject () in ASP ?
Thanks!
Pouzn
|
|
|
|
|
Not that I know of...
It's frustrating being a genius and living the life of a moron!!!
|
|
|
|
|
Not that I know of, you have to use multiple file inputs.
Unless you want to use an ActiveX or JavaApplet in which case you can upload multiple files with "one" control.
regards,
Paul Watson
South Africa
The Code Project
|
|
|
|
|
I want to load all the images with the specific name and ended with a digit like image1.jpg, image2.jpg, image3.jpg, etc. The problem is that I wouldn't know in advance how many of them, so I just keep looping until I am told there is no more file.
|
|
|
|
|
I recall doing something like this before.
As long as you know the names of the files i believe you can use this technique on both server or client side.
The IMG tag has a fileSize property which is read only. So what I would do ischange the IMG SRC dynamically and capture the onload the IMG fires when it loads any image, etc. In the onload handler check the fileSize property. If it's Zero or negative (I can't remember) the file doesn't exist or didn't load properly.
HTH
It's frustrating being a genius and living the life of a moron!!!
|
|
|
|
|
That's one good technique but if it's used in a loop, the time it takes to load the image is certainly longer and the size it finds must be 0. How do I get around this?
|
|
|
|
|
It's the only technique you can use when all you have at your disposal is a javascript. If you can use PHP or ASP, then it's obviously much better to build the array of files and output them as an JScript array.
It doesn't sound like you can do this???
davilism wrote:
longer and the size it finds must be 0. How do I get around this?
Get around what? The fileSize attribute should return the size in bytes of the file. If it doesn't, then something went wrong (i think)
One thing I do remember, is the IMG tag must NOT have it's dimensions set explicitly and I don't think it can be invisible.
Cheers
It's frustrating being a genius and living the life of a moron!!!
|
|
|
|
|
can any one help me get my site out there realy fast my site is
http://real-ai.4t.com if you can email me as in ppl to come
|
|
|
|
|
WTF
I don't even understand what you want?
You want someone to help your site get traffic???
Thats why posted in a web programming forum???
It's frustrating being a genius and living the life of a moron!!!
|
|
|
|
|
yes i am a moron
but this is web dev not program moron
|
|
|
|
|
3dman wrote:
yes i am a moron
but this is web dev not program moron
Thats my sig...not my message
It's frustrating being a genius and living the life of a moron!!!
|
|
|
|
|
perhaps if you explained what you want a little clearer, then you would get more positive responses. rather say too much than too little.
--
Raoul Snyman
Saturn Laboratories
e-mail: raoul.snyman@saturnlaboratories.co.za
web: http://www.saturnlaboratories.co.za/
linux user: #333298
|
|
|
|
|
3dman wrote:
help me get my site out there realy fast
Start with a new host.
" The page cannot be displayed
The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings. "
A lucid question would also be a help...
"If it's Snowbird season, why can't we shoot them?" - Overheard in a bar in Bullhead City
|
|
|
|
|
hi,
my problem is following: I have granted that client will use IE5.5 or newer, with Word installed. I am creating Word document in client-side VBScript, and I need to save created document on client computer. Of course I want allow client to choose directory and filename (Save dialog)... Does anybody know how to solve it? I know how to open Word with script, bt I can't figure out how to display "download dialog"... (Kinda opposite of input type="file")
quick response will be appreciated as I have to finish it tomorrow.
thank you,
David 'DNH' Nohejl
Never forget: "Stay kul and happy" (I.A.)
|
|
|
|
|
Hi,
I am trying to create an application ,a dynamic calender which allows the user to send/stick a note by picking the date from his calender like asigning a task or calling for a meeting Which should be notified as pop up's in others calender. Ofcourse the application's functionality looks very similar to microsoft's outlook . But i am trying to get the same feature done in my intranet application.
Any suggestions???
Thanks,
|
|
|
|
|
Sourceforge???
It's frustrating being a genius and living the life of a moron!!!
|
|
|
|
|
What are you using in the back end? ASP? .Net? PHP?
|
|
|
|