Sign in to follow this  
Followers 0
DirtDBaK

I want to add animated gifs, Any way to do that?

3 posts in this topic

I want to add animated gifs, Any way to do that?

I really want a progress wheel...

Idk if an ani gif is the best way....

But maybe you guys have an idea.....

Thanks


[center][/center]

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

I found out a little different way of addign a Splash screen with a Animated gif using an HTA

here is the HTA example

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <HTA:APPLICATION 
     ID="Loader" 
     APPLICATIONNAME="Loader"
     SCROLL="no"
     SINGLEINSTANCE="yes"
     SysMenu="no"

>
</head>
<script language="VBScript">
Sub Window_onload
    strComputer = "."
        Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
        Set colItems = objWMIService.ExecQuery("Select * From Win32_DesktopMonitor")
        For Each objItem in colItems
            intHorizontal = objItem.ScreenWidth
            intVertical = objItem.ScreenHeight
        Next
        intLeft = (intHorizontal - 500) / 2
        intTop = (intVertical - 500) / 2
        window.resizeTo 500,500
        window.moveTo intLeft, intTop

End Sub 
</script>


<body style="text-align:center;font-family:Calibri; font-size:32px; padding-top:75px;">
Backup in progress...
<br />
<img src="ajax-loader.gif" alt="Loading..." />
<br />
Please Wait





</body>
</html>

I call the hta with the following function

Run("mshta.exe \\path\loader.hta")
Edited by jaebeard

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0