Hello everyone, Basically I just want to make my DIV (mainTable) have the "Appear" effect. Once I can actually see how to do this on the DIV with a proper code, I am sure I can pickup on it. I''d appreciate any help! PS - I''ve used the help page; I did the javascript header and applied the onClick="new Effect.Appear(''mainTable''), but returned nothing. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
okekester-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Jul-12 16:16 UTC
Re: New to Scriptacolous :: How Do I Apply the Effect?
<div id="mainTable" style="display:none;">Maintable</div> <div onclick="new Effect.Appear(''mainTable'')">Hi</div> On Jul 12, 5:10 pm, lb <lb.em...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hello everyone, > Basically I just want to make my DIV (mainTable) have the "Appear" > effect. Once I can actually see how to do this on the DIV with a > proper code, I am sure I can pickup on it. I''d appreciate any help! > > PS - I''ve used the help page; I did the javascript header and applied > the onClick="new Effect.Appear(''mainTable''), but returned nothing.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
If you''re doing it in javascript, you need to be attaching a function reference. (I also seem to recall some browsers handling the case differently. Use lowercase, not camel case.) $(''mainTable).onclick = function () { new Effect.Appear(''mainTable''); } OR Event.Observe(''mainTable'', ''click'', function () { new Effect.Appear(''mainTable''); }); TAG On Jul 12, 2007, at 9:10 AM, lb wrote:> > Hello everyone, > Basically I just want to make my DIV (mainTable) have the "Appear" > effect. Once I can actually see how to do this on the DIV with a > proper code, I am sure I can pickup on it. I''d appreciate any help! > > PS - I''ve used the help page; I did the javascript header and applied > the onClick="new Effect.Appear(''mainTable''), but returned nothing. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks! How do I get the DUV to just "Appear" and not have to be clicked, because the onClick in a DIV isn''t supported by most browsers... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Effect.Appear(''id_of_element''); http://wiki.script.aculo.us/scriptaculous/show/Effect.Appear Are you sure about the onclick issue? I haven''t had a problem with it. If there is nothing there to click, you may have a problem. Why don''t you just post a reduced test case, so we can better see what''s going on. TAG On Jul 12, 2007, at 10:43 AM, lb wrote:> > Thanks! > How do I get the DUV to just "Appear" and not have to be clicked, > because the onClick in a DIV isn''t supported by most browsers... > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Thank you. :) On Jul 12, 12:02 pm, Tom Gregory <t...-PGZyUNKar/Q@public.gmane.org> wrote:> Effect.Appear(''id_of_element'');http://wiki.script.aculo.us/scriptaculous/show/Effect.Appear > > Are you sure about the onclick issue? I haven''t had a problem with > it. If there is nothing there to click, you may have a problem. > > Why don''t you just post a reduced test case, so we can better see > what''s going on. > > TAG > > On Jul 12, 2007, at 10:43 AM, lb wrote: > > > > > Thanks! > > How do I get the DUV to just "Appear" and not have to be clicked, > > because the onClick in a DIV isn''t supported by most browsers...--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Okay. I have tried all kinds of stuff but I keep getting the SAME ERROR: "Error: ''Effect'' is undefined" I can''t put "new Effect.Appear" anywhere because it gives me that error. On Jul 12, 12:02 pm, lb <lb.em...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Thank you. :) > > On Jul 12, 12:02 pm, Tom Gregory <t...-PGZyUNKar/Q@public.gmane.org> wrote: > > > Effect.Appear(''id_of_element'');http://wiki.script.aculo.us/scriptaculous/show/Effect.Appear > > > Are you sure about the onclick issue? I haven''t had a problem with > > it. If there is nothing there to click, you may have a problem. > > > Why don''t you just post a reduced test case, so we can better see > > what''s going on. > > > TAG > > > On Jul 12, 2007, at 10:43 AM, lb wrote: > > > > Thanks! > > > How do I get the DUV to just "Appear" and not have to be clicked, > > > because the onClick in a DIV isn''t supported by most browsers...--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Walter Lee Davis
2007-Jul-12 20:58 UTC
Re: New to Scriptacolous :: How Do I Apply the Effect?
Check to be absolutely sure that you have included prototype.js by that point in your script. It sounds like you have not. Walter On Jul 12, 2007, at 4:54 PM, lb wrote:> > Okay. I have tried all kinds of stuff but I keep getting the SAME > ERROR: > "Error: ''Effect'' is undefined" I can''t put "new Effect.Appear" > anywhere because it gives me that error. > > On Jul 12, 12:02 pm, lb <lb.em...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> Thank you. :) >> >> On Jul 12, 12:02 pm, Tom Gregory <t...-PGZyUNKar/Q@public.gmane.org> wrote: >> >>> >>> Effect.Appear(''id_of_element'');http://wiki.script.aculo.us/ >>> scriptaculous/show/Effect.Appear >> >>> Are you sure about the onclick issue? I haven''t had a problem with >>> it. If there is nothing there to click, you may have a problem. >> >>> Why don''t you just post a reduced test case, so we can better see >>> what''s going on. >> >>> TAG >> >>> On Jul 12, 2007, at 10:43 AM, lb wrote: >> >>>> Thanks! >>>> How do I get the DUV to just "Appear" and not have to be clicked, >>>> because the onClick in a DIV isn''t supported by most browsers... > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Yep, I have both "prototype" and "scriptacolous" included in the head. On Jul 12, 3:58 pm, Walter Lee Davis <w...-HQgmohHLjDZWk0Htik3J/w@public.gmane.org> wrote:> Check to be absolutely sure that you have included prototype.js by that > point in your script. It sounds like you have not. > > Walter > > On Jul 12, 2007, at 4:54 PM, lb wrote: > > > > > Okay. I have tried all kinds of stuff but I keep getting the SAME > > ERROR: > > "Error: ''Effect'' is undefined" I can''t put "new Effect.Appear" > > anywhere because it gives me that error. > > > On Jul 12, 12:02 pm, lb <lb.em...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> Thank you. :) > > >> On Jul 12, 12:02 pm, Tom Gregory <t...-PGZyUNKar/Q@public.gmane.org> wrote: > > >>> Effect.Appear(''id_of_element'');http://wiki.script.aculo.us/ > >>> scriptaculous/show/Effect.Appear > > >>> Are you sure about the onclick issue? I haven''t had a problem with > >>> it. If there is nothing there to click, you may have a problem. > > >>> Why don''t you just post a reduced test case, so we can better see > >>> what''s going on. > > >>> TAG > > >>> On Jul 12, 2007, at 10:43 AM, lb wrote: > > >>>> Thanks! > >>>> How do I get the DUV to just "Appear" and not have to be clicked, > >>>> because the onClick in a DIV isn''t supported by most browsers...--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Prototype and Scriptaculous should do it. Try it with just prototype.js and effects.js. Without seeing the code, there may be some load-order issues, particularly if you''re trying to do the effect before window.onload fires. If you''re using Firebug, check to make sure the js files are loaded properly. (If you''re not using Firebug, you should be.) TAG On Jul 12, 2007, at 3:32 PM, lb wrote:> > Yep, I have both "prototype" and "scriptacolous" included in the head. > > On Jul 12, 3:58 pm, Walter Lee Davis <w...-HQgmohHLjDZWk0Htik3J/w@public.gmane.org> wrote: >> Check to be absolutely sure that you have included prototype.js by >> that >> point in your script. It sounds like you have not. >> >> Walter >> >> On Jul 12, 2007, at 4:54 PM, lb wrote: >> >> >> >>> Okay. I have tried all kinds of stuff but I keep getting the SAME >>> ERROR: >>> "Error: ''Effect'' is undefined" I can''t put "new Effect.Appear" >>> anywhere because it gives me that error. >> >>> On Jul 12, 12:02 pm, lb <lb.em...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >>>> Thank you. :) >> >>>> On Jul 12, 12:02 pm, Tom Gregory <t...-PGZyUNKar/Q@public.gmane.org> wrote: >> >>>>> Effect.Appear(''id_of_element'');http://wiki.script.aculo.us/ >>>>> scriptaculous/show/Effect.Appear >> >>>>> Are you sure about the onclick issue? I haven''t had a problem with >>>>> it. If there is nothing there to click, you may have a problem. >> >>>>> Why don''t you just post a reduced test case, so we can better see >>>>> what''s going on. >> >>>>> TAG >> >>>>> On Jul 12, 2007, at 10:43 AM, lb wrote: >> >>>>>> Thanks! >>>>>> How do I get the DUV to just "Appear" and not have to be clicked, >>>>>> because the onClick in a DIV isn''t supported by most browsers... > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Man, this is insane! I have, in the HEAD, the following for JavaScript src: ../includes/fx/prototype.js ../includes/fx/scriptaculous.js then (w. CDATA)... // <![CDATA[ Effect.Appear(''body''); // ]]> and in the BODY, I want my mainTable, body, or DIV to "Appear". I tried it on the DIV as an onClick and in the BODY as a onLoad: < body onLoad="new Effect.Appear(''body'');" > LOL! This should be so easy. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
I think it would be best if you could post the code of your HTML page so we can see what''s going on. TAG On Jul 12, 2007, at 4:17 PM, lb wrote:> > Man, this is insane! > I have, in the HEAD, the following for JavaScript src: > > ../includes/fx/prototype.js > ../includes/fx/scriptaculous.js > > then (w. CDATA)... > > // <![CDATA[ > Effect.Appear(''body''); > // ]]> > > and in the BODY, I want my mainTable, body, or DIV to "Appear". I > tried it on > the DIV as an onClick and in the BODY as a onLoad: > > < body onLoad="new Effect.Appear(''body'');" > > > LOL! This should be so easy. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Here''s my code: Thank you for you help. ============================== <!-- ALL CONTENT COPYRIGHT STUDIO7 DIGITAL MEDIA, LLC. ALL RIGHTS RESERVED. VIOLATORS WILL BE PROSECUTED TO THE MAXIMUM EXTENT POSSIBLE IN THE COURT OF LAW. WWW.LBWD.NET AND ITS OTHER SITES OR CONTENT MADE AVAILABLE IS PROTECTED BY INTERNATIONAL LAW. DIRECT LEGAL QUESTIONS TO STUDIO7''S LEGAL DEPARTMENT. PUBLIC WEBSITE: WWW.LBWD.NET MAY CONTAIN OTHER COPYRIGHTS, BELONGING TO THEIR RESPECTIVE OWNERS. --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Studio7 Digital Media</title> <meta name="robots" content="all"> <meta name="keywords" content="Studio7, Web Developers, Website Designers, Logo Designers, Missouri, Digital Media, Corporate Identity"> <meta name="description" content="Studio7 Digital Media offers a wide variety of digital media services from professional website development to corporate identity and logo design; we have you covered."> <meta name="author" content="Studio7 Digital Media"> <link rel="shortcut icon" href="media/images/favicon.ico"> <link rel="icon" href="media/images/animated_favicon.gif" type="image/gif"> <link rel="stylesheet" type="text/css" href="includes/style.css"> <script src="../includes/fx/prototype.js" type="text/javascript"></ script> <script src="../includes/fx/scriptaculous.js" type="text/ javascript"></script> <script type="text/javascript" language="javascript"> <!-- // <![CDATA[ Effect.Appear(''mainTable''); // ]]> // Image Rollover Code // function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i+ +) x.src=x.oSrc; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j+ +].src=a[i];}} } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } //--> </script> </head> <body onLoad="MM_preloadImages(''media/images/ badge_qualityservice.gif'',''media/images/badge_turnaround.gif'',''media/ images/badge_satisfaction.gif'',''media/images/ badge_satisfaction2.gif'',''media/images/badge_satisfaction2.gif'',''media/ images/badge_satisfaction2.gif'',''media/images/ badge_turnaround2.gif'',''media/images/badge_qualityservice2.gif'')"> <table width="771" height="588" border="0" align="center" cellpadding="3" cellspacing="0" id="MainTable"> <tr> <td height="546" align="center" valign="middle" class="maintable"><table width="763" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="192" height="78" align="left" valign="top"><a href="index.php" target="_parent"><img src="media/images/studio7.gif" alt="Studio7" width="192" height="78" border="0"></a></td> <td width="571" height="78" class="blue"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http:// download.macromedia.com/pub/shockwave/cabs/flash/ swflash.cab#version=7,0,19,0" width="571" height="78"> <param name="movie" value="media/flash/banner.swf"> <param name="quality" value="high"><param name="LOOP" value="false"> <embed src="media/flash/banner.swf" width="571" height="78" loop="false" quality="high" pluginspage="http://www.macromedia.com/go/ getflashplayer" type="application/x-shockwave-flash"></embed> </object></td> </tr> <tr> <td width="192" height="10"><img src="media/images/ grad_tl.gif" width="192" height="10" border="0"></td> <td width="571" height="10"><img src="media/images/ grad_tr.gif" width="571" height="10" border="0"></td> </tr> <tr> <td width="192" height="365" align="center" valign="top"><img src="media/images/navspacer.gif" width="100" height="5"> <table width="172" border="0" align="center" cellpadding="0" cellspacing="0" class="navtable" id="NavTable"> <tr> <td height="12" align="left" valign="middle" bgcolor="#EEEEEE" class="navheader">Browse Our Website</td> </tr> <tr> <td height="130" align="left" valign="top"><? //include ("navigate.html") ?></td> </tr> <tr> <td height="12" align="left" valign="middle" bgcolor="#EEEEEE" class="navheader">Hand-Picked Articles</td> </tr> <tr> <td align="left" valign="top"><? //include ("articles.html") ?></td> </tr> </table></td> <td width="571" height="403" align="center" valign="middle"> <div id="textarea" class="scroll"> This is the DIV that I need to "Appear" when the page loads. The tag is removed because I don''t know what to use instead of an onClick... </div> </td> </tr> <tr> <td width="192" height="38"> </td> <td width="571" height="38"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><img src="media/images/badge_spacer1.gif" width="10" height="38" border="0"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(''qos'','''',''media/images/ badge_qualityservice2.gif'',1)"><img src="media/images/ badge_qualityservice.gif" alt="Quality of Service" name="qos" width="93" height="38" border="0"></a><img src="media/images/ badge_spacer2.gif" width="29" height="38" border="0"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(''tat'','''',''media/images/ badge_turnaround2.gif'',1)"><img src="media/images/ badge_turnaround.gif" alt="Quickest Turn-Around Time" name="tat" width="108" height="38" border="0"></a><img src="media/images/ badge_spacer3.gif" width="43" height="38" border="0"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(''sg'','''',''media/images/ badge_satisfaction2.gif'',1)"><img src="media/images/ badge_satisfaction.gif" alt="Satisfaction Guaranteed" name="sg" width="87" height="38" border="0"></a></td> <td align="right" valign="bottom"><img src="media/images/ studio7_f1.gif" alt="Studio7" width="153" height="38" border="0"></td> </tr> </table></td> </tr> <tr> <td width="192" height="9"></td> <td width="571" height="9" align="right" valign="top"><img src="media/images/studio7_f2.gif" width="153" height="9" border="0"></ td> </tr> </table></td> </tr> <tr> <td height="42" class="footer"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="24%" class="footxt"> </td> <td width="49%" align="center" valign="middle" class="footxt">Copyright © Studio7 Digital Media<br> All Rights Reserved</td> <td width="27%" align="right" valign="bottom" class="footxt"><span class="foot"><a href="contact.html" target="_parent"><u>Contact Studio7</u></a></span><br> Jefferson City, Missouri<br>(573) 680-2227</td> </tr> </table></td> </tr> </table> </body> <!-- Start of StatCounter Code --> <script type="text/javascript" language="javascript"> var sc_project=955163; var sc_invisible=1; var sc_partition=7; var sc_security="6ec6629e"; </script> <script type="text/javascript" language="javascript" src="http:// www.statcounter.com/counter/counter.js"></script><noscript><a href="http://www.statcounter.com/" target="_blank"><img src="http:// c8.statcounter.com/counter.php? sc_project=955163&java=0&security=6ec6629e&invisible=1" alt="Studio7" border="0"></a></noscript> <!-- End of StatCounter Code --> </html> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
One other thing: I just put the site online so if you need that, have at it... I really do appreciate your taking the time to help me with this. URL: www.lbwd.net/latest * contains audio loop --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
lb wrote:> One other thing: I just put the site online so if you need that, have > at it... > I really do appreciate your taking the time to help me with this. > > URL: www.lbwd.net/latest > > * contains audio loop > > > > > > >You are getting a 404 here: <script src="../includes/fx/prototype.js" type="text/javascript"></script> <script src="../includes/fx/scriptaculous.js" type="text/javascript"></script> You are pointing to the parent directory, and not the current directory (where its actually located) Ian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Change these lines: <script src="../includes/fx/prototype.js" type="text/javascript"></ script> <script src="../includes/fx/scriptaculous.js" type="text/ javascript"></script> To this: (Note the corrected path, per Ian''s email) <script src="includes/fx/prototype.js" type="text/javascript"></script> <script src="includes/fx/effects.js" type="text/javascript"></script> Change these lines: // <![CDATA[ Effect.Appear(''mainTable''); // ]]> To this: Event.observe(''window'', ''load'', function() { Effect.Appear(''textarea''); // For some odd reason, the id of the div you want to appear is "textarea" // I''d suggest picking a better name }); What''s really frustrating is that it was mentioned twice to make sure your script files were actually loading. As Ian just posted, they''re not. Not fixing a simple bug after two people suggest it doesn''t set a good impression. TAG On Jul 12, 2007, at 6:12 PM, lb wrote:> > Here''s my code: > Thank you for you help. > ==============================> > <!-- > ALL CONTENT COPYRIGHT STUDIO7 DIGITAL MEDIA, LLC. ALL RIGHTS > RESERVED. > VIOLATORS WILL BE PROSECUTED TO THE MAXIMUM EXTENT POSSIBLE IN THE > COURT OF LAW. > WWW.LBWD.NET AND ITS OTHER SITES OR CONTENT MADE AVAILABLE IS > PROTECTED BY INTERNATIONAL LAW. > DIRECT LEGAL QUESTIONS TO STUDIO7''S LEGAL DEPARTMENT. PUBLIC > WEBSITE: WWW.LBWD.NET > > MAY CONTAIN OTHER COPYRIGHTS, BELONGING TO THEIR RESPECTIVE OWNERS. > --> > <html> > <head> > <meta http-equiv="Content-Type" content="text/html; > charset=iso-8859-1"> > <title>Studio7 Digital Media</title> > <meta name="robots" content="all"> > <meta name="keywords" content="Studio7, Web Developers, Website > Designers, Logo Designers, Missouri, Digital Media, Corporate > Identity"> > <meta name="description" content="Studio7 Digital Media offers a wide > variety of digital media services from professional website > development to corporate identity and logo design; we have you > covered."> > <meta name="author" content="Studio7 Digital Media"> > <link rel="shortcut icon" href="media/images/favicon.ico"> > <link rel="icon" href="media/images/animated_favicon.gif" > type="image/gif"> > <link rel="stylesheet" type="text/css" href="includes/style.css"> > <script src="../includes/fx/prototype.js" type="text/javascript"></ > script> > <script src="../includes/fx/scriptaculous.js" type="text/ > javascript"></script> > <script type="text/javascript" language="javascript"> > <!-- > // <![CDATA[ > Effect.Appear(''mainTable''); > // ]]> > > // Image Rollover Code // > function MM_swapImgRestore() { //v3.0 > var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i+ > +) x.src=x.oSrc; > } > > function MM_preloadImages() { //v3.0 > var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); > var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; > i<a.length; i++) > if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j+ > +].src=a[i];}} > } > > function MM_findObj(n, d) { //v4.01 > var p,i,x; if(!d) d=document; > if((p=n.indexOf("?"))>0&&parent.frames.length) { > d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} > if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) > x=d.forms[i][n]; > for(i=0;!x&&d.layers&&i<d.layers.length;i++) > x=MM_findObj(n,d.layers[i].document); > if(!x && d.getElementById) x=d.getElementById(n); return x; > } > > function MM_swapImage() { //v3.0 > var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; > for(i=0;i<(a.length-2);i+=3) > if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) > x.oSrc=x.src; x.src=a[i+2];} > } > //--> > </script> > </head> > > <body onLoad="MM_preloadImages(''media/images/ > badge_qualityservice.gif'',''media/images/badge_turnaround.gif'',''media/ > images/badge_satisfaction.gif'',''media/images/ > badge_satisfaction2.gif'',''media/images/ > badge_satisfaction2.gif'',''media/ > images/badge_satisfaction2.gif'',''media/images/ > badge_turnaround2.gif'',''media/images/badge_qualityservice2.gif'')"> > <table width="771" height="588" border="0" align="center" > cellpadding="3" cellspacing="0" id="MainTable"> > <tr> > <td height="546" align="center" valign="middle" > class="maintable"><table width="763" border="0" align="center" > cellpadding="0" cellspacing="0"> > <tr> > <td width="192" height="78" align="left" valign="top"><a > href="index.php" target="_parent"><img src="media/images/studio7.gif" > alt="Studio7" width="192" height="78" border="0"></a></td> > <td width="571" height="78" class="blue"><object > classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http:// > download.macromedia.com/pub/shockwave/cabs/flash/ > swflash.cab#version=7,0,19,0" width="571" height="78"> > <param name="movie" value="media/flash/banner.swf"> > <param name="quality" value="high"><param name="LOOP" > value="false"> > <embed src="media/flash/banner.swf" width="571" height="78" > loop="false" quality="high" pluginspage="http://www.macromedia.com/go/ > getflashplayer" type="application/x-shockwave-flash"></embed> > </object></td> > </tr> > <tr> > <td width="192" height="10"><img src="media/images/ > grad_tl.gif" width="192" height="10" border="0"></td> > <td width="571" height="10"><img src="media/images/ > grad_tr.gif" width="571" height="10" border="0"></td> > </tr> > <tr> > <td width="192" height="365" align="center" valign="top"><img > src="media/images/navspacer.gif" width="100" height="5"> > <table width="172" border="0" align="center" cellpadding="0" > cellspacing="0" class="navtable" id="NavTable"> > <tr> > <td height="12" align="left" valign="middle" > bgcolor="#EEEEEE" class="navheader">Browse Our Website</td> > </tr> > <tr> > <td height="130" align="left" valign="top"><? //include > ("navigate.html") ?></td> > </tr> > <tr> > <td height="12" align="left" valign="middle" > bgcolor="#EEEEEE" class="navheader">Hand-Picked Articles</td> > </tr> > <tr> > <td align="left" valign="top"><? //include > ("articles.html") ?></td> > </tr> > </table></td> > <td width="571" height="403" align="center" valign="middle"> > <div id="textarea" class="scroll"> > This is the DIV that I need to "Appear" when the page loads. The > tag is removed because I don''t know what to use instead of an > onClick... > </div> > </td> > </tr> > <tr> > <td width="192" height="38"> </td> > <td width="571" height="38"><table width="100%" border="0" > cellspacing="0" cellpadding="0"> > <tr> > <td><img src="media/images/badge_spacer1.gif" width="10" > height="38" border="0"><a href="#" onMouseOut="MM_swapImgRestore()" > onMouseOver="MM_swapImage(''qos'','''',''media/images/ > badge_qualityservice2.gif'',1)"><img src="media/images/ > badge_qualityservice.gif" alt="Quality of Service" name="qos" > width="93" height="38" border="0"></a><img src="media/images/ > badge_spacer2.gif" width="29" height="38" border="0"><a href="#" > onMouseOut="MM_swapImgRestore()" > onMouseOver="MM_swapImage(''tat'','''',''media/images/ > badge_turnaround2.gif'',1)"><img src="media/images/ > badge_turnaround.gif" alt="Quickest Turn-Around Time" name="tat" > width="108" height="38" border="0"></a><img src="media/images/ > badge_spacer3.gif" width="43" height="38" border="0"><a href="#" > onMouseOut="MM_swapImgRestore()" > onMouseOver="MM_swapImage(''sg'','''',''media/images/ > badge_satisfaction2.gif'',1)"><img src="media/images/ > badge_satisfaction.gif" alt="Satisfaction Guaranteed" name="sg" > width="87" height="38" border="0"></a></td> > <td align="right" valign="bottom"><img src="media/images/ > studio7_f1.gif" alt="Studio7" width="153" height="38" border="0"></td> > </tr> > </table></td> > </tr> > <tr> > <td width="192" height="9"></td> > <td width="571" height="9" align="right" valign="top"><img > src="media/images/studio7_f2.gif" width="153" height="9" border="0"></ > td> > </tr> > </table></td> > </tr> > <tr> > <td height="42" class="footer"><table width="100%" border="0" > cellspacing="0" cellpadding="0"> > <tr> > <td width="24%" class="footxt"> </td> > <td width="49%" align="center" valign="middle" > class="footxt">Copyright © Studio7 Digital Media<br> > All Rights Reserved</td> > <td width="27%" align="right" valign="bottom" > class="footxt"><span class="foot"><a href="contact.html" > target="_parent"><u>Contact Studio7</u></a></span><br> > Jefferson City, Missouri<br>(573) 680-2227</td> > </tr> > </table></td> > </tr> > </table> > </body> > <!-- Start of StatCounter Code --> > <script type="text/javascript" language="javascript"> > var sc_project=955163; > var sc_invisible=1; > var sc_partition=7; > var sc_security="6ec6629e"; > </script> > > <script type="text/javascript" language="javascript" src="http:// > www.statcounter.com/counter/counter.js"></script><noscript><a > href="http://www.statcounter.com/" target="_blank"><img src="http:// > c8.statcounter.com/counter.php? > sc_project=955163&java=0&security=6ec6629e&invisible=1" > alt="Studio7" border="0"></a></noscript> > <!-- End of StatCounter Code --> > </html> > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks -- I''ll try it out. The reason I didn''t try fixing a bug is because I don''t know how. I Can get the program you mentioned to try it out. I am a designer. Thank you. :-) On Jul 12, 8:32 pm, Tom Gregory <t...-PGZyUNKar/Q@public.gmane.org> wrote:> Change these lines: > <script src="../includes/fx/prototype.js" type="text/javascript"></ > script> > <script src="../includes/fx/scriptaculous.js" type="text/ > javascript"></script> > > To this: (Note the corrected path, per Ian''s email) > <script src="includes/fx/prototype.js" type="text/javascript"></script> > <script src="includes/fx/effects.js" type="text/javascript"></script> > > Change these lines: > // <![CDATA[ > Effect.Appear(''mainTable''); > // ]]> > > To this: > Event.observe(''window'', ''load'', function() { > Effect.Appear(''textarea''); > // For some odd reason, the id of the div you want to appear is > "textarea" > // I''d suggest picking a better name > > }); > > What''s really frustrating is that it was mentioned twice to make sure > your script files were actually loading. As Ian just posted, they''re > not. Not fixing a simple bug after two people suggest it doesn''t set > a good impression. > > TAG > > On Jul 12, 2007, at 6:12 PM, lb wrote: > > > > > Here''s my code: > > Thank you for you help. > > ==============================> > > <!-- > > ALL CONTENT COPYRIGHT STUDIO7 DIGITAL MEDIA, LLC. ALL RIGHTS > > RESERVED. > > VIOLATORS WILL BE PROSECUTED TO THE MAXIMUM EXTENT POSSIBLE IN THE > > COURT OF LAW. > > WWW.LBWD.NET AND ITS OTHER SITES OR CONTENT MADE AVAILABLE IS > > PROTECTED BY INTERNATIONAL LAW. > > DIRECT LEGAL QUESTIONS TO STUDIO7''S LEGAL DEPARTMENT. PUBLIC > > WEBSITE: WWW.LBWD.NET > > > MAY CONTAIN OTHER COPYRIGHTS, BELONGING TO THEIR RESPECTIVE OWNERS. > > --> > > <html> > > <head> > > <meta http-equiv="Content-Type" content="text/html; > > charset=iso-8859-1"> > > <title>Studio7 Digital Media</title> > > <meta name="robots" content="all"> > > <meta name="keywords" content="Studio7, Web Developers, Website > > Designers, Logo Designers, Missouri, Digital Media, Corporate > > Identity"> > > <meta name="description" content="Studio7 Digital Media offers a wide > > variety of digital media services from professional website > > development to corporate identity and logo design; we have you > > covered."> > > <meta name="author" content="Studio7 Digital Media"> > > <link rel="shortcut icon" href="media/images/favicon.ico"> > > <link rel="icon" href="media/images/animated_favicon.gif" > > type="image/gif"> > > <link rel="stylesheet" type="text/css" href="includes/style.css"> > > <script src="../includes/fx/prototype.js" type="text/javascript"></ > > script> > > <script src="../includes/fx/scriptaculous.js" type="text/ > > javascript"></script> > > <script type="text/javascript" language="javascript"> > > <!-- > > // <![CDATA[ > > Effect.Appear(''mainTable''); > > // ]]> > > > // Image Rollover Code // > > function MM_swapImgRestore() { //v3.0 > > var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i+ > > +) x.src=x.oSrc; > > } > > > function MM_preloadImages() { //v3.0 > > var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); > > var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; > > i<a.length; i++) > > if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j+ > > +].src=a[i];}} > > } > > > function MM_findObj(n, d) { //v4.01 > > var p,i,x; if(!d) d=document; > > if((p=n.indexOf("?"))>0&&parent.frames.length) { > > d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} > > if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) > > x=d.forms[i][n]; > > for(i=0;!x&&d.layers&&i<d.layers.length;i++) > > x=MM_findObj(n,d.layers[i].document); > > if(!x && d.getElementById) x=d.getElementById(n); return x; > > } > > > function MM_swapImage() { //v3.0 > > var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; > > for(i=0;i<(a.length-2);i+=3) > > if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) > > x.oSrc=x.src; x.src=a[i+2];} > > } > > //--> > > </script> > > </head> > > > <body onLoad="MM_preloadImages(''media/images/ > > badge_qualityservice.gif'',''media/images/badge_turnaround.gif'',''media/ > > images/badge_satisfaction.gif'',''media/images/ > > badge_satisfaction2.gif'',''media/images/ > > badge_satisfaction2.gif'',''media/ > > images/badge_satisfaction2.gif'',''media/images/ > > badge_turnaround2.gif'',''media/images/badge_qualityservice2.gif'')"> > > <table width="771" height="588" border="0" align="center" > > cellpadding="3" cellspacing="0" id="MainTable"> > > <tr> > > <td height="546" align="center" valign="middle" > > class="maintable"><table width="763" border="0" align="center" > > cellpadding="0" cellspacing="0"> > > <tr> > > <td width="192" height="78" align="left" valign="top"><a > > href="index.php" target="_parent"><img src="media/images/studio7.gif" > > alt="Studio7" width="192" height="78" border="0"></a></td> > > <td width="571" height="78" class="blue"><object > > classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http:// > > download.macromedia.com/pub/shockwave/cabs/flash/ > > swflash.cab#version=7,0,19,0" width="571" height="78"> > > <param name="movie" value="media/flash/banner.swf"> > > <param name="quality" value="high"><param name="LOOP" > > value="false"> > > <embed src="media/flash/banner.swf" width="571" height="78" > > loop="false" quality="high" pluginspage="http://www.macromedia.com/go/ > > getflashplayer" type="application/x-shockwave-flash"></embed> > > </object></td> > > </tr> > > <tr> > > <td width="192" height="10"><img src="media/images/ > > grad_tl.gif" width="192" height="10" border="0"></td> > > <td width="571" height="10"><img src="media/images/ > > grad_tr.gif" width="571" height="10" border="0"></td> > > </tr> > > <tr> > > <td width="192" height="365" align="center" valign="top"><img > > src="media/images/navspacer.gif" width="100" height="5"> > > <table width="172" border="0" align="center" cellpadding="0" > > cellspacing="0" class="navtable" id="NavTable"> > > <tr> > > <td height="12" align="left" valign="middle" > > bgcolor="#EEEEEE" class="navheader">Browse Our Website</td> > > </tr> > > <tr> > > <td height="130" align="left" valign="top"><? //include > > ("navigate.html") ?></td> > > </tr> > > <tr> > > <td height="12" align="left" valign="middle" > > bgcolor="#EEEEEE" class="navheader">Hand-Picked Articles</td> > > </tr> > > <tr> > > <td align="left" valign="top"><? //include > > ("articles.html") ?></td> > > </tr> > > </table></td> > > <td width="571" height="403" align="center" valign="middle"> > > <div id="textarea" class="scroll"> > > This is the DIV that I need to "Appear" when the page loads. The > > tag is removed because I don''t know what to use instead of an > > onClick... > > </div> > > </td> > > </tr> > > <tr> > > <td width="192" height="38"> </td> > > <td width="571" height="38"><table width="100%" border="0" > > cellspacing="0" cellpadding="0"> > > <tr> > > <td><img src="media/images/badge_spacer1.gif" width="10" > > height="38" border="0"><a href="#" onMouseOut="MM_swapImgRestore()" > > onMouseOver="MM_swapImage(''qos'','''',''media/images/ > > badge_qualityservice2.gif'',1)"><img src="media/images/ > > badge_qualityservice.gif" alt="Quality of Service" name="qos" > > width="93" height="38" border="0"></a><img src="media/images/ > > badge_spacer2.gif" width="29" height="38" border="0"><a href="#" > > onMouseOut="MM_swapImgRestore()" > > onMouseOver="MM_swapImage(''tat'','''',''media/images/ > > badge_turnaround2.gif'',1)"><img src="media/images/ > > badge_turnaround.gif" alt="Quickest Turn-Around Time" name="tat" > > width="108" height="38" border="0"></a><img src="media/images/ > > badge_spacer3.gif" width="43" height="38" border="0"><a href="#" > > onMouseOut="MM_swapImgRestore()" > > onMouseOver="MM_swapImage(''sg'','''',''media/images/ > > badge_satisfaction2.gif'',1)"><img src="media/images/ > > badge_satisfaction.gif" alt="Satisfaction Guaranteed" name="sg" > > width="87" height="38" border="0"></a></td> > > <td align="right" valign="bottom"><img src="media/images/ > > studio7_f1.gif" alt="Studio7" width="153" height="38" border="0"></td> > > </tr> > > </table></td> > > </tr> > > <tr> > > <td width="192" height="9"></td> > > <td width="571" height="9" align="right" valign="top"><img > > src="media/images/studio7_f2.gif" width="153" height="9" border="0"></ > > td> > > </tr> > > </table></td> > > </tr> > > <tr> > > <td height="42" class="footer"><table width="100%" border="0" > > cellspacing="0" cellpadding="0"> > > <tr> > > <td width="24%" class="footxt"> </td> > > <td width="49%" align="center" valign="middle" > > class="footxt">Copyright © Studio7 Digital Media<br> > > All Rights Reserved</td> > > <td width="27%" align="right" valign="bottom" > > class="footxt"><span class="foot"><a href="contact.html" > > target="_parent"><u>Contact Studio7</u></a></span><br> > > Jefferson City, Missouri<br>(573) 680-2227</td> > > </tr> > > </table></td> > > </tr> > > </table> > > </body> > > <!-- Start of StatCounter Code --> > > <script type="text/javascript" language="javascript"> > > var sc_project=955163; > > var sc_invisible=1; > > var sc_partition=7; > > var sc_security="6ec6629e"; > > </script> > > > <script type="text/javascript" language="javascript" src="http:// > >www.statcounter.com/counter/counter.js"></script><noscript><a > > href="http://www.statcounter.com/" target="_blank"><img src="http:// > > c8.statcounter.com/counter.php? > > sc_project=955163&java=0&security=6ec6629e&invisible=1" > > alt="Studio7" border="0"></a></noscript> > > <!-- End of StatCounter Code --> > > </html>--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---