|
-
Nov 13th, 1999, 10:35 AM
#1
Thread Starter
Addicted Member
Hi,
I for the life of me figure out how to make this code work..
it's For a web page.. Sorry..
But could somebody tell me how to have it make the image on the page take a random image out of a certain Directory automaticly??
This is my code so far:
'''''''''
<HTML>
<HEAD><TITLE><A Nice SlideShow></TITLE>
</HEAD>
<BODY>
<center>
<HR width=80%>
<TABLE border=1>
<TR>
<TD><IMG SRC = "The Folder addy"></TD></TR>
</TABLE>
<HR width=80%>
<H3><s-</H3>
</center>
</BODY>
</HTML>
-
Nov 13th, 1999, 11:41 PM
#2
Guru
randomly? I believe you would need some server side processing (like ASP or CGI) to determine what picture, and that picture's name in the HTML that will be sent to the client.
-
Nov 14th, 1999, 01:00 AM
#3
Hyperactive Member
Yeah, html can not execute things, you'll need a so called script file on your server side.
-
Nov 14th, 1999, 01:52 AM
#4
New Member
Have a look at this site:
http://www.worldwidemart.com/scripts/
Although you will need a cgi-bin on your web server and the ability to execute custom scripts, unfortunately not usually available with free webspace.
-
Nov 15th, 1999, 01:33 AM
#5
-
Nov 15th, 1999, 02:15 AM
#6
Frenzied Member
Thankyou for your support but where is a visual studio derectory??
Can I have the web Address?
-
Nov 15th, 1999, 06:32 AM
#7
Addicted Member
The Visual Studio Directory is not a web page (but it should not suprise me if someone named their site that)
itswhere you installed Visual Studio.
its normaly located here:
C:\Program Files\Microsoft Visual Studio\
BTW. it is not Dinamic its Dynamic and the file name is *.dhtml
-Lumin
-
Nov 15th, 1999, 09:40 AM
#8
Thread Starter
Addicted Member
Ok,
I looked and looked and It couldnt find what you guys are talking about. Soo.. If you would be kind enough to give me a exaple of the code to make a DHTML file.. Then I would be very happy.
Thankx.
Evan
-
Nov 16th, 1999, 02:20 AM
#9
Addicted Member
I got no places in my bookmarks that helps you on DHTML, but if I where you I would try looking in archives such as about.com and aslo try to search their site and some search engines.
-Lumin
-
Nov 16th, 1999, 07:55 AM
#10
Addicted Member
heh.. me again..
some hours after the previus post I got one of my newsletters and what where in it.. a link to "the" dhtml page.
I just want to share with you guys and girls
since I got the feeling that dhtml lacks information sites.
happy surfing
url to "the" dhtml site: http://www.dynamicdrive.com/
-Lumin
-
Nov 16th, 1999, 09:32 AM
#11
Hyperactive Member
I was away for a while and lost part of this discussion! 
Thanks lumin for your remark, I already knew it was dynamic (from Greek "dyna", force), I usually am careful with my typing. I'm so sorry...
As for the *dhtml, not: the file name is HTMLREF.CHM, where *.chm stands for "Compiled Html" and is a HELP file.
Enough for that.
Dayo312: I could e-mail you the referred file, but it occupies almost 4 Megas! (from Greek "Mega", big, but usually taken as "million" ) (And my connection is fair slow) If you have Visual Studio you should be able to find it in your disk or in your CD's. Any way, if you need further help, please re-post here.
[This message has been edited by Juan Carlos Rey (edited 11-16-1999).]
-
Nov 16th, 1999, 09:41 AM
#12
Hyperactive Member
Use JavaScript. This can use random images and place them on the page, (for instance: rollovers), and this is more supported than DHTML.
<script language="JavaScript1.1">
<!--
document['myimage'].src = 'c:\mydir\myimage.gif'
//-->
</script>
is a cheap example. If you want one that is random and etc., then just let me know.
------------------
Tom Young, 14 Year Old
[email protected]
ICQ: 15743470 Add Me ICQ Me
AIM: TomY10
PERL, JavaScript and VB Programmer
-
Nov 17th, 1999, 10:57 AM
#13
Thread Starter
Addicted Member
Yeah..
PLEASE !??!
I wanna know how to do that with rollovers
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|