Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Scrolling Images in HTML page  RSS feed

 
Sultan Khadar
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I have a folder c:\Images, containing some images. Now I want to display all these images (scrolling) in my HTML page. for this I am using the following code.

<MARQUEE> <Img src="c:\Images\image1.jpg" width ="30%" height="20%>
.........................................................
.........................................................
</MARQUEE>

for each image , i am adding one <IMG> Entry. Is there any other simple way to do this? I mean Is there a way so that i can simply refer my base folder and all the images automatically being displayed.

Please Help to solve this.
Thanks in advance.
Regards,
Khadar.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66204
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not without server-side code. The JavaScript on the client has no access to any file system, either on the client or on the server.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66204
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By the way you do realize that by using:



that your page will only work when the browser is being run on the same machine as the server, right?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!