on 10-03-2007 2:33 PM
Hi Experts,
I have to display 5 images Image1, Image2, Image3, Image4, Image5. After every 5 seconds I would like to change the image. After the cycle gets over from Image1 --> Image2 >Image3>Image4-->Image5 again Image1 should get displayed.
How we can set the timing of display of images. How we can do it using Java script and HTML.
Regards,
EP
EP,
Hold on... I am working on it.
Regards,
Rekha Malavathu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rekha,
Thanks for the help. The issue got sorted out. I have created test.html file. I placed this file in KM content. After this I created KM URL iview. I can see the html page. In the html page, the images are getting changed after every 5 seconds. This fulfils my requirement. I am not facing any problem of ActiveX as well.
Full credit to you for the help.
Regards,
Gaurav
Hi EP,
Check the link below to allow the restricted contents.
http://kb.sumtotalsystems.com/kbdisplay.asp?id=Q109423048500021
It works fine for me.
For the PAR file requirement I need to work on it. Not sure if I could solve it today.
But I will give you a solution might be tomorrow.
Regards,
Rekha Malavathu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Reskh,
Thanks. I have used following link:
http://kb.sumtotalsystems.com/kbdisplay.asp?id=Q109423048500021
Using this link the restricted content issue has been sorted out in my machine too.
After this I recompiled PAR file and tried to run the iView. In the iview the still persists. I can see only one image. The image is not getting replaced by another image. So I think there is something wrong with PAR file itself.
Thanks in advance,
Regards,
EP
Hi EP,
I tried the code and I got the same error.
But after I created 4 images of the same name suggested in the source code namely ad1.gif, ad2.gif, ad3.gif, ad4.gif and pasted it in the same folder the html started working properly.
Hope this helps.
Regards,
Rekha Malavathu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rekha,
Thanks. It is working fine. However, still I have one problem. When I am using the program on IE directly, I am getting following message:
"To protect your security, IE has restricted this file from showing active content that could access your computer"
I have to say "Allowed Blocked Content" to see the images.
I have created PAR file using NetWeaver Developer Studio. In this case, I am getting only one image. Other images are not getting displayed. In IE -> Tools --> Internet Option, I tried to disbale activeX. However, I am still getting only one image.
Can you please help me in resolving the issue?
Regards,
EP
Hi EP,
I just surfed the net and found something which could help you
http://www.siteexperts.com/dhtml/ch9/chapter/part4.asp
http://www.siteexperts.com/dhtml/ch9/chapter/samples/ads/ad.htm
I think this is what you wanted. Get the source code by right clicking the contents for the second link.
Hope this helps.
Regards,
Rekha Malavathu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rekha,
Thanks. I am facing one problem. When I create one html file based on the source code of second link, it is not working. I am getting following error messages:
1) To protect your security, IE has restricted this file from showing active content that could access your computer
2) Stack overflow at line: 0
Could you please let me know how to sort out the issue? It seems that following line of code is creating problem:
<link REL="stylesheet" HREF="../../samples.css" TYPE="text/css">
Am I suppose to do something with css stuff here.
Thanks in advance
Regards,
EP
Hi,
Using javascript may not be advisable.
I can think of APPLET as an alternative solution to it.
Or use flash for the same.
Ashu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I guess now a days most browsers have flash extns.
I guess you can have tags like
<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="100"
HEIGHT="100" CODEBASE="http://active.macromedia.com/flash5/cabs/
swflash.cab#version=5,0,0,0">
<PARAM NAME="MOVIE" VALUE="moviename.swf">
<PARAM NAME="PLAY" VALUE="true">
<PARAM NAME="LOOP" VALUE="true">
<PARAM NAME="QUALITY" VALUE="high">
<EMBED SRC="moviename.swf" WIDTH="100" HEIGHT="100" PLAY="true"
LOOP="true" QUALITY="high"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</EMBED>
</OBJECT>
AShu
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.