326
Document
Arguments
inStr
■
The
inStr
argument is the string to decode.
Returns
A string that contains the decoded URL.
Example
The following example calls
dw.doURLDecoding()
to decode the special characters in its
argument and store the resulting string in
outstr
:
outStr = dreamweaver.doURLDecoding(“http://maps.yahoo.com/py/
ddResults.py?Pyt=Tmap&tarname=&tardesc=&newname=&newdesc=&newHash=&newTH
ash=&newSts=&newTSts=&tlt=&tln=&slt=&sln=&newFL=Use+Below&newadd
r=2000+SRd&newcsz=Park%2C+CA&newcountry=us&newTFL=Use+Add
ress+Below&newtaddr=500+El+Camino&newtcsz=Santa+Clara%2C+CA&newtcountry=
us&Submit=Get+Directions”)
dreamweaver.getElementRef()
Availability
Dreamweaver 2.
Description
Gets the Netscape Navigator or Internet Explorer object reference for a specific tag object in
the DOM tree.
Arguments
NSorIE
,
tagObject
■
The
NSorIE
argument must be either
"NS 4.0"
or
"IE 4.0"
. The DOM and rules for
nested references differ in Netscape Navigator 4.0 and Internet Explorer 4.0. This
argument specifies for which browser to return a valid reference.
■
The
tagObject
argument is a tag object in the DOM tree.
Returns
A string that represents a valid JavaScript reference to the object, such as
document.layers['myLayer']
. The string is subject to the following conditions:
■
Dreamweaver returns correct references for Internet Explorer for
A
,
AREA
,
APPLET
,
EMBED
,
DIV
,
SPAN
,
INPUT
,
SELECT
,
OPTION
,
TEXTAREA
,
OBJECT
, and
IMG
tags.
000_DW_API_Print.book Page 326 Wednesday, July 20, 2005 11:58 AM
Summary of Contents for DREAMWEAVER 8-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 16: ......
Page 28: ...28 The File I O API...
Page 38: ...38 The HTTP API...
Page 68: ...68 Flash Integration...
Page 100: ...100 The Database API...
Page 116: ...116 The JavaBeans API...
Page 144: ...144 The Source Control Integration API...
Page 146: ......
Page 254: ...254 Workspace...
Page 298: ...298 Site...
Page 354: ...354 Document...
Page 396: ...396 Page Content...
Page 488: ...488 Design...
Page 550: ...550 Code...