Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Animated GIF Problem

Status
Not open for further replies.

PanelMaker

Programmer
May 17, 2005
34
US
Hello,
My problem is that I am trying to make a program to store information about parts that the company I work for sells/uses. The program is made so that people in accouting and inventory can add parts, edit part information, and post a picture of that part. Some of this information links to our website so that our customers can look up these parts, kind of an online catalog. My boss wants the picture they submit to be an animated GIF created for the part by the desingers we have here. I've tried alot of things and I still cannot make an animated GIF show up in the documents I create, It just shows the first frame of that GIF.

Any help would me much appreciated
 
How do you include the image in the form ? Do you copy/paste it ? I don't think that would work.
If your GIF image is referenced via HTML code, does it work ?

Pascal.
 
The other day while playing around I answered my own question, I now just include a set of directions telling the designers to go to insert>picture> and then browse the network to our animated gif storage. and now the images spin on the web. Thank you for your response though.

While I still have the floor, does anyone know how to make a certain area of a form/page so that it scrolls seperate from the rest of the page?

-Alex
 
Make a frameset and display the pages separately.
That can mean creating two forms to display the same info, or part of the same info, and calling on them in the proper parts of the frameset.
In the form itself, there is no way of having a scrollable section without scrolling the rest of the form. You could eventually tinker with the table, inserting a tabbed table in a second column. But it would not be the same thing as far as scrolling is concerned.

Glad to see that you ended up finding the solution to your problem. From what I gather, you ended up right where I was going to point you.

Pascal.
 
The other day I stumbled across a piece of javascript/css code that alows me to create a scrollable area in my form:

<style type="text/css"><!--
body {margin-top: 0px;}
--></style>
<style type="text/css"><!--div.scroll {height: 200px; width: 3.456in;
overflow: auto; border: 1px solid #000000;background-color: #000000;
padding: 0px;}--></style>
<script>
if (NS4)
{document.write('</LAYER>');}
if ((IE4) || (NS6))
{document.write('</DIV>');}
ifloatX=floatX;
ifloatY=floatY;
define();
window.onresize=define;
lastX=-1;
lastY=-1;
adjust();
</script>
<div class="scroll">
!!!THIS IS WHAT WILL BE INSIDE THE SCROLLABLE AREA!!!!
</div>

There is also a line at the tome that says: Margin-Top: 0px
this piece of code makes it so that the page will ignore the browsers preset margin at the top of a frame which was crucial to what I was doing.

Thank you Pascal for your help
though.
-Alex
 
Where I wrote tome I ment TOP* sorry about that.

-Alex
 
Interesting. I really have to start looking into this whole Java thing.

Pascal.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top