0

Hi, I would like to have some rotating sequential images on my home page of my website. I do not know how to do this and have found code on the internet for only displaying random images. The main problem is this. Every time the page loads I get a pop-up "to help protect your security, IE has restricted this webpage from running scripts or ActiveX controls that could access your computer". Please can someone help prehaps with an example to enable this to work without this pop-up Thanks Richard

4
Contributors
9
Replies
11
Views
7 Years
Discussion Span
Last Post by rajarajan07
0

Are you going to rotate? or running sequential images in a horizontal slideshow view.

You can simply achieve this effect by using marquee, feed the image tags inside your marquee tag. Thats it! Try with some of the attributes of marquee for direction changes etc.

[B]To help protect your security, Internet Explorer has restricted this file from showing active content that could access your computer. Click here for options...[/B]When a Web page attempts to run a script or ActiveX control on your computer this message is shown. The Web page is made available but without the script or control running. This allows you to verify if the page will still function properly without the script or control. 
ActiveX controls can be hazardous to your computer and it is recommended to verify that the publisher of the control is one you can trust before allowing it to be installed on your computer.
If you are unsure about allowing the control to run on your computer click the Information Bar and click What's the risk? for more information about ActiveX controls. 
If you feel you need the blocked script or control, make certain that you trust the publisher before allowing it to access your computer.

Edited by rajarajan07: n/a

0

The main problem is this. Every time the page loads I get a pop-up "to help protect your security, IE has restricted this webpage from running scripts or ActiveX controls that could access your computer"

There are three primary issues.
1. If you use ActiveX some visitors won't see the changing images no matter what you do.
2. Even those with ActiveX available should still get that message (or at least not see
the images): no one in his right mind should have ActiveX enabled by default for all
sites.
3. Even if you use only javascript [recommended], visitors whose systems are configured
to block javascript [along with ActiveX] will still not see the changing images [with
or without a message similar to that one].

Using only css [which may, or may not, be capable of the effect(s) you want] eliminates any possibility of a popup.

0

Hi, firstly thanks to rajarajan07. I did not know about the marquee tag. like they say it is probably best used subtly for announcements. secondly thanks to fxm but I do not know if what I want to achieve can just be done with css.
I want to open my homepage and for images to change. I have seen this on many other websites and no activex warning appears. so I would like to do this thanks richard

0
<html>
  <head>
    <meta name="generator" content=
    "HTML Tidy for Windows (vers 25 March 2009), see www.w3.org">
    <title></title>
  </head>
  <body>
    <marquee behavior="scroll" direction="left"><img src=
    "http://www.daniweb.com/forums/techtalk-images/avatars/Muppets/Waldorf.gif"
    alt="Hi!"><img src=
    "http://www.daniweb.com/forums/techtalk-images/avatars/Muppets/Statler.gif"
    alt="Hah!"></marquee>
  </body>
</html>

The features that can be added depend on the visitor's browser. Additional effects may be possible using CSS but - again - there will be browser limitations.

0

Hi fxm, thanks for that. I can use that for a heading on my home page but it is not what I was wanting. What I would like is for static images to change on my home page. I think it is like rotate.php. I have googled some examples but cannot get it to work please can you help. thanks Richard

0

You may have better luck with server-side (php etc) questions in the appropriate forum. And those methods should all be popup-free.

0

This just from personal experience, but the activeX warning seems to only appear on my pages when I view them in IE on my computer(esp. when viewing from my external hard drive). I very rarely receive the activeX warning when viewing my sites (or any site) when they are live.

Also they seem to appear when the page is being viewed as a file (file:///C:/xampp/htdocs/mypage.html) and not when they are viewed from the server (http://localhost/mypage.html).

Edited by cloud09: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.