=?iso-8859-1?Q?Chuck_=ABBeyondFusion=BB?=
Guest
Re: animated gifs.. text ?
Joel,
Nancy was close. Try this:
var fcontent=new Array();
begintag='<div style="font: bold 13px Arial; padding: 3px; ">'; //set
opening tag, such as font declarations
fcontent[0]="<center>Not quite what you're looking for?";
fcontent[1]="<center>Joel can design and build a <i>Custom Piece</i> for
you!!";
fcontent[2]="<center>Call 413-527-6320";
fcontent[3]="<center>Or Email <a
href=\"mailto:joel@jlfurniture.com\">joel@jlfurnit ure.com</a>";
closetag='</div>';
Note: each fcontent line must appear on a single line. Eliminate any
word-wrapping your newsreader inserts.
I saw you had everything BOLD, so I changed the style and eliminated the <B>
tags.
--
Chuck Joslin
BeyondFusion.com - Your Fusion Community
www.beyondfusion.com
Register domain names at www.awavedomains.com
"dwolf" <jojodwolfnospam@hotmail.com> wrote in message
news:f0tu67$7us5@flsun90netnews01.netobjects.com.. .
> Thanks... but something is wrong...It keeps getting script error.. I tried
> a bunch of times... even pasted the script into notepad and copied a
> pasted it, with the change.
> So I am still on the fence if I want to use this method if we can get the
> email link to work, or go the gif method, which I put up a question this
> morning asking the best way to tackle that..
>
> Joel
>
>
>
> "Nancy O" <nancyoshea1@NOSPAMverizon.net> wrote in message
> news:f0t65c$6al2@flsun90netnews01.netobjects.com.. .
>> Replace var fcontent with this:
>>
>> var fcontent=new Array();
>> begintag='<div style="font: normal 13px Arial; padding: 0px;">'; //set
>> opening tag, such as font declarations
>> fcontent[0]="<B><center>Not quite what you're looking for?";
>> fcontent[1]="<B><center>Joel can design and build a <i>Custom Piece</i>
>> for
>> you!!</a>";
>> fcontent[2]="<B><center>Call 413-527-6320";
>> fcontent[3]="<B><center>Or Email <a
>> href="mailto:joel@jlfurniture.com">joel@jlfurnitur e.com</a>;
>> closetag='</div>';
>>
>>
>>
>> --Nancy
>>
>>
>>
>>
>>
>> "dwolf" <jojodwolfnospam@hotmail.com> wrote in message
>> news:f0rp1o$1511@flsun90netnews01.netobjects.com.. .
>>> Nancy,
>>> The script I put up seems to be just about there... in the original
>>> script
>>> from http://www.dynamicdrive.com/dynamici...fadescroll.htm they have
>>> a
>>> link to a page.. So I thought I could have an email link instead, but
>>> yes
>> I
>>> don't know a thing about scripts and html... but I like how it came
>>> out..
>>> the transition.. I was planning on going the gif route until I was shown
>>> this script... it was easy to custom.. except just needed to help on
>>> creating the link...
>>> It's on the top of this page
>>>
>> http://www.jlfurniture.com/Contact/N...ront_desk.html
>>>
>>>
>>>
>>> "Nancy O" <nancyoshea1@NOSPAMverizon.net> wrote in message
>>> news:f0rjc0$ga1@flsun90netnews01.netobjects.com...
>>> > Joel,
>>> >
>>> > Post the text you want to appear in an animated gif.
>>> >
>>> > Label your text as image #1, image #2, etc. and I'll make one for
>>> > you.
>>> > You
>>> > can then link the anim gif to whatever you wish - your email, your
>>> > internal
>>> > pages, whatever.
>>> >
>>> > Working with scripts requires a much higher learning curve and unless
>>> > you're
>>> > willing to learn how to use them, you shouldn't.
>>> >
>>> > --Nancy
>>> >
>>> >
>>> >
>>> >
>>> > "dwolf" <jojodwolfnospam@hotmail.com> wrote in message
>>> > news:f0rdgi$st62@flsun90netnews01.netobjects.com.. .
>>> >> No help on this one
>>> >>
>>> >> Joel
>>> >>
>>> >>
>>> >> "dwolf" <jojodwolfnospam@hotmail.com> wrote in message
>>> >> news:f0q3uf$ott1@flsun90netnews01.netobjects.com.. .
>>> >> > thanks again.. but the brain never stops.. I added another line of
>> text
>>> >> > that has my email address and I tried to figure out how to make it
>>> >> > a
>>> >> > link.. Here's what I did on the top, and I would like to make the
>> email
>>> >> > link the same as the email link I made on this page... it has a
>>> > customized
>>> >> > subject heading.
>>> >> > http://www.jlfurniture.com/Contact/contact.html
>>> >> >
>>> >> > and here's a piece of the script
>>> >> >
>>> >> > fcontent[3]="<B><center>413-527-6320
>>> >> > joel@jlfurniture.com.";
>>> >> >
>>> >> > This is the email link
>>> >> >
>>> >> > mailto:joel@jlfurniture.com?subject=Furniture Enquiry
>>> >> >
>>> >> >
>>> >> > "Chuck «BeyondFusion»" <supportno@spambeyondfusion.com> wrote in
>>> >> > message
>>> >> > news:f0okcg$jc96@flsun90netnews01.netobjects.com.. .
>>> >> >> fcontent[1]="<center>Joel can design and build a <i>\"Custom
>>> > Piece\"</i>
>>> >> >> for you!!</a>";
>>> >> >>
>>> >> >> --
>>> >> >> Chuck Joslin
>>> >> >> BeyondFusion.com - Your Fusion Community
>>> >> >> www.beyondfusion.com
>>> >> >>
>>> >> >> Register domain names at www.awavedomains.com
>>> >> >>
>>> >> >> "dwolf" <jojodwolfnospam@hotmail.com> wrote in message
>>> >> >> news:f0oiah$jc95@flsun90netnews01.netobjects.com.. .
>>> >> >>> Another question... In the script below.. If I want quotes around
>> the
>>> >> >>> words "Custom Piece" How do I do that..
>>> >> >>> and also if I want those words in italics ?? without the quotes
>>> >> >>>
>>> >> >>> You guys are great... thanks joel
>>> >> >>>
>>> >> >>>
>>> >> >>>
>>> >> >>> var fcontent=new Array();
>>> >> >>>
>>> >> >>> begintag='<div style="font: normal 14px Arial; padding: 0px;">';
>>> >> >>> //set
>>> >> >>> opening tag, such as font declarations
>>> >> >>>
>>> >> >>> fcontent[0]="<center>Not quite what you're looking for?";
>>> >> >>>
>>> >> >>> fcontent[1]="<center>Joel can design and build a Custom Piece for
>>> >> >>> you!!</a>";
>>> >> >>>
>>> >> >>> fcontent[2]="<center>Call or Email.";
>>> >> >>>
>>> >> >>> closetag='</div>';
>>> >> >>>
>>> >> >>> "Chuck «BeyondFusion»" <supportno@spambeyondfusion.com> wrote in
>>> > message
>>> >> >>> news:f0og44$jc94@flsun90netnews01.netobjects.com.. .
>>> >> >>>> You should use a text box to place the script on your page.
>>> >> >>>>
>>> >> >>>> Size the text box width to match the box created by the script.
>> Then
>>> >> >>>> lock the height of the text box to match the height.
>>> >> >>>>
>>> >> >>>> That way you'll get WYSIWYG and it won't "whack out" your
>>> >> >>>> layout.
>>> >> >>>>
>>> >> >>>> Press Ctrl+T and insert the script.
>>> >> >>>>
>>> >> >>>> --
>>> >> >>>> Chuck Joslin
>>> >> >>>> BeyondFusion.com - Your Fusion Community
>>> >> >>>> www.beyondfusion.com
>>> >> >>>>
>>> >> >>>> Register domain names at www.awavedomains.com
>>> >> >>>>
>>> >> >>>> "dwolf" <jojodwolfnospam@hotmail.com> wrote in message
>>> >> >>>> news:f0ocsd$i604@flsun90netnews01.netobjects.com.. .
>>> >> >>>>> So I'm very close here...
>>> >> >>>>> Now I tried placing the script in two different spots and both
>>> >> >>>>> spots
>>> >> >>>>> really whacks out the page layout.
>>> >> >>>>> My first try is in the master border under my button.. I made
>> sure
>>> >> >>>>> there was enough height so it would not interfere with anything
>> and
>>> >> >>>>> somehow it does.
>>> >> >>>>> Then I tried in the body basically same place but just below
>>> >> >>>>> the
>>> >> >>>>> masterborder.
>>> >> >>>>> When I put the script in I clicked on the text tab.. clicked on
>> the
>>> >> >>>>> page where I wanted the script and then in the text properties
>>> >> >>>>> pallete, pasted the script in the html tab..
>>> >> >>>>>
>>> >> >>>>> My site www.jlfurniture.com
>>> >> >>>>>
>>> >> >>>>> and my edited html
>>> >> >>>>>
>>> >> >>>>> <script type="text/javascript">
>>> >> >>>>>
>>> >> >>>>> /***********************************************
>>> >> >>>>>
>>> >> >>>>> * Fading Scroller- © Dynamic Drive DHTML code library
>>> >> >>>>> (www.dynamicdrive.com)
>>> >> >>>>>
>>> >> >>>>> * This notice MUST stay intact for legal use
>>> >> >>>>>
>>> >> >>>>> * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full
>>> > source
>>> >> >>>>> code
>>> >> >>>>>
>>> >> >>>>> ***********************************************/
>>> >> >>>>>
>>> >> >>>>> var delay = 6000; //set delay between message change (in
>>> > miliseconds)
>>> >> >>>>>
>>> >> >>>>> var maxsteps=30; // number of steps to take to change from
>>> >> >>>>> start
>>> > color
>>> >> >>>>> to endcolor
>>> >> >>>>>
>>> >> >>>>> var stepdelay=40; // time in miliseconds of a single step
>>> >> >>>>>
>>> >> >>>>> //**Note: maxsteps*stepdelay will be total time in miliseconds
>>> >> >>>>> of
>>> >> >>>>> fading effect
>>> >> >>>>>
>>> >> >>>>> var startcolor= new Array(255,255,255); // start color (red,
>> green,
>>> >> >>>>> blue)
>>> >> >>>>>
>>> >> >>>>> var endcolor=new Array(0,0,0); // end color (red, green, blue)
>>> >> >>>>>
>>> >> >>>>> var fcontent=new Array();
>>> >> >>>>>
>>> >> >>>>> begintag='<div style="font: normal 14px Arial; padding:
>>> >> >>>>> 0px;">';
>>> > //set
>>> >> >>>>> opening tag, such as font declarations
>>> >> >>>>>
>>> >> >>>>> fcontent[0]="<center>Not quite what you're looking for?";
>>> >> >>>>>
>>> >> >>>>> fcontent[1]="<center>Joel can design and build a Custom Piece
>>> >> >>>>> for
>>> >> >>>>> you!!</a>";
>>> >> >>>>>
>>> >> >>>>> fcontent[2]="<center>Call or Email";
>>> >> >>>>>
>>> >> >>>>> closetag='</div>';
>>> >> >>>>>
>>> >> >>>>> var fwidth='350px'; //set scroller width
>>> >> >>>>>
>>> >> >>>>> var fheight='3px'; //set scroller height
>>> >> >>>>>
>>> >> >>>>> var fadelinks=1; //should links inside scroller content also
>>> >> >>>>> fade
>>> > like
>>> >> >>>>> text? 0 for no, 1 for yes.
>>> >> >>>>>
>>> >> >>>>> ///No need to edit below this line/////////////////
>>> >> >>>>>
>>> >> >>>>>
>>> >> >>>>>
>>> >> >>>>> var ie4=document.all&&!document.getElementById;
>>> >> >>>>>
>>> >> >>>>> var DOM2=document.getElementById;
>>> >> >>>>>
>>> >> >>>>> var faderdelay=0;
>>> >> >>>>>
>>> >> >>>>> var index=0;
>>> >> >>>>>
>>> >> >>>>>
>>> >> >>>>>
>>> >> >>>>> /*Rafael Raposo edited function*/
>>> >> >>>>>
>>> >> >>>>> //function to change content
>>> >> >>>>>
>>> >> >>>>> function changecontent(){
>>> >> >>>>>
>>> >> >>>>> if (index>=fcontent.length)
>>> >> >>>>>
>>> >> >>>>> index=0
>>> >> >>>>>
>>> >> >>>>> if (DOM2){
>>> >> >>>>>
>>> >> >>>>>
>>> > document.getElementById("fscroller").style.color=" rgb("+startcolor[0]+",
>>> >> >>>>> "+startcolor[1]+", "+startcolor[2]+")"
>>> >> >>>>>
>>> >> >>>>>
>>> >
>> document.getElementById("fscroller").innerHTML=beg intag+fcontent[index]+clos
>>> > etag
>>> >> >>>>>
>>> >> >>>>> if (fadelinks)
>>> >> >>>>>
>>> >> >>>>> linkcolorchange(1);
>>> >> >>>>>
>>> >> >>>>> colorfade(1, 15);
>>> >> >>>>>
>>> >> >>>>> }
>>> >> >>>>>
>>> >> >>>>> else if (ie4)
>>> >> >>>>>
>>> >> >>>>>
>> document.all.fscroller.innerHTML=begintag+fcontent[index]+closetag;
>>> >> >>>>>
>>> >> >>>>> index++
>>> >> >>>>>
>>> >> >>>>> }
>>> >> >>>>>
>>> >> >>>>> // colorfade() partially by Marcio Galli for Netscape
>>> > Communications.
>>> >> >>>>> ////////////
>>> >> >>>>>
>>> >> >>>>> // Modified by Dynamicdrive.com
>>> >> >>>>>
>>> >> >>>>> function linkcolorchange(step){
>>> >> >>>>>
>>> >> >>>>> var
>>> >> >>>>>
>> obj=document.getElementById("fscroller").getElemen tsByTagName("A");
>>> >> >>>>>
>>> >> >>>>> if (obj.length>0){
>>> >> >>>>>
>>> >> >>>>> for (i=0;i<obj.length;i++)
>>> >> >>>>>
>>> >> >>>>> obj[i].style.color=getstepcolor(step);
>>> >> >>>>>
>>> >> >>>>> }
>>> >> >>>>>
>>> >> >>>>> }
>>> >> >>>>>
>>> >> >>>>> /*Rafael Raposo edited function*/
>>> >> >>>>>
>>> >> >>>>> var fadecounter;
>>> >> >>>>>
>>> >> >>>>> function colorfade(step) {
>>> >> >>>>>
>>> >> >>>>> if(step<=maxsteps) {
>>> >> >>>>>
>>> >> >>>>>
>> document.getElementById("fscroller").style.color=g etstepcolor(step);
>>> >> >>>>>
>>> >> >>>>> if (fadelinks)
>>> >> >>>>>
>>> >> >>>>> linkcolorchange(step);
>>> >> >>>>>
>>> >> >>>>> step++;
>>> >> >>>>>
>>> >> >>>>> fadecounter=setTimeout("colorfade("+step+")",stepd elay);
>>> >> >>>>>
>>> >> >>>>> }else{
>>> >> >>>>>
>>> >> >>>>> clearTimeout(fadecounter);
>>> >> >>>>>
>>> >> >>>>>
>>> > document.getElementById("fscroller").style.color=" rgb("+endcolor[0]+",
>>> >> >>>>> "+endcolor[1]+", "+endcolor[2]+")";
>>> >> >>>>>
>>> >> >>>>> setTimeout("changecontent()", delay);
>>> >> >>>>>
>>> >> >>>>>
>>> >> >>>>> }
>>> >> >>>>>
>>> >> >>>>> }
>>> >> >>>>>
>>> >> >>>>> /*Rafael Raposo's new function*/
>>> >> >>>>>
>>> >> >>>>> function getstepcolor(step) {
>>> >> >>>>>
>>> >> >>>>> var diff
>>> >> >>>>>
>>> >> >>>>> var newcolor=new Array(3);
>>> >> >>>>>
>>> >> >>>>> for(var i=0;i<3;i++) {
>>> >> >>>>>
>>> >> >>>>> diff = (startcolor[i]-endcolor[i]);
>>> >> >>>>>
>>> >> >>>>> if(diff > 0) {
>>> >> >>>>>
>>> >> >>>>> newcolor[i] = startcolor[i]-(Math.round((diff/maxsteps))*step);
>>> >> >>>>>
>>> >> >>>>> } else {
>>> >> >>>>>
>>> >> >>>>> newcolor[i] =
>>> >> >>>>> startcolor[i]+(Math.round((Math.abs(diff)/maxsteps))*step);
>>> >> >>>>>
>>> >> >>>>> }
>>> >> >>>>>
>>> >> >>>>> }
>>> >> >>>>>
>>> >> >>>>> return ("rgb(" + newcolor[0] + ", " + newcolor[1] + ", " +
>>> > newcolor[2]
>>> >> >>>>> + ")");
>>> >> >>>>>
>>> >> >>>>> }
>>> >> >>>>>
>>> >> >>>>> if (ie4||DOM2)
>>> >> >>>>>
>>> >> >>>>> document.write('<div id="fscroller" style="border:0px solid
>>> >> >>>>> black;width:'+fwidth+';height:'+fheight+'"></div>');
>>> >> >>>>>
>>> >> >>>>> if (window.addEventListener)
>>> >> >>>>>
>>> >> >>>>> window.addEventListener("load", changecontent, false)
>>> >> >>>>>
>>> >> >>>>> else if (window.attachEvent)
>>> >> >>>>>
>>> >> >>>>> window.attachEvent("onload", changecontent)
>>> >> >>>>>
>>> >> >>>>> else if (document.getElementById)
>>> >> >>>>>
>>> >> >>>>> window.onload=changecontent
>>> >> >>>>>
>>> >> >>>>> </script>
>>> >> >>>>>
>>> >> >>>>>
>>> >> >>>>>
>>> >> >>>>> "Chuck «BeyondFusion»" <supportno@spambeyondfusion.com> wrote
>>> >> >>>>> in
>>> >> >>>>> message news:f0o1ca$hfa4@flsun90netnews01.netobjects.com.. .
>>> >> >>>>>> Joel,
>>> >> >>>>>>
>>> >> >>>>>> You can add a <center> at the beginning of each content
>> variable.
>>> >> >>>>>>
>>> >> >>>>>> For example: fcontent[0]="<center>Text goes here.";
>>> >> >>>>>>
>>> >> >>>>>> Change the script near the bottom to remove the border.
>>> >> >>>>>>
>>> >> >>>>>> from: border:1px solid black;
>>> >> >>>>>>
>>> >> >>>>>> to: border:0px;
>>> >> >>>>>>
>>> >> >>>>>> --
>>> >> >>>>>> Chuck Joslin
>>> >> >>>>>> BeyondFusion.com - Your Fusion Community
>>> >> >>>>>> www.beyondfusion.com
>>> >> >>>>>>
>>> >> >>>>>> Register domain names at www.awavedomains.com
>>> >> >>>>>>
>>> >> >>>>>> "dwolf" <jojodwolfnospam@hotmail.com> wrote in message
>>> >> >>>>>> news:f0nvmk$gto4@flsun90netnews01.netobjects.com.. .
>>> >> >>>>>>> Two questions on the script...
>>> >> >>>>>>> How do I center all of the text ?
>>> >> >>>>>>> And if I wanted to get rid of the box...
>>> >> >>>>>>> Thanks
>>> >> >>>>>>>
>>> >> >>>>>>> Joel
>>> >> >>>>>>> "Chuck «BeyondFusion»" <supportno@spambeyondfusion.com> wrote
>> in
>>> >> >>>>>>> message news:f0nskr$hfa1@flsun90netnews01.netobjects.com.. .
>>> >> >>>>>>>> How about something like this?
>>> >> >>>>>>>>
>>> >> >>>>>>>> http://www.dynamicdrive.com/dynamici...fadescroll.htm
>>> >> >>>>>>>>
>>> >> >>>>>>>> --
>>> >> >>>>>>>> Chuck Joslin
>>> >> >>>>>>>> BeyondFusion.com - Your Fusion Community
>>> >> >>>>>>>> www.beyondfusion.com
>>> >> >>>>>>>>
>>> >> >>>>>>>> Register domain names at www.awavedomains.com
>>> >> >>>>>>>>
>>> >> >>>>>>>> "dwolf" <jojodwolfnospam@hotmail.com> wrote in message
>>> >> >>>>>>>> news:f0nr5t$gto3@flsun90netnews01.netobjects.com.. .
>>> >> >>>>>>>>> And how to create this animated text ??
>>> >> >>>>>>>>> I found a shareware program that is okay... I have two more
>>> >> >>>>>>>>> free
>>> >> >>>>>>>>> gifs to make but it does not have a fade feature
>>> >> >>>>>>>>> "LBA" <webdesigns@no2spamabramsnet.com> wrote in message
>>> >> >>>>>>>>> news:f0nqmh$gto2@flsun90netnews01.netobjects.com.. .
>>> >> >>>>>>>>>> Sure. That's either animated GIF or Flash.
>>> >> >>>>>>>>>>
>>> >> >>>>>>>>>> Laurence
>>> >> >>>>>>>>>>
>>> >> >>>>>>>>>>
>>> >> >>>>>>>>>> dwolf wrote:
>>> >> >>>>>>>>>>> Thanks for the link but nothing there I like... too
>> flashy..
>>> >> >>>>>>>>>>> I
>>> >> >>>>>>>>>>> need this real simple.. plain text.. fades to next line
>>> >> >>>>>>>>>>> of
>>> >> >>>>>>>>>>> text..
>>> >> >>>>>>>>>>> "LBA" <webdesigns@no2spamabramsnet.com> wrote in message
>>> >> >>>>>>>>>>> news:f0nof2$g787@flsun90netnews01.netobjects.com.. .
>>> >> >>>>>>>>>>> > Animated GIF or Flash. You'll also find some HTML
>> fade-in
>>> >> >>>>>>>>>>> > text scripts, and others, here...
>>> >> >>>>>>>>>>> > http://www.dynamicdrive.com/dynamicindex10/index.html...
>>> >> >>>>>>>>>>> > but
>>> >> >>>>>>>>>>> > not all are cross-browser compatible.
>>> >> >>>>>>>>>>> >
>>> >> >>>>>>>>>>> > Laurence
>>> >> >>>>>>>>>>> >
>>> >> >>>>>>>>>>> >
>>> >> >>>>>>>>>>> >
>>> >> >>>>>>>>>>> > dwolf wrote:
>>> >> >>>>>>>>>>> >> In version 9, I would like to create a line of text
>>> >> >>>>>>>>>>> >> that
>>> >> >>>>>>>>>>> >> works like an animated gif.. I know I can just create
>> the
>>> >> >>>>>>>>>>> >> gif, but is there another way.. a better way in NOF 9
>>> >> >>>>>>>>>>> >>
>>> >> >>>>>>>>>>> >> It will say "Not quite what you're looking for ?"
>>> >> >>>>>>>>>>> >> in
>>> >> >>>>>>>>>>> >> the
>>> >> >>>>>>>>>>> >> first screen and then " Joel can design and build a
>> custom
>>> >> >>>>>>>>>>> >> piece for you"
>>> >> >>>>>>>>>>> >> And maybe a third screen with contact info.. I don't
>> want
>>> > it
>>> >> >>>>>>>>>>> >> to scroll... just a stationary spot where it says
>>> >> >>>>>>>>>>> >> this..
>> a
>>> >> >>>>>>>>>>> >> fade between lines might be nice. I have an older
>> version
>>> > of
>>> >> >>>>>>>>>>> >> Fireworks that can make animated gifs, but I don't
>>> >> >>>>>>>>>>> >> think
>>> >> >>>>>>>>>>> >> it
>>> >> >>>>>>>>>>> >> can do the fade idea..
>>> >> >>>>>>>>>>> >>
>>> >> >>>>>>>>>>> >> Thanks Joel
>>> >> >>>>>>>>>>> >>
>>> >> >>>>>>>>>>> >>
>>> >> >>>>>>>>>>>
>>> >> >>>>>>>>>>>
>>> >> >>>>>>>>>>>
>>> >> >>>>>>>>>
>>> >> >>>>>>>>>
>>> >> >>>>>>>>
>>> >> >>>>>>>
>>> >> >>>>>>>
>>> >> >>>>>>
>>> >> >>>>>
>>> >> >>>>>
>>> >> >>>>
>>> >> >>>
>>> >> >>>
>>> >> >>
>>> >> >
>>> >> >
>>> >>
>>> >>
>>> >
>>> >
>>>
>>>
>>
>>
>
>