Ask a Question related to Macromedia Contribute General Discussion, Design and Development.
-
ntranced #1
Joinging all my javascript together
I have 2 quite long javascript scripts in a dreamweaver template I built for a
client. It works fine in DW but when the client edits with Contribute the
javascript becomes all joined in to one - e.g. -
var copyspeed=slidespeed
leftrightslide='<nobr>'+leftrightslide.join(imageg ap)+'</nobr>'
becomes
var
copyspeed=slidespeedleftrightslide='<nobr>'+leftri ghtslide.join(imagegap)+'</nob
r>'
And of course this stops the js from working.
Can anyone help?
ntranced Guest
-
Include javascript in a javascript file
Hello, Is there a way to include a javascript file from WITHIN a javascript file? Something similar as in the "#include" directive in C++? ... -
cfm to htm & javascript
We just upgraded from 5 to MX 7. We have a page that we flatten from cfm to htm. There are popup window links on the page in the form of... -
output text in control location; calling control javascript from page javascript
Hi; If you don't know, I'm just learning javascript and aspnet, but I have a pretty good grounding in windows programming. I'm trying to build a... -
JavaScript - How do you add an action to the JavaScript action menu
Greetings, I'd like to add custom script(s) to the drop down list of actions in Acrobat. We are creating an app where many authors will be... -
need javascript staff (anyone who knows javascript peroid) (READ)
hey its me ultimategamerx and im back in some clothes lol i need some people who know java script i need help please reply if ya know some -
LDudd #2
Re: Joining all my javascript together
Have you tried puting the JavaSript in a separate .js file and calling it to
the page?
Can you explain where your JavaScript Code is? is it within an editable region
of the tempate or greyed out and therefore locked when viewed in DW?
LDudd Guest
-
ntranced #3
Re: Joining all my javascript together
The scripts are not within editable regions, there is only one small editable
region on the page at all. I haven't investigated calling the scripts as .js
files as it's probably outwith my technical ability and I'm not sure I could.
One of the scripts is a drop down menu which already calls its own .js file and
the other is a scrolling marquee.
ntranced Guest



Reply With Quote

