How do I Set Text of Container?

I want my "submit" button to change the text of the "block01"
container, but I get an error message in Internet Explorer 6. I
used a Dreamweaver CS3 behavior for this. Before the error message
pops up, you can breifly see that my new text does appear in the
container, but you have to watch close because it only appears for
a half a second.
The website is www.megazilla.com
I have never used CSS before, so I am probably doing
something very basic wrong.
I uploaded the index.htm file and the megazilla.css file. I
can't see any other files in my Dreamweaver file list.
I am using Dreamweaver CS3.
Thanks in advance!

You are trying to submit a form without an action attribute.
That's why you
are getting the error.
<input name="Submit" type="submit" id="Submit"
onclick="MM_setTextOfLayer('block01','','THIS HAS BEEN
CHANGED BY SUBMIT
BUTTON')" value="Submit" />
But this will not work, since the form will either submit to
itself or to
another page, and in either case, you will no longer be able
to see the
'changed' message.
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
==================
"lazybones99" <[email protected]> wrote in
message
news:g9u8kv$bsi$[email protected]..
>I want my "submit" button to change the text of the
"block01" container,
>but I
> get an error message in Internet Explorer 6. I used a
Dreamweaver CS3
> behavior
> for this. Before the error message pops up, you can
breifly see that my
> new
> text does appear in the container, but you have to watch
close because it
> only
> appears for a half a second.
>
> The website is www.megazilla.com
>
> I have never used CSS before, so I am probably doing
something very basic
> wrong.
>
> I uploaded the index.htm file and the megazilla.css
file. I can't see any
> other files in my Dreamweaver file list.
>
> Thanks in advance!
>

Similar Messages

  • How do I GET the 'set text of container' behavior in DW CS3 if it's missing?

    I'm building a site using CSS in DW CS3 (bought in May 2006) that has some photo gallery pages where a large image changes per thumbnails to its right that are clicked. The thumbnails are in their divs and the wished-for big image should appear in a larger div to the left. I've read in other postings here that I can use Behaviors panel > Set Text > Set text to container to do this, but this behavior is missing in my Set Text submenu. How do I add this behavior there?
    Also, how do I not only create this 'on click' behavior, but have the thumbnail image change to a 'HIT' state like a rollover would?
    (P.S. - posted this yesterday, slightly different heading, but it didn't appear today)
    Thanks for your help --

    Check this location in windows C:\Program Files\Adobe\Adobe Dreamweaver CS5\configuration\Behaviors\Actions\Set Text
    If this Set Text folder is not there it means that the behavior did not get installed. So you might need to reinstall DW CS3.

  • How to restore image after Set Text of Container behavior

    Hi there, I'm not sure how to apply the Set Text of Container behavior. Basically, when I mouse over an image, I want a larger version of the image with decription text to appear.  I also want to restore the original image without text on mouse out.
    I want the larger image and its text to appear in the exact location of the original image not anywhere else on the page. Here's an example what I've done to try and achieve the effect:-
    1. Create a div and insert image in it.
    2. Select the image and Set Text of Container behavior. Under the Set Text of Container dialog box, select the div that the image is in (e.g. div "apdiv1") and type in the New HTML - For example: <img src="largerimage.jpg"><span id="apdiv1">image description</span>
    3. Set the event to mouseover
    I do not know how to proceed to restore the original image without text when I mouse out. I know I’m doing something wrong to achieve this effect but I can’t figure out what it is. Your help is greatly appreciated!

    Use CSS Disjointed Rollovers.
    http://alt-web.com/DEMOS/CSS-Disjointed-Image-Rollover.shtml
    http://alt-web.com/DEMOS/CSS-Disjointed-Rollover-1.shtml
    http://alt-web.com/DEMOS/CSS-Disjointed-Rollover-2.shtml
    http://alt-web.com/DEMOS/CSS-Disjointed-Rollover-3.shtml
    Nancy O.
    THANK YOU NANCY It worked perfectly!
    THANKS GRAMPS!

  • Set Text of Container to HTML not working

    I have a div tag named "theAnswer" on a page. When the user
    clicks the "Submit" button, I want some text to appear inside the
    div that has HTML formatting.
    The HTML code for the text I want to appear is below:
    You are correct!  We are committed to conducting
    business with
    the highest degree of integrity, complying with legal
    standards and
    regulations and serving others with respect, fairness and
    caring.  Click here for <a
    href="javascript:;"
    onClick="MM_openBrWindow('../docs/
    Ethics_Standard_1.pdf','','scrollbars=yes,resizable=yes,width=790,height=575')">More
    Info</a> or click Continue.
    After I put in the Behavior to "Set Text > Set Text of
    Container to", choose the correct Div tag, and paste the above into
    the "New HTML" field, when I click the Submit button, I get the
    following appearing in the div "theAnswer" exactly how it appears
    below as text without it being actual formatted HTML.
    You are correct!  We are committed to conducting
    business with
    the highest degree of integrity, complying with legal
    standards and
    regulations and serving others with respect, fairness and
    caring.  Click here for <a
    href="javascript:;"
    onClick="MM_openBrWindow('../docs/
    Ethics_Standard_1.pdf','','scrollbars=yes,resizable=yes,width=790,height=575')">More
    Info</a> or click Continue.
    It's not formatted as HTML, it just comes out exactly what
    the coding is. Why?!

    Let's see the page, please.
    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
    ==================
    "Jim Rehmann" <[email protected]> wrote in
    message
    news:g6a3in$dv4$[email protected]..
    >I have a div tag named "theAnswer" on a page. When the
    user clicks the
    > "Submit" button, I want some text to appear inside the
    div that has HTML
    > formatting.
    >
    > The HTML code for the text I want to appear is below:
    >
    > You are correct!  We are committed to
    conducting business with
    > the highest degree of integrity, complying with legal
    standards and
    > regulations and serving others with respect, fairness
    and
    > caring.  Click here for <a
    href="javascript:;"
    > onClick="MM_openBrWindow('../docs/
    >
    >
    Ethics_Standard_1.pdf','','scrollbars=yes,resizable=yes,width=790,height=57?5')"
    >>More
    > Info</a> or click Continue.
    >
    >
    > After I put in the Behavior to "Set Text > Set Text
    of Container to",
    > choose
    > the correct Div tag, and paste the above into the "New
    HTML" field, when I
    > click the Submit button, I get the following appearing
    in the div
    > "theAnswer"
    > exactly how it appears below as text without it being
    actual formatted
    > HTML.
    >
    >
    > You are correct!  We are committed to
    conducting business with
    > the highest degree of integrity, complying with legal
    standards and
    > regulations and serving others with respect, fairness
    and
    > caring.  Click here for <a
    href="javascript:;"
    > onClick="MM_openBrWindow('../docs/
    >
    >
    Ethics_Standard_1.pdf','','scrollbars=yes,resizable=yes,width=790,height=57?5')"
    >>More
    > Info</a> or click Continue.
    >
    > It's not formatted as HTML, it just comes out exactly
    what the coding is.
    > Why?!
    >
    >

  • Set text of container in DW CS3

    I'm building a site using CSS in DW CS3 (bought in May 2006) that has some photo gallery pages where a large image changes per thumbnails to its right that are clicked. The thumbnails are in their divs and the wished-for big image should appear in a larger div to the left. I've read in other postings here that I can use Behaviors panel > Set Text > Set text to container to do this, but this behavior doesn't appear in my Set Text submenu. How do I add this behavior there?
    Also, how do I not only create this 'on click' behavior, but have the thumbnail image change to a 'HIT' state like a rollover would?
    Thanks for your help --

    Check this location in windows C:\Program Files\Adobe\Adobe Dreamweaver CS5\configuration\Behaviors\Actions\Set Text
    If this Set Text folder is not there it means that the behavior did not get installed. So you might need to reinstall DW CS3.

  • "Set text of container" behavior crashes Dreamweaver! (CS3)

    When I try to change pages which use the "Set text of
    container" behavior it
    crashes DW-CS3. The dialog which used to come up first shows
    a series of
    asterisks in the drop-down for the container selected, and
    the CPU does
    overtime for about a minute before the correct values appear.
    If I change
    any values and OK it, then CPU starts using over 90% on DW
    and nothing
    happens until I force a shut-down (I've left it running for
    over 15 mins!)
    I have tried setting up a new "Set text of container"
    behavior and the same
    thing happens.

    Oh it truly needs work...
    http://www.jackbooks.com/Wystan/Regional/Regionalism.htm
    Even on a simple new page with a couple of divs this
    behaviour is now very
    slow and the line of asterisks comes up while waiting for the
    dialog to
    load. What has changed? How can a simple behaviour be now so
    demanding?
    "Murray *ACE*" <[email protected]> wrote
    in message
    news:f4opvn$sod$[email protected]..
    > Can we see the page, please?
    >
    > --
    > Murray --- ICQ 71997575
    > Adobe Community Expert
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    > ==================
    >
    >
    > "Stephen C" <[email protected]>
    wrote in message
    > news:f4nd0t$8lq$[email protected]..
    >> When I try to change pages which use the "Set text
    of container" behavior
    >> it crashes DW-CS3. The dialog which used to come up
    first shows a series
    >> of asterisks in the drop-down for the container
    selected, and the CPU
    >> does overtime for about a minute before the correct
    values appear. If I
    >> change any values and OK it, then CPU starts using
    over 90% on DW and
    >> nothing happens until I force a shut-down (I've left
    it running for over
    >> 15 mins!)
    >>
    >> I have tried setting up a new "Set text of
    container" behavior and the
    >> same thing happens.
    >>
    >

  • Set text of container - javascript help, please!

    I have used Dreamweaver behaviours to "Set text of container" and make different writing appear inside a box when I click a hotspot. Now I want people to be able to click on the writing that just appeared and make more text appear in another box. Could someone tell me how to do this? I don't think I can use Dreamweaver's behaviours for this because there's no material trigger... in that the writing that is the trigger only appears when the first trigger is clicked, but I'm more than happy to be corrected!!
    So, I've been trawling through javascript libraries but I don't know what I'm doing, so if someone could either tell me how to do this in dreamweaver or really spell out what libraries etc. I need to download and what code I need to make a bit of text that's already a set text of a container into a trigger for a set text of another container, that would be great!
    Sorry for the complicated question, it's difficult to explain what I mean.
    All help very much appreciated ^^

    flozzle19262010 wrote:
    I... really don't see how that will help you, considering I'm just asking HOW to do something. It's not like there's a mistake in my CSS or whatever, I just want to know if such a thing as described above is possible...
    As I say, I'm reluctant to upload it as it's for someone else.
    Have a look here http://forums.adobe.com/message/2691056#2691056.
    Both Nancy (one of the best in the business) and I have been trying to help. It's your call.
    I wish you the best of luck.
    Ben

  • 'set text of container' won't work in IE8

    (I'm resubmitting this discussion as I wrote the wrong version of IE in my last post).
    Hoping someone can help
    At the moment I am using 'swap image' to change the text that appears within one container when I hover over different buttons.
    I am using images of text rather than text itself because I have found that the 'set text of container' won't work when tested in IE8 (which is important for me). This makes the page much slower to load than it should be.
    It works perfectly in Firefox and Safari but not in IE8.
    Below is a link to my site page which shows how it should work (even though it's currently just images not text)
    http://www.lindengraphics.com.au/feedback.html
    And below is the coding which appears when I set the page using 'set text of container'.
    <div id="apDivthumb1"><img src="assets/client_feedback/fdb_thumb1.jpg" alt="thumnbail1" name="fdb_thumb1" width="43" height="43" id="fdb_thumb1" onmouseover="MM_setTextOfLayer('feedbacktbl','','&quot;Example of text I have written.&quot;')" /></div>
    <div id="apDivthumb2"><img src="assets/client_feedback/fdb_thumb2.jpg" alt="thumbnail2" width="43" height="43" onmouseover="MM_setTextOfLayer('feedbacktbl','','&quot;Example of text I have written.&quot;')" /></div>   etc etc
    I've taught myself Dreamweaver so am still fairly new to it and coding (although not new to website design) so please explain things in simple terms so that it's clear for me.
    If anyone has the time to help me with this it would be really appreciated!!
    Many thanks in advance, Michelle

    Good News!
    There is no problem in any version of IE on a windows based machine.

  • Set Text in Container- Different Classes each line of text

    I'm using the Set text of Container behavior to function as a caption in my displaced rollover. It works fine but there is one problem I'm having.
    My orginal "placeholder" caption looks something  like this:
    Project Name
    Location
    Photographer
    I achieved this by using "span" on the orginal caption and each line has a class.
    However when I rollover it loses it's styling. How do I apply the classes to the text in the behavior?
    Thanks

    Sorta.
    So I would type in this below in set behavior box?
    <span class="projectname">Project Name<br /> </span> etc.....

  • How do i set text in a object so that object expands with text and has even space on both sides of the object in illustrator cc?

    how do i set text in a object so that object expands with text and has even space on both sides of the object in illustrator cc?

    if you see all the different panel. I past the info in and have to manually expand the width of every panel. Is there a way of pasting the text in and the panel moves to the right with so that there is an even space on both sides of the blue panel?

  • Can links inside "set text of container" behaviours open in a new page?

    I am using the set text of container behaviour to show different information within the same page, to keep things neat and simple to navigate. Some of the text needs to be external links, but they open in the current page, not a new page even though I have set the target to _blank.
    Is there another way to keep using the set text of container and have the links open in another page?
    thanks!
    Using CS6 on Macbook Pro 2.6Ghz OSX10.8

    gryffun wrote:
    Well, after some further google searches, I'll answer my own question...
    selecting the link inside the set text of container and adding a behaviour to it -  "open in browser" will make the link open in a new window.
    Or ading target="_blank" to each link will do the same

  • Set text of container

    i am trying to create a login at the top of a page, where it
    will say "Welcome Guest! Not a guest? Sign in here." i inserted a
    login table, and tried using it, and it didnt work at all. i used
    the behaviors>Set text>set text of container. so when you
    click on that text, it changes the text, to the login box. I
    inserted the html, and it doesnt work at all. what is going on
    here?
    thank you.

    <div align="left" id="toplogin"
    onclick="MM_setTextOfLayer('toplogin','','&lt;form
    You can only rely on events applied to anchor tags, not to
    other page
    elements.
    Try this code, please -
    <div align="left" id="toplogin"><a href="#"
    onclick="MM_setTextOfLayer('toplogin','','&lt;form
    action=&quot;
    http://pub20.bravenet.com/passwd/show.php&quot;
    method=&quot;post&quot; onsubmit=&quot;if
    (this.checker.checked)
    toMem(this)&quot;&gt;\n &lt;input
    type=&quot;hidden&quot;
    name=&quot;usernum&quot;
    value=&quot;1706419139&quot; /&gt;\n &lt;input
    type=&quot;hidden&quot; name=&quot;cpv&quot;
    value=&quot;&quot; /&gt;\nUser
    ID:&lt;strong&gt;\n&lt;input
    name=&quot;uname&quot; type=&quot;text&quot;
    style=&quot;border: 1px solid #cccccc; width:
    100px&quot;
    value=&quot;Username&quot;
    size=&quot;15&quot; maxlength=&quot;254&quot;
    /&gt;&lt;/strong&gt;&lt;span
    class=&quot;style1&quot;&gt;Password:&lt;/span&gt;&lt;strong&gt;&lt;span
    class=&quot;style4&quot;&gt;\n&lt;input
    name=&quot;passwd&quot;
    type=&quot;password&quot; style=&quot;border: 1px
    solid #cccccc; width:
    100px;&quot; value=&quot;Password&quot;
    size=&quot;15&quot;
    maxlength=&quot;254&quot; /&gt;&lt;input
    type=&quot;checkbox&quot;
    id=&quot;checker&quot;
    name=&quot;checker&quot;
    /&gt;\n&lt;/span&gt;&lt;/strong&gt;&lt;span
    class=&quot;style1&quot;
    onfocus=&quot;MM_popupMsg(\'Remember Me (Don\'t check if
    you are using a
    public computer)\')&quot;&gt;[?]&lt;/span&gt;
    &lt;strong&gt;\n&lt;input
    type=&quot;submit&quot;
    name=&quot;submit3&quot; value=&quot;Login&quot;
    style=&quot;width: 45px;&quot; /&gt;
    &lt;input
    type=&quot;button&quot;
    onclick=&quot;delMem(this)&quot; value=&quot;Forget
    Me&quot;&gt;\n&lt;/form&gt;');return
    false">Welcome Guest! Not a guest? Sign
    in here</a>.</div>
    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
    ==================
    "future-architect" <[email protected]> wrote
    in message
    news:[email protected]...
    > the website address is
    http://www.talkitup4free.com/test2

  • How can I set a password containing punctuation?

    I tried this:
    alter user <user> identified by <password>;
    where <password> has punctuation. I got:
    ORA-00922: missing or invalid option
    so I quoted the password and got:
    ORA-00988: missing or invalid password(s)
    How do I set a password that contains punctuation? TIA.

    Thank you very much. That worked fine. I think earlier I tried using single quotes instead of double quotes, and single quotes did not work.

  • HT2500 How do I set text size when I am composing a mail?

    When composing an E Mail using Mail how do I set the viewable text size. It always starts up very small even though preferences have been set to 12 pt or larger. 'cmd +' does not alter the view sizing either.
    I have OSX 10.7.3 on an iMac.

    On my Mac it looks like this:
    Then I click "Auswählen":
    Here I can choose my favorite settings.

  • How do i set text alerts to sound more than twice on iPhone 6 plus?

    How do I set my text alerts to sound more than twice on my iPhone 6 Plus?

    Settings > Notification Center > Messages > Repeat Alerts.  Choose between never or up to 10 times.

Maybe you are looking for

  • File Can't be found.....

    For no apparent reason every song in I Tunes 'can not be found' and has an exclamation mark against it. I think this also happened some time ago and I had to go into My Music folder and laboriously play each tune in ITunes and then delete the unplaya

  • How do i create gallery with text under thumbnails?

    Hi. Im new in Muse and im trying to learn. My next challenge is to make thumbnails with text under like this: And when visitors click a thumbnail it should pop up the original size picture in a lightbox. A mouseover big pic should also work. Like thi

  • Field LFM1-BLIND (Doc index active) in the vendor master record

    Hello - I am going through OSS note # 1819416 which describes about automatic price updates. I am not getting any field LFM1-BLIND for setting this check box in XK02 ( step # 3), even I checked for field status and relevant field is not there. How to

  • Satellite L755 - USB Flash Memory is not recognized properly

    Hi Sirs I have (ScanDsik 32GB flash memory) it was working before correctly, but in the last week it was delay to work when I connect it to the laptop Toshiba Satellite L755 and now when I connect it I cannot open it I see it in device manager but ca

  • HT1848 how to put dvd on my itunes

    I'M TRYING TO PUT DVDS ONTO MY ITUNES ON MY VISTA COMPUTER