Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
SteveStringer #1
Help Creating an Extension, pls.
Hi,
I'm trying to create a new toolbar-triggered function from within Dreamweaver,
but I'm a little lost. I'm hoping someone experienced with the DW API could
point me in the right direction.
Basically, I want to be able to collapse all of the functions on a page with
the click of a button.
Specifically, when I click the button, I want to traverse the code page, find
any instances of the word "function", skip ahead to the first opening bracket
("{", and then execute the balanceBracesTextView() and
collapseSelectedCodeFragment() functions. Then I want to repeat until the end
of the document and/or no more functions are found.
I've figured out the balanceBracesTextView() and
collapseSelectedCodeFragment() functions and have those successfully tied to a
custom code view toolbar button. However, I'm lost when it comes to taking it
to the next level.
I'd be very grateful if someone could provide some guidance on how I can 1)
traverse the document to find each instance of the word "function", and 2)
subsequently advance the cursor to the first bracket after each hit. No need
to go into the mechanics of how to create an extension; I just need help with
the JavaScript that makes this work.
Many thanks,
Steve
SteveStringer Guest
-
extension for creating professional charts based on mysql data?
Hi all, is there an extension for dreamweaver 8 to make professional Charts (line)? I'm using Dymanic Flash Chart but it lach an important... -
Extension for creating a zip file and unzipping it
Iam totally new to Dreamweaver and the extensions. So please help me with this. Assuming i have a .zip file and it contains some html pages along... -
Creating a folder with DW Extension
Has anyone figured out how to have DW JavaScript create a folder and rename it? This makes the folder: if (site.makeNewFolder()){ ... -
Is .dcr extension = Director file extension ?
I'm a newbie and saw some files on a website ending in .dcr... 1 - Is the .dcr file type a Macromedia Director file? 2 - Does it take the... -
Two problems creating a C++ extension to Ruby
Hello, I'm having some trouble with my first C++ extension for Ruby. The extension is a wrapper for the id3lib library providing my own interface... -
AphaGround #2
Re: Help Creating an Extension, pls.
Did you get any answer about that?
[url]http://aphaground.com[/url]
AphaGround Guest



Reply With Quote

