Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
ineedahelp #1
Constructor changes not taking effect
Hi, I am new to programming in html and would like to know how to add code
properly to alter my accordion widget. I would like to have my accordion start
in a closed state. I found the appropriate code and added but it actually
forced my accordion have all panels open! The accordion widget is originally
coded with a simple "var" statement. do I just ADD this statement or do I have
to remove the old one...also, if I want to add other "var" statements to
further enhance my accordion widget how would I do this?...eeekkk...help!
THANK YOU!
...
<script type="text/javascript">
var acc1 = new Spry.Widget.Accordion("Acc1", { useFixedPanelHeights: false,
defaultPanel: -1 });
</script>
ineedahelp Guest
-
Boolean constructor...
Hello, When I instanciate a boolean with a string for an argument, and the display the variable for example var b:Boolean = new Boolean("ASDF");... -
Calling SUPER::constructor in the constructor
Is it possible to call the constructor that a function inherits from its parent? I tried calling SUPER:: and SUPER-> in a constructor and got... -
What is the best way to set options in a constructor
I have a package which I wanted to make an object, so I had something like the following: sub new { my $proto = shift; my $class = ref($proto)... -
Default constructor
Hello! class Klass attr_accessor :att1, :att2 def initialize(att1, att2) @att1 = att1 @att2 = att2 end .... end -
Difference in module_eval taking block vs. taking string (1.8 bug?)
The following code: class Klass end p Klass.instance_methods(false) Klass.module_eval do def hello puts 'hello' end end



Reply With Quote

