Viewers: in countries Watching now:
Covering diverse topics such as improving workflow and managing CSS styles, Dreamweaver CS3 Beyond the Basics is a hands-on course that teaches users how to move beyond standard, static websites. Instructor James Williamson explores how to increase productivity, interactivity, and accessibility with Dreamweaver. He also discusses how to extend the application's capabilities with XML and XSL. Exercise files accompany the tutorials.
So I go ahead and Open that up, and remembering what our code behaviors do, and which one actually applies the action code is pretty important for us figuring out exactly where we went wrong. So I am going to scroll down, because I know that the function that's actually perform of the action is the Apply Behavior Functions, so that's our most likely code behavior, let's go find that. And indeed, if I look in line 42, returns "setActiveStylesSheet("+theName+")";. I can see that I am ending a literal string right here, and then picking it back up, and inside of this I have no single quotation marks. So just before the ending double quotes. I am going to place my cursor there and I will type in a single quote, and I will do the same thing on the other side in the reverse.
So now I can close this and once again we have to go through the same process that we went when we loaded the behavior originally. We are going to have to shut Dreamweaver down, and then open a back up again. So I am gong to go ahead and quit Dreamweaver, and then when we re-launch it we will be able to test it again. Okay, so I have shutdown Dreamweaver, and I re-launched it, so we will reload that behavior and we are going to try this again. So I am going to open up index.htm, and index.htm still have the applied behaviors in it. So I am going to go and update those. So I m going to highlight the bracket and annotation A, and for Style Switcher I am going to double-click that again, and I am going to continue to pass in a large text to them. So I will switch over to Code view.
Now large text is actually surrounded in single quote, so hey us, we successfully debugged our function. Now the other nice thing about this is we are getting to examine the Inspect Behavior, so I am going to highlight the small a, I will go over to my Behaviors panel, double-click Style Switcher, and I am going to pass the same textual value in normal text and click OK, so inspecting our behavior works, we know that double clicking on Style Switcher is going to retrieve that string value, place it in the user interface, and allow us update it, so if I go back into the Code view, I will just double check and make sure that normal text also has single quotation marks around it.
Find answers to the most frequently asked questions about Dreamweaver CS3 Beyond the Basics .
Here are the FAQs that matched your search "" :
Sorry, there are no matches for your search "" —to search again, type in another word or phrase and click search.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.