ANN: Using Spry 1.6 with Essential Guide to Dreamweaver CS3
It has been brought to my attention that most of the example
files in
Chapters 19 and 20 of "The Essential Guide to Dreamweaver CS3
with CSS,
Ajax, and PHP" don't work as expected after upgrading to Spry
1.6. This
is because Spry 1.6 handles HTML in CDATA sections
differently. The
solution is to add entityEncodeStrings:false to the options
passed to
the Spry XML Dataset. For details, see the book's updates
page at the
following address:
http://foundationphp.com/egdwcs3/updates.php#spryhtml
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
datasetname.setColumnType('row','html'); is also a solution.
u can read more about it in the API.
Similar Messages
-
ANN: Using Spry 1.6 with Essential Guide to DW CS3
It has been brought to my attention that most of the example
files in
Chapters 19 and 20 of "The Essential Guide to Dreamweaver CS3
with CSS,
Ajax, and PHP" don't work as expected after upgrading to Spry
1.6. This
is because Spry 1.6 handles HTML in CDATA sections
differently. The
solution is to add entityEncodeStrings:false to the options
passed to
the Spry XML Dataset. For details, see the book's updates
page at the
following address:
http://foundationphp.com/egdwcs3/updates.php#spryhtml
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/David Powers wrote:
> It has been brought to my attention that most of the
example files in
> Chapters 19 and 20 of "The Essential Guide to
Dreamweaver CS3 with CSS,
> Ajax, and PHP" don't work as expected after upgrading to
Spry 1.6. This
> is because Spry 1.6 handles HTML in CDATA sections
differently. The
> solution is to add entityEncodeStrings:false to the
options passed to
> the Spry XML Dataset. For details, see the book's
updates page at the
> following address:
>
>
http://foundationphp.com/egdwcs3/updates.php#spryhtml
>
Thanks, David. ;-)
Bonnie -
The Essential Guide to Dreamweaver CS3 with CSS, Ajax, and PHP by David Powers
The Essential Guide to Dreamweaver CS3 with CSS, Ajax, and
PHP by David Powers:
Would this book help me learn about Spry and Ajax and how
applications can be made with them, if I my e-commerce site runs on
a compiled C code shopping cart (ShopSite) but supports PHP
server-side scripts or is it only for shopping carts based on PHP
itself (like X-Cart)?
I am not sure. Someone please let me know so I can purchase
this book. Thanks.ahsenabro wrote:
> 1. Do I have to be a developer/programmer in order to
learn from this book or
> can a tech-savvy entrepreneur can also get some gems out
of it and direct his
> programmer?
You don't need any prior knowledge of Ajax or PHP, but you do
need to
know the basics of HTML and CSS. As I say in the
introduction, "You
don't need to be an expert, but you do need to have an
inquiring mind.
It doesn't teach the basics of web design, nor does it
attempt to list
every single feature in Dreamweaver CS3. There are plenty of
other books
to fill that gap. However, by working through this book,
you'll gain an
in-depth knowledge of the most important features of
Dreamweaver."
> 2. I am interested in purchasing this book mainly to
implement cool Ajax/Spry
> stuff on my e-commerce site. I am asking about PHP
because the book's content
> mentions making a PHP site. Now I realize this book is
not about shopping
> carts, but the Ajax/Spry stuff can be implemented on
e-commerce sites, right?
The book provides detailed coverage of the Spry 1.4 features
in
Dreamweaver CS3, which can be applied to any site. With minor
adaptation, you can also use Spry 1.6. It's important to
realize,
though, that the Spry/Ajax features in Dreamweaver CS3 do
*not* cover
asynchronous requests to the server. The ability to
communicate
asynchronously with the server was added in Spry 1.6. If it's
asynchronous server calls and responses that you're after,
your
programmer will need to dig around in the Spry 1.6
documentation on the
Adobe Labs site, and hand-code it.
The Spry features covered in the book are Spry Effects, Spry
UI widgets
(menu, accordion, tabbed panels, and collapsible panels),
Spry
Validation Widgets, and Spry XML Data Sets.
> I just want to know if I can learn and implement
Ajax/Spry apps on my
> simple HTML/CSS-based pages, on a server which allows
server-side PHP scripts
> but the pages themselves are not with .php extension. Is
this book still going
> to be applicable?
Yes. All the Spry techniques can be used on any web page. It
doesn't
need to be a PHP one.
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/ -
Using Spry Vertical Navigation with Templates-Need to indicate current page
Using Spry Vertical Navigation with the Dreamweaver templates. Using editable attributes etc., the current page mennu item does not seem to be changing. How do you indicate the. current page.
Persistent Page Indicator on Site Wide CSS Menus:
http://alt-web.com/Articles/Persistent-Page-Indicator.shtml
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
Use Spry.$$ functions with Ancestor node
Hi,
I wish to be able to select a node, navigate its parent (no more than 2 levels up the dom tree) and then add and remove some classes with the addClassName and removeClassName functions of Spry.$$
I've found the.Spry.Utils.getAncestor function but cannot find documentation on it.
Is it possible to use the Spry.$$ functions with the parent node of a node selected?
var achild = Spry.$$("#child");
var a = Spry.Utils.getAncestor(achild).addClassName("parent")
Hopefully you get the idea of what I need to be able to do.
I don't have full control over the html elements I'm trying to select and add classes to. This runs within a SharePoint environment.
Other thoughts appreciated.
PhilYes that'll work. You arew right that the css selctor is more complication but the principle is the same. What do you know about the second parameter the getAncestor accepts for finding an ancestor. Can I use full CSS selectors in there as well / what are its limitations?
MyDreamweaverExtensions <[email protected]> wrote:
You then have to use the forEach element selector function. Here is a test page for you:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Document sans nom</title>
<script type="text/javascript" src="SpryAssets/SpryDOMUtils.js"></script>
<style type="text/css">
.redBorder {
border: 1px solid #F00;
</style>
</head>
<body>
h1. Test: getAncestor
<div>
<p>paragraph 1</p>
<p>paragraph 2</p>
</div>
<div>
<p>paragraph3</p>
<p>paragraph 4</p>
<p>paragraph 5</p>
</div>
<div>
<p>paragraph 6</p>
<p>paragraph 7</p>
</div>
<script type="text/javascript">
*Spry.$$("p").forEach(function(n) {
Spry.Utils.addClassName(Spry.Utils.getAncestor(n), 'redBorder');
</script>
</body>
</html>
Your selector might be more complicated, but you just have to adapt it. As long as you get an array of elements, this way will work anyway.
Hope this helps,
Xav
> -
Facing Problems with the Installation of Dreamweaver CS3
Hello,
I am facing some problem while installing Dreamweaver CS3 ..
tried number of times but to no avail.. every time the same error
message pops up "You can only install one product at a time. Please
complete the other installation before attempting to install Adobe
Dreamweaver CS3"
I am pretty sure I am not installing any other Adobe product
in parallel. I already have Adobe Flash CS3 on my system and its
working pretty fine for me but I am not able to get around with
Dreamweaver. Please let me know what I need to do to run this
software on my system successfully.Adobe Install Problems 800-642-3623
-
Error message when using Spry Data set with XML
Hi,
I have what i see as a big problem, might just be me being
dumm, but here we go.
When I try to use the feature of spry XML Data Set and insert
spry table I get error message when trying it in IE 7.
There are even a problem when I use fireworks automated slide
show function, where you can choose to use the Spry/XML gallery
feature.
The error message I get everytime (incl the auto gallery in
fireworks) is:
The tag: "html" doesn't have an attribute: "xmlns:spry" in
currently active versions.[XHTML 1.0 transitional]
The tag: "div" doesn't have an attribute: "spry:region" in
currently active versions.[XHTML 1.0 transitional]
The tag: "th" doesn't have an attribute: "spry:sort" in
currently active versions.[XHTML 1.0 transitional]
and so on.
What´s wrong?!Hello barvid,
Ok, let's take each problem step by step:
1. The first error you see in the browser: " Exception while
loading ..." normally appears when you try to load files that are
not permitted by the browser security model. This means the XML
file you try to load is located on a different server than your
HTML which is not allowed. The browser is not permitting to load
any files that are not in the same domain as the current page
because of the complex security risks. You'll have to either get
the XML file from its original location and save it in your website
or use a proxy on your web server that should request that file
from the external server and send it to the browser as an XML from
the same domain as the HTML origin.
1.2 The "Exception while loading ..." error you see is a
generic error and my previous advise is based on my experience. In
case this is not your scenario you'll have to open the SpryData.js
and around line 112 you'll see the following code:
Spry.Debug.reportError("Exception caught while loading " +
url + ": " + e);
Please change this line with the following line of code:
Spry.Debug.reportError("Exception caught while loading " +
url + ": " + (e.message?e.message:e));
to obtain a more verbose error message that may clarify the
reasons of your errors.
2. The problems you describe are not browser errors but they
are w3c validation errors. At this point the XHTML standard allows
every application that define custom namespace attributes to also
link a DTD to the page so the page to continue to be valid.
Unfortunately at this point this feature is not correctly supported
by the FF and IE so we wrote an articles about how you should
link
the Spry DTD to your page so the validator understand the
custom attributes Spry use. You'll find inside the full description
of the problems and all the technical details you'll need to know
to solve this issue.
Regards,
Cristian -
Error with Application panel in Dreamweaver CS3
Hello guys , i'm glad to join to the forum...
I've a problem:when i access to Application panel-Server
Behavours my Dreamweaver crashes.
I use Windows Vista Home Premium and i'm working with Apache,
MySQL and PHP (the last versions).
Please try to give me some adviceThanks for the replies!
Although I still haven't found the real problem for it, the preview panel keeps on freezing, I do have a wokaround found for it.
Because I have a docking station for my laptop, with some free slots in it, I bought a second hand Video Card with 512MB and better performance than the on-board card in the laptop.
I hooked up a external LCD monitor to it and now it works just fine, with no additional modifications in Bridge.
So, although the Bridge / video card still occurs on the laptop, I don't mind working this way.
Maybe a newer driver in the future will solve this problem.
Kind regards,
Stefan -
Trouble with image restore on dreamweaver cs3
I am a GoLiver trying to learn Dreamweaver. I am having a problem with image restore on the rollover. Here is the url
http://www.allthegills.com/meadowcroftweb
Not sure where I went wrong.
Thanks for any help.The onmouse over and out need to go in your href tag. You have them in your img tag. Should look like this
<a href="index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('index','','images/img_over.gif',1)"><img src="images/img.gif" alt="whatever" name="index" /></a> -
How to use spry in the dreamweaver with the php/mysql
hello,
Iam new to the spry framework
and i want to know can we use the spry in the dreamweaver
along with php / mysql code
if so please tell how to do this
thanks in advanceswetha123 wrote:
> but when i complie this page it is not showing the
preiew or any thing in the
> browser i saved this page with the extension .php if i
run the same page with
> .html then i can see the design but it is not being
executed
The reason you get nothing when you save the page with a .php
extension
is because you have display_errors turned off, so you can't
see the
error message telling you there's a syntax error. The
semicolon is
missing at the end of this line:
> echo "<font color='white'>Hello
Swetha</font>"
The reason it doesn't work with an .html extension is
probably because
you haven't uploaded SpryAssets/SpryTabbedPanels.js. I have
copied your
page and tested it locally with the correct JavaScript file,
and the
tabbed panels work as expected.
There are lots of other mistakes in your page. You can't use
float and
position:absolute on the same element. In at least one place,
you have
used </br> instead of <br />. You have also got
an closing paragraph tag
after the paragraph that contains abc.jpg.
Getting Spry or any other JavaScript library to work
correctly relies on
good, clean code. Your mixture of inline styles and font tags
is going
to make it difficult to incorporate Spry into your pages. I
suggest you
improve your HTML and CSS before bringing Spry into the mix.
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/ -
What is the rendering engine used in Dreamweaver CS3
What is the rendering engine(aka layout engine) used in DW
CS3?
and which of the current browsers is using(or being based on)
this engine?old9 wrote:
> What is the rendering engine(aka layout engine) used in
DW CS3?
> and which of the current browsers is using(or being
based on) this engine?
I'm not sure, but I think that the rendering engine is
Dreamweaver's
own. Before DW CS3, the aim was to emulate Internet Explorer
as closely
as possible. CS3 no longer does that, but attempts to render
pages as
closely to the W3C standards as possible. What you see is
probably
closest to what you would get in Firefox, but it's not based
on Mozilla.
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/ -
I've created a stored proc in MySQL5.1 and can view and
execute it through MySQL. When I go to Dreamweaver CS3 and view my
existing database connection it doesn't detect the stored
procedure. I've tried starting and stopping the mysql and
coldfusion services but that didn't work. I've closed and opened
Dreamweaver. I've rebooted my machine but still no luck. I've
checked the coldfusion settings and I'm allowing stored procedures
on that connection. I have no idea what else to try. What do I need
to do to fix this?rudyjwr wrote:
> I've tried starting and stopping the
> mysql and coldfusion services but that didn't work. I've
closed and opened
> Dreamweaver. I've rebooted my machine but still no luck.
I've checked the
> coldfusion settings and I'm allowing stored procedures
on that connection. I
> have no idea what else to try. What do I need to do to
fix this?
I'm not sure about ColdFusion, but Dreamweaver doesn't
support MySQL
stored procedures with its PHP server model. MySQL added
support for
stored procedures only in version 5.0. Most of the database
related
functionality in Dreamweaver predates MySQL 5.0.
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/ -
Help with Dreamweaver CS3 Free Trial
I am getting the following error from the website if I try to
go to the Adobe Dreamweaver CS3 free trial. Does anyone know how to
help me with this? Element TD_HEADER_LABEL_DREAMWEAVER is undefined
in a CFML structure referenced as part of an expression.k_hudson04 wrote:
> I am getting the following error from the website if I
try to go to the Adobe
> Dreamweaver CS3 free trial. Does anyone know how to help
me with this? Element
> TD_HEADER_LABEL_DREAMWEAVER is undefined in a CFML
structure referenced as part
> of an expression.
It's an error on the Adobe server. It's been like that for a
couple of
days. I'm surprised it hasn't been fixed. I'll see if I can
contact
someone who can sort it out.
You should be aware, though, that the release of Dreamweaver
CS4 is
imminent, so the trial of CS3 might be withdrawn at any time.
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/ -
Use Spry Validation with jQuery Form to Form Wizard (v1.1)
I am trying to use spry validation widgets with jQuery Form to Form Wizard script found here http://www.dynamicdrive.com/dynamicindex16/formwizard.htm
This is a script that makes a long form into a multi part wizard/form with next and back buttons.
for the most part it works with the spry widgets on blur and onsubmit, but to make it work properly the next buttons of the script should be disabled until the user corrects what has caused spry error messages. The script creator has made onpagechangestart event handler to allow for this. Description here http://www.dynamicdrive.com/dynamicindex16/formwizard_suppliment.htm. By returning false from this event handler, you disable the user's ability to go on to the next page until a value of true is returned.
How can I script for Spry validation to return false if it has errors from this event handler?
Thanks in advance for any help,did you check this example:
http://labs.adobe.com/technologies/spry/samples/form_submission/Submit_and_Validate_Form.p hp.html -
Using Dreamweaver CS3 on Windows 8
Purchased Dreamweaver CS3 in 2008 - have upgraded computers to Windows 8 platform - how can I use the version I have?
Hi Edie,
Dreamweaver CS3 has not been tested and is incompatible with Windows 8
Maybe you are looking for
-
Is editing HD (.mts files) on a laptop possible?
Hi folks, I have recently purchased a CANON Vixia HF20 camcorder with an internal harddrive that outputs ".mts" files. I own a DELL Inspiron 1525. My processor is an: Intel(R) Pentium(R) Dual CPU T3400 @2.16GHz 2.17GHz Memory (RAM): 3.00Gb System t
-
How do you stop a video from playing after you use removechild?
I am new to flash and asc3. I am currently developing a website using cs3. I have the main swf that calls in other swfs using the add child. The swfs that I am calling in, have video using the standard flvplayer. The problem that I am encounterin
-
I CAN'T BELIEVE THIS!! Sound, but a flat line in Arrange???
OK! This makes absolutely no sense and I am not happy at all right now.. I deleted a kick drum part in a song by accident... well, not really on accident, because the arrange menu shows that there was no waveforms in this particular area... so I dele
-
Monitor setup hangs / shared screens as default
Hi, I am using an external display together with my Retina MacBook Pro. When I want to give presentations and want to change the monitor setting to mirrored screens the system setting applications hangs. In order to change this setting I have to rebo
-
Use of field 'Payment Considered To' in Dunning Proposal (FPVA)
Hi all, May I know what is the purpose of the field 'Payment Considered To' in FPVA? Let say I want to issue dunning dated 08 March 2010 (backdated). Can I use this field to limit the payment received by us until 08 March 2010? What if the payment re