Can I schedule a picture to expire (disappear) on a specific date?

I often place an image that says NEW! on a web page. I would like it to disappear to viewers on a specificied date, for example two weeks after I introduce the picture. FrontPage had a feature called scheduled picture to do this; and after the specific date there was an element that said "expired picture" that I could see in design mode but that wasn't visible to viewers. How do I do this in Dreamweaver?
Thanks for your help.
Sabrina

Hi
You can do this via javascript or php, check the 2 links in the comments section of this page - http://www.cfproject.co.uk/questions/index.php/2010/02/javascript-to-change-image-once-a-w eek/.
PZ
www.pziecina.com

Similar Messages

  • Can you schedule the downloading of app updates to a specific time?

    Can you schedule the downloading of app updates to a specific time?

    I honestly wouldn't do that.  You have no idea if the software update server will be properly functioning then.  Also you should always backup your data prior installing updates. 
    Note when you install updates, you also have the option to install later, but just download first.
    Always make sure the updates work with each other by finding out the requirements from the developer before installing.  A clone backup will let you recover yourself to the point before the install, if you do it right.

  • How do I schedule my server to boot up on a specific date and time

    Hi,
    I'm quite new to this, I just want to know i there is a more flexible way of scheduling Snow Leopard Server's on/off. I have a Mac Pro running on Snow Leopard Server v10.6.6 and the Schedule feature inside System Preference - Energy Saver is not enough for the need of the small company that I'm currently taking care of. Is there a program / script or anything that can help me automate this task. I'm sure I'm not the only one who have this kind of question before.
    Any help would be appreciated.
    Regards,
    Andrew

    IT guys that have servers hold bragging rights based on up time...  Hehehe... It's unusual to have a need to turn a server off for a scheduled time, but if you have to, then you could try this.
    I know that it works on clients, but I've never seen it work on a server.
    This is the code that I use on my clients...
    pmset repeat shutdown MTWRFSU 20:00:00
    pmset repeat wakeorpoweron MTWRFSU 06:45:00
    Have a look here.
    -Graham

  • HT201077 I moved some pictures from my photo stream to an album in iPhoto.  The photo stream icon didn't disappear and I can't edit the picture .

    I moved some pictures from my photo stream to an album in iPhoto.  The photo stream icon didn't disappear and I can't edit the picture .

    Welcome to the Apple Community.
    Moving photos from photostream to your library just imports them, it doesn't remove it from photostream, therefore photostream won't disappear.
    Photos in photostream can't be edited, you can only edit photos that have been imported from photostream.

  • Calendar schedule blank. All appts disappeared from 3g iphone calendar synced to yahoo. After Yahoo corrected error message on their website and I re-synced my iphone, calendar reappears but will not allow edit from iphone. I can't find settings to change

    Calendar schedule blank. All appts disappeared from 3g iphone calendar synced to yahoo. After Yahoo corrected error message on their website and I re-synced my iphone, calendar reappears but will not allow edit from iphone. I can't find settings within Yahoo or within my iphone to alter editing options.
    How can I get access to edit and delete the Yahoo calendar from my iphone? I never schedule anything from the Yahoo webpage. All my appointments and reminders are scheduled from the iphone.
    iOS 4.2.1 (8C148a)

    My Yahoo email account worked just fine on my iPhone 4S  for the last 2 months. Then this morning I started receiving the apple.imap.mail,yahoo error.  I tried all of the steps above in solving the yahoo email issue including numerous hard re-sets and deletions of my yahoo account settings without any success. So I gave up trying to use the default Yahoo setup option.  I added my Yahoo account back as an "other" type email account and then had the option to choose to set it up as a "POP" account instead of an IMAP type. I then just used the server settings recommended from Yahoo Help for a Yahoo Plus Email POP (or just google yahoo plus email pop settings). This works and I am back in business.
    I'm not sure if this will work for yahoo mail classic accounts.
    Frustrating that this issue seems to have been going on for quite awhile and Apple still as not made any acknowledgement of this issue or proposed a fix for those of us that can not resolve the issue with a reset.

  • Updating my iphone just failed, right at the end.  Now I can't get the picture showing me to plug in my iphone to itunes to disappear.

    updating my iphone just failed, right at the end.  Now I can't get the picture showing me to plug in my iphone to itunes to disappear.  Please help, as I can't use my phone, and it will not clear.

    read
    http://support.apple.com/kb/ht1808

  • I can't find my pictures from iphoto. I was downloading Iphone pictures and the library disappeared. How can I recover them?

    I can't find my pictures from iphoto. I was downloading Iphone pictures and the library disappeared. How can I recover them?

    Restoring a backup is specific to the backup program you are using to do your daily backups - consult it's manual, help file or author's support site
    Back up your iPhoto library, Depress the option (alt) and command keys and launch iPhoto - rebuild your iPhoto library starting with the first option and trying others until you are succesful
    LN

  • I can't find my pictures in icloud

    I can't find my pictures in my icloud!  Pictures seem to disappear off my iphone (4) and go where???

    I'm not totally sure I understand what you are asking or expecting to see.
    You will only find your Photo Stream photos in iCloud, not the camera roll photos. What I mean is that any older photos that you have in the camera roll will not appear in the photo stream. Only photos that you have taken with the iPad, after you turned photo stream on, appear in the photo stream.
    You can create a shared photo stream album with older camera roll photos, but the camera roll itself is not in iCloud.com.
    Where are you looking in iCloud to see these photos?

  • Problem with AMD Driver, pictures on TV disappears

    Hello,
    I have a laptop HP Pavilion g6-2303sm, I recently installed Windows 8.1 PRO, (64-bit).
    Laptop works always when we connected it to the plasma TV with HDMI cable, but the problem arises when I install the graphics driver, then pictures on TV disappears. Without drivers all doing well, but i can't play games.
    Driver I downloaded here:
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ob-113258-1&cc=us&dlc=en&lc=en...

    Hi Dono91,
    Thank you for visiting the HP Support Forums and Welcome. With your Windows 8.1.  I would recommend clicking the Windows key and typing device manager. In Device Manager, locate the network adapter, and then double-click the device name. Click the Driver tab, and then click rollback driver. Restart the computer.
    Please let me know how this goes.
    Thanks.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • I can no longer import pictures to my ibook (OSX version 10.6.8) using iphoto 09 version 8.1.2 and now get message that file is in an unrecognizable format.  What is wrong?  Same camera as before.

    I can no longer import pictures to my ibook (OSX version 10.6.8) using iphoto 09 version 8.1.2 and now get message that file is in an unrecognizable format.  What is wrong?  Same camera as before.

    Julesvernet
    As a Test:
    Hold down the option (or alt) key and launch iPhoto. From the resulting menu select 'Create Library'
    Import a few pics into this new, blank library. Is the Problem repeated there?

  • Can not add a picture to the JFrame from an ActionListener class

    As topic says, I can not add a picture to the JFrame from an ActionListener class which is a class inside the JFrame class.
    I have a Map.java class where I load an image with ImageIcon chosen with JFileChooser.
    I my window class (main class), I have following:
    class OpenImage_Listener implements ActionListener
         public void actionPerformed(ActionEvent e)
              int ans = open.showOpenDialog(MainProgram.this);     // "open" is the JFileChooser reference
              if(ans == open.APPROVE_OPTION)
                   File file = open.getSelectedFile();                    
                   MainProgram.this.add(new Map(file.getName()), BorderLayout.CENTER);     // this line does not work - it does not add the choosen picture on the window,
                            //but if I add the picture outside this listener class and inside the MainProgram constructor, the picture apperas, but then I cannot use the JFileChooser.
                            showMessageDialog(MainProgram.this, fil.getName() ,"It works", INFORMATION_MESSAGE);  // this popup works, and thereby the ActionListener also works.
    }So why can�t I add a picture to the window from the above listener class?

    The SSCCE:
    Ok, I think I solved it with the picture, but now I cannot add new components after adding the picture.
    Look at the comment in the actionlistener class:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.io.*;
    public class Test extends JFrame{
         JButton b = new JButton("Open");
         JFileChooser jfc = new JFileChooser(System.getProperty("user.dir"));
         Picture pane;
         Test(){
              super("Main Program");
              setLayout(new BorderLayout());
              JPanel north = new JPanel();
              add(north, BorderLayout.NORTH);
              north.add(b);
              b.addActionListener(new Listener());
              setVisible(true);
              setSize(500,500);
              pane = new Picture("");
              add(pane, BorderLayout.CENTER);
         class Listener implements ActionListener {
              public void actionPerformed(ActionEvent e){
                   int ans = jfc.showOpenDialog(Test.this);
                   if(ans == jfc.APPROVE_OPTION)
                        File file = jfc.getSelectedFile();
                        Test.this.add(new Picture(file.getName()), BorderLayout.CENTER);
                        pane.add(new JButton("NEW BUTTON")); // Why does this button not appear on the window???
                        pane.repaint();
                        pane.revalidate();
         public static void main(String[] args)
              Test t = new Test();
    class Picture extends JPanel
         Image pic;
         String filename;
         Picture(String filename)
              setLayout(null);
              this.filename = filename;
              pic = Toolkit.getDefaultToolkit().getImage(filename);
            protected void paintComponent(Graphics g)
                super.paintComponent(g);
                g.drawImage(pic,0,0,getWidth(),getHeight(),this);
                revalidate();
    }

  • Why can't I delete pictures off of camera roll. I also can't send a picture to a friends phone. One last question.......why do pictures freeze up on the screen and I have to hit the power button to go back to home screen. Thanks for any help.

    Why can't I delete pictures off of camera roll?  I also can't send Pictures to someone else's phone. My picture seems to freeze up and I can't do anything, particularly delete the picture. I'm new to iPhone so I'm really just learning how this iphone thing works :)

    Did you recently start using iCloud to backup your photos?
    Wife had the same problem today.  Remembering that I had recently signed her up for more space on iCloud and started backing up her photos, I decided to roll the dice and turn that off.  Plug phone back into computer and *boom* I now have the option to delete.  Now I just have to figure out how I can do both = \

  • My phone says there's 0 bytes available but only 6 GB are used the phone is supposed to be 8 GB I have no pictures at all and only 6 apps this is really bothering me please help I can't even take pictures because it says I've no storage

    My phone says there's 0 bytes available but only 6 GB are used the phone is supposed to be 8 GB I have no pictures at all and only 5 apps this is really bothering me please help I can't even take pictures because it says I've no storage I also have no messages at all

    My iPhone is a 16GB and it says 9.0GB Available and 3.7GB used; I suspect the missing 2.3GB is occupied by the system software.

  • I have a problem with Safari in IOS 8 on my iPad 3. The bookmarks take up a third of the screen and I can't seem to make the bookmarks disappear until I need them. The useful part of the screen is therefore very small. Any suggestions gratefully appr

    I have a problem with Safari in IOS 8 on my iPad 3. The bookmarks take up a third of the screen and I can't seem to make the bookmarks disappear until I need them. The useful part of the screen is therefore very small. Any suggestions gratefully appreciated.

    OK, it now sort of works. A couple of problems here:
    After updating IOS, Safari iCloud was "automatically" switched off
    Switching it on had no effect
    resetting my iPad automatically switched off safari iCloud again
    after switching it back on, it said "turning off safari data"
    switched it off and on again, now it said : "turning on safari data" and the sync worked
    On IOS 7 no problems
    The bookmarks not being displayed was because after pressing the book icon, it defaulted to showing the history and I had to press "Back" to get to the other options

  • While taking photos my iphone's battery died, now my photos app won't open and I can't save any pictures taken or downloaded. Please help.

    While taking photos my iphone's battery died, now my photos app won't open and I can't save any pictures taken or downloaded. Please help.
    Also, I can't import my photos to my Windows 7 PC.

    Try rebooting your iPhone (holding the home button and sleep/wake button together until the apple logo appear)

Maybe you are looking for