Contact Us Forum Rules Search Archive
WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-24-2004, 09:14 AM
OtitO's Avatar
WebProWorld Member
 

Join Date: Jun 2004
Posts: 50
OtitO RepRank 0
Default How to create a dreamweaver extension

Hello. I am using dreamweaver MX and have a Javascript code I use frequently for specifying the siza of popup windows(building a glossary to be used sitewide). How can I make this script available inside dreamweaver like other components. For example:
Under insert menu>>insert popup.
The code is composed of a function put in the head section of the page and another snippet that calls this function to popup the window.
The function:
function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
toolbar_str = toolbar ? 'yes' : 'no';
menubar_str = menubar ? 'yes' : 'no';
statusbar_str = statusbar ? 'yes' : 'no';
scrollbar_str = scrollbar ? 'yes' : 'no';
resizable_str = resizable ? 'yes' : 'no';
window.open(url, name, 'left='+left+',top='+top+',width='+width+',height= '+height+',toolbar='+toolbar_str+',menubar='+menub ar_str+',status='+statusbar_str+',scrollbars='+scr ollbar_str+',resizable='+resizable_str);
}


and the calling method is:

anchortext

Thanks

By the way I do not know why this post is so wide.sorry
__________________
I am not a professional SEO and not intending to be so. Learning.
Reply With Quote
  #2 (permalink)  
Old 08-24-2004, 09:26 AM
OtitO's Avatar
WebProWorld Member
 

Join Date: Jun 2004
Posts: 50
OtitO RepRank 0
Default

Ok I found a nice extension
http://www.flevooware.nl/dreamweaver...ls.asp?extID=8

Thanks
__________________
I am not a professional SEO and not intending to be so. Learning.
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Tags: , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0