From: jippopatl on
Is it possible to have one page use both a Dreamweaver behavior and an external
javascript? I can get each to work separately but not when I combine them both
in the script tag within the head. The behavior is: open browser window
(attached to an <a> tag). The external javascript file is for a form at the
bottom of the page.

From: Walt F. Schaefer on
I would put each script in its own external .js file and then call them
separately in the head.

--

Walt


"jippopatl" <webforumsuser(a)macromedia.com> wrote in message
news:fvnhjf$259$1(a)forums.macromedia.com...
> Is it possible to have one page use both a Dreamweaver behavior and an
> external
> javascript? I can get each to work separately but not when I combine them
> both
> in the script tag within the head. The behavior is: open browser window
> (attached to an <a> tag). The external javascript file is for a form at
> the
> bottom of the page.
>


From: Murray *ACE* on
Why?

There's no reason why DW behavior js and third-party js cannot co-exist in a
single script file (other than the known issue that legacy versions of DW
have had with externalizing behavior js - when you edit the behavior, DW
writes that js back into the page in addition to having it in the external
js).

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"Walt F. Schaefer" <walt(a)waltswebworx.com> wrote in message
news:fvni1f$2ke$1(a)forums.macromedia.com...
>I would put each script in its own external .js file and then call them
>separately in the head.
>
> --
>
> Walt
>
>
> "jippopatl" <webforumsuser(a)macromedia.com> wrote in message
> news:fvnhjf$259$1(a)forums.macromedia.com...
>> Is it possible to have one page use both a Dreamweaver behavior and an
>> external
>> javascript? I can get each to work separately but not when I combine them
>> both
>> in the script tag within the head. The behavior is: open browser window
>> (attached to an <a> tag). The external javascript file is for a form at
>> the
>> bottom of the page.
>>
>
>

From: Walt F. Schaefer on
> Why?
Because I don't understand JS well enough to be confident I am combining the
2 scripts correctly. I'd rather be safe than sorry. If I knew what I was
doing I would probably combine them, but I don't.
--

Walt


"Murray *ACE*" <forums(a)HAHAgreat-web-sights.com> wrote in message
news:fvni6d$2nl$1(a)forums.macromedia.com...
> Why?
>
> There's no reason why DW behavior js and third-party js cannot co-exist in
> a single script file (other than the known issue that legacy versions of
> DW have had with externalizing behavior js - when you edit the behavior,
> DW writes that js back into the page in addition to having it in the
> external js).
>
> --
> Murray --- ICQ 71997575
> Adobe Community Expert
> (If you *MUST* email me, don't LAUGH when you do so!)
> ==================
> http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
> http://www.dwfaq.com - DW FAQs, Tutorials & Resources
> ==================
>
>
> "Walt F. Schaefer" <walt(a)waltswebworx.com> wrote in message
> news:fvni1f$2ke$1(a)forums.macromedia.com...
>>I would put each script in its own external .js file and then call them
>>separately in the head.
>>
>> --
>>
>> Walt
>>
>>
>> "jippopatl" <webforumsuser(a)macromedia.com> wrote in message
>> news:fvnhjf$259$1(a)forums.macromedia.com...
>>> Is it possible to have one page use both a Dreamweaver behavior and an
>>> external
>>> javascript? I can get each to work separately but not when I combine
>>> them both
>>> in the script tag within the head. The behavior is: open browser window
>>> (attached to an <a> tag). The external javascript file is for a form at
>>> the
>>> bottom of the page.
>>>
>>
>>
>


From: Murray *ACE* on
ROFL! Oops. Didn't mean to uncover a personal insecurity! 8)

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"Walt F. Schaefer" <walt(a)waltswebworx.com> wrote in message
news:fvnlag$5so$1(a)forums.macromedia.com...
>> Why?
> Because I don't understand JS well enough to be confident I am combining
> the 2 scripts correctly. I'd rather be safe than sorry. If I knew what I
> was doing I would probably combine them, but I don't.
> --
>
> Walt
>
>
> "Murray *ACE*" <forums(a)HAHAgreat-web-sights.com> wrote in message
> news:fvni6d$2nl$1(a)forums.macromedia.com...
>> Why?
>>
>> There's no reason why DW behavior js and third-party js cannot co-exist
>> in a single script file (other than the known issue that legacy versions
>> of DW have had with externalizing behavior js - when you edit the
>> behavior, DW writes that js back into the page in addition to having it
>> in the external js).
>>
>> --
>> Murray --- ICQ 71997575
>> Adobe Community Expert
>> (If you *MUST* email me, don't LAUGH when you do so!)
>> ==================
>> http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
>> http://www.dwfaq.com - DW FAQs, Tutorials & Resources
>> ==================
>>
>>
>> "Walt F. Schaefer" <walt(a)waltswebworx.com> wrote in message
>> news:fvni1f$2ke$1(a)forums.macromedia.com...
>>>I would put each script in its own external .js file and then call them
>>>separately in the head.
>>>
>>> --
>>>
>>> Walt
>>>
>>>
>>> "jippopatl" <webforumsuser(a)macromedia.com> wrote in message
>>> news:fvnhjf$259$1(a)forums.macromedia.com...
>>>> Is it possible to have one page use both a Dreamweaver behavior and an
>>>> external
>>>> javascript? I can get each to work separately but not when I combine
>>>> them both
>>>> in the script tag within the head. The behavior is: open browser window
>>>> (attached to an <a> tag). The external javascript file is for a form at
>>>> the
>>>> bottom of the page.
>>>>
>>>
>>>
>>
>
>

 |  Next  |  Last
Pages: 1 2 3
Prev: MPEG icon?
Next: CSS Nav Drop Downs