| T O P I C    R E V I E W | 
              
                | rmmarsh | Posted - 29 Nov 2007 : 18:39:45 OK... I'm new at D.H.E., learning as I go.  I saw the post on Scriptaculoous, downloaded it, and now I'm stuck!  Where do I place the javascript to accomplish the neat tricks?  In an HTML object?
 
 Can someone post an example (or cookbook sample would be better)?
 
 R
 | 
              
                | 4   L A T E S T    R E P L I E S    (Newest First) | 
              
                | rmmarsh | Posted - 02 Dec 2007 : 17:00:59 Northwind:  thank you so much... that was exactly what I was looking for...
 
 R
 | 
              
                | Northwind | Posted - 02 Dec 2007 : 11:21:28 
 quote:Originally posted by rmmarsh
 
 Sorry, but that doesn't help me at all... I have placed the code under #4 just about everywhere I could, and nothing happens.
 
 My question is:  exactly where do I place the actual scripts?
 
 
 
 1? create a folder on your site called: .../javascripts
 2? upload to your site the 7 necessary files in the above created folder (prototype.js, scriptaculous.js, builder.js, effects.js, dragdrop.js, controls.js and slider.js
 3? in D.H.E. paste into the head of your HTML page the following code:<script src="/javascripts/prototype.js" type="text/javascript"></script>
 <script src="yoursitename/javascripts/scriptaculous.js" type="text/javascript"></script>
 4? choose the object on wich you want to apply the effect
 5? go to the propertys of the object and click on "events"
 6? choose the Event (for example: onClick)
 7? choose the Action "JavaCall"
 8? in the line java call write the effect you desire to obtain (for example: new Effect.SwitchOff(this)
 
 Done
 
 
 
 | 
              
                | rmmarsh | Posted - 01 Dec 2007 : 23:17:47 Sorry, but that doesn't help me at all... I have placed the code under #4 just about everywhere I could, and nothing happens.
 
 My question is:  exactly where do I place the actual scripts?
 | 
              
                | jtarin | Posted - 01 Dec 2007 : 21:52:46 http://wiki.script.aculo.us/scriptaculous/show/Usage
 |