Ask a Question related to Macromedia Fireworks, Design and Development.
-
Joyce J. Evans webforumsuser@macromedia.com #1
Re: Javascript?
I'm not sure what kind of JavaScript you are referring to or exactly what it is you are trying to do. I have a tutorial for curved navigation with a link to a DW tutorial as well. You can see if this helps. If not please be more specific about what it is you are trying to accomplish.
[url]http://www.joycejevans.com/tutorials/Fireworks/FWMX/curvednav/curvednav.htm[/url]
Joyce J. Evans
[url]http://www.JoyceJEvans.com[/url]
Author of:
Macromedia Studio MX Bible
Dreamweaver MX Complete Course
Fireworks MX: Zero to Hero
Web Design Complete Course (August)
Team Macromedia Volunteer
Joyce J. Evans webforumsuser@macromedia.com 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 -
Econ Dev webforumsuser@macromedia.com #2
Re: Javascript?
I guess what I really meant, in a nutshell, is that is there any way to import javascript into Fireworks? I have already created a curved nav bar and want to place a "weather update" javascript on the left hand side...to make it show up on top of the left hand side of the nav bar.
Econ Dev webforumsuser@macromedia.com Guest
-
Joyce J. Evans webforumsuser@macromedia.com #3
Re: Javascript?
Then no, that's a job best done in Dreamweaver. Other than using an editor (such as Dreamweaver) you'd need to hand code it into the exported HTML file. Fireworks is an image editor. Yes it does export as HTML and includes a few built in behaviors but that's it.
Joyce J. Evans
[url]http://www.JoyceJEvans.com[/url]
Author of:
Macromedia Studio MX Bible
Dreamweaver MX Complete Course
Fireworks MX: Zero to Hero
Web Design Complete Course (August)
Team Macromedia Volunteer
Joyce J. Evans webforumsuser@macromedia.com Guest
-
Randy Jackson #4
JavaScript?
I have a question, and I hope this one hasn't been asked too frequently; if
so, I apologize in advance.
I've heard over time that it isn't a good idea to intermingle JavaScript
with PHP code. Maybe that's a fallacy, and maybe not, but if so, would
someone care to enlighten me as to why this might be the case?
Thanks in advance for any responses.
--
Randy Jackson
[url]http://fourcolorexplosion.com[/url]
Randy Jackson Guest
-
Andy Hassall #5
Re: JavaScript?
On Sat, 10 Jul 2004 16:32:43 GMT, Randy Jackson
<randyjackson@ignorethispartfourcolorexplosion.com > wrote:
Well, you can't intermingle the two, since they won't run on the same machine>I have a question, and I hope this one hasn't been asked too frequently; if
>so, I apologize in advance.
>
>I've heard over time that it isn't a good idea to intermingle JavaScript
>with PHP code. Maybe that's a fallacy, and maybe not, but if so, would
>someone care to enlighten me as to why this might be the case?
anyway.
What you can do is output Javascript source code from PHP for execution by the
browser.
What you shouldn't do is _rely_ on that Javascript to do anything, such as
validation or filling in fields, since you don't have any control over the
remote environment.
--
Andy Hassall <andy@andyh.co.uk> / Space: disk usage analysis tool
[url]http://www.andyh.co.uk[/url] / [url]http://www.andyhsoftware.co.uk/space[/url]
Andy Hassall Guest
-
Chung Leong #6
Re: JavaScript?
"Randy Jackson" <randyjackson@ignorethispartfourcolorexplosion.com > wrote in
message news:Xns952275F6E703Frandyjacksonfourcolo@206.141. 193.32...if> I have a question, and I hope this one hasn't been asked too frequently;It just gets really confusing, that's all. Slashes can get totally out of> so, I apologize in advance.
>
> I've heard over time that it isn't a good idea to intermingle JavaScript
> with PHP code. Maybe that's a fallacy, and maybe not, but if so, would
> someone care to enlighten me as to why this might be the case?
>
> Thanks in advance for any responses.
>
> --
> Randy Jackson
> [url]http://fourcolorexplosion.com[/url]
control when you have Javascript code sitting inside a PHP string. Here's an
extreme case:
echo "var re = new RegExp('\\\\\\\\', 'g');";
All the thing does is look for one backslash.
Chung Leong Guest
-
eclipsboi #7
Re: JavaScript?
A viable solution in a case like this is to use single-quotes instead
of double-quotes:
echo 'var re = new RegExp('\\', 'g');';
Single-quotes do not parse things like variables or special characters
(i.e. \n, \r, \\, etc).
On Sun, 11 Jul 2004 01:57:22 -0400, "Chung Leong"
<chernyshevsky@hotmail.com> wrote:>
>It just gets really confusing, that's all. Slashes can get totally out of
>control when you have Javascript code sitting inside a PHP string. Here's an
>extreme case:
>
>echo "var re = new RegExp('\\\\\\\\', 'g');";
>
>All the thing does is look for one backslash.
>eclipsboi Guest
-
Sebastian Lauwers #8
Re: JavaScript?
eclipsboi wrote:
wouldn't this be more correct?:> A viable solution in a case like this is to use single-quotes instead
> of double-quotes:
>
> echo 'var re = new RegExp('\\', 'g');';
<?php
$bleh = 'var re = new RegExp(\'\\', \'g\');';
echo $bleh
?>
HTH,
Best regards,
Sebastian
>
> Single-quotes do not parse things like variables or special characters
> (i.e. \n, \r, \\, etc).
>
> On Sun, 11 Jul 2004 01:57:22 -0400, "Chung Leong"
> <chernyshevsky@hotmail.com> wrote:
>>>>It just gets really confusing, that's all. Slashes can get totally out of
>>control when you have Javascript code sitting inside a PHP string. Here's an
>>extreme case:
>>
>>echo "var re = new RegExp('\\\\\\\\', 'g');";
>>
>>All the thing does is look for one backslash.
>>
>
--
The most likely way for the world to be destroyed,
most experts agree, is by accident.
That's where we come in; we're computer professionals.
We cause accidents.
--Nathaniel Borenstein
Sebastian Lauwers Guest
-
eclipsboi #9
Re: JavaScript?
My apologies, I actually meant to use double-quotes inside of the
single quotes. My shift key doesn't always work, and I don't always
notice. :-)
On Sun, 11 Jul 2004 14:44:16 +0200, Sebastian Lauwers
<dacrashanddie@9online.fr> wrote:
>eclipsboi wrote:>>> A viable solution in a case like this is to use single-quotes instead
>> of double-quotes:
>>
>> echo 'var re = new RegExp('\\', 'g');';
>wouldn't this be more correct?:
>
><?php
>$bleh = 'var re = new RegExp(\'\\', \'g\');';
>echo $bleh
>?>
>
>HTH,
>Best regards,
>Sebastian
>eclipsboi Guest



Reply With Quote

