cancel
Showing results for 
Search instead for 
Did you mean: 

Simple HTML query

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member193726
Active Participant
0 Kudos

EP,

Hold on... I am working on it.

Regards,

Rekha Malavathu

Former Member
0 Kudos

Thanks Rekha

Former Member
0 Kudos

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

Answers (4)

Answers (4)

former_member193726
Active Participant
0 Kudos

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

Former Member
0 Kudos

Hi Rekha,

Thanks for the help.

Regards,

EP

Former Member
0 Kudos

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

Former Member
0 Kudos

Maybe I'm missing something but couldn't you just use an animated GIF file?

former_member193726
Active Participant
0 Kudos

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

Former Member
0 Kudos

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

former_member193726
Active Participant
0 Kudos

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

Former Member
0 Kudos

Hi Rekha,

Thanks for the help.

Regards,

EP

Former Member
0 Kudos

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

former_member185029
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi Ashu,

I have one question. We have 100s of users. It is very difficult to install flash in the machines of all end users. I can install in my machine to create flash.

Once flash has been created, will it be necessary to install in all machines of end users? Please suggest.

Thanks,

EP

former_member185029
Active Contributor
0 Kudos

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