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!
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. -
"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.
>>
> -
How to restore image after cropping
void cropLayer(PIActionDescriptor descPosition, int32 layerIndex, PIActionDescriptor currLayer)
// get "currLayer" layer bounds
error = sPSActionDescriptor->GetFloat(descPosition, keyTop, &top);
error = sPSActionDescriptor->GetFloat(descPosition, keyLeft, &left);
error = sPSActionDescriptor->GetFloat(descPosition, keyBottom, &bottom);
error = sPSActionDescriptor->GetFloat(descPosition, keyRight, &right);
// Select area to crop "currLayer"
error = sPSActionDescriptor->PutUnitFloat(desc0006D190, keyTop, unitPixels, top);
error = sPSActionDescriptor->PutUnitFloat(desc0006D190, keyLeft, unitPixels, left);
error = sPSActionDescriptor->PutUnitFloat(desc0006D190, keyBottom, unitPixels, bottom);
error = sPSActionDescriptor->PutUnitFloat(desc0006D190, keyRight, unitPixels, right);
error = sPSActionDescriptor->PutObject(desc0006D188, keyTo, classRectangle, desc0006D190);
error = sPSActionControl->Play(&result, eventSet, desc0006D188, plugInDialogSilent);
// crop "currLayey"
error = sPSActionDescriptor->Make(&desc0006D388);
error = sPSActionDescriptor->PutBoolean(desc0006D388, 'Dlt ', true);
error = sPSActionControl->Play(&result1, eventCrop, desc0006D388, plugInDialogSilent);
// export "currLayer" as PNG
// restore "currLayer" as original?
Hello,
As above code, I am calling "cropLayer()" in a loop.
After cropping a layer, image size is affecting for other layers and gives me error in layer bounds.
Because, size is changed for other layer size after a current layer cropping.
I need to reset/restore layer coordinates before cropping next layer.
Also I tried with 'eventUndo' but can't generate code by listner. How does it possible ?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 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?
ThanksSorta.
So I would type in this below in set behavior box?
<span class="projectname">Project Name<br /> </span> etc..... -
How to restore 5c after lost passcode
how to restore 5c after lost passcode?
Locked Out, Forgot Lock or Restrictions Passcode, or Need to Restore Your Device: Several Alternative Solutions
A
1. iOS- Forgotten passcode or device disabled after entering wrong passcode
2. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
3. Restoring iPod touch after forgotten passcode
4. What to Do If You've Forgotten Your iPhone's Passcode
5. iOS- Understanding passcodes
6. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
7. iOS - Unable to update or restore
Forgotten Restrictions Passcode Help
iPad,iPod,iPod Touch Recovery Mode
You will need to restore your device as New to remove a Restrictions passcode. Go through the normal process to restore your device, but when you see the options to restore as New or from a backup, be sure to choose New.
You can restore from a backup if you have one from BEFORE you set the restrictions passcode.
Also, see iTunes- Restoring iOS software. -
How to embed images in long text of PM Notifications/Orders
Dear Sir,
How to embed images in long text of PM Notifications/Orders? Kindly help.
Thanks & Regards
PM Team.Hi,
Unfortunately, You will not be able to view the graphics within the Long text editor screen.Only Limited word functionality is available on these editors.
You will have to store these pictures separately as an attachment, through generic object services and then view them through that.
Regards
Narasimhan -
How to read bytes(image) from a server ?how to display image after read byt
How to read bytes(image) from a server ?how to display image after reading bytes?
i have tried coding tis , but i couldnt get the image to be display:
BufferedInputStream in1=new BufferedInputStream(kkSocket.getInputStream());
int length1;
byte [] data=new byte[1048576];
if((length1=in1.read(data))!=-1){
System.out.println("???");
}System.out.println("length "+length1);
Integer inter=new Integer(length1);
byte d=inter.byteValue();didn't I tell you about using javax.imageio.ImageIO.read(InputStream) in another thread?
-
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' 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','','"Example of text I have written."')" /></div>
<div id="apDivthumb2"><img src="assets/client_feedback/fdb_thumb2.jpg" alt="thumbnail2" width="43" height="43" onmouseover="MM_setTextOfLayer('feedbacktbl','','"Example of text I have written."')" /></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, MichelleGood News!
There is no problem in any version of IE on a windows based machine. -
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.8gryffun 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 - 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 -
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','','<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','','<form
action="
http://pub20.bravenet.com/passwd/show.php"
method="post" onsubmit="if
(this.checker.checked)
toMem(this)">\n <input
type="hidden"
name="usernum"
value="1706419139" />\n <input
type="hidden" name="cpv"
value="" />\nUser
ID:<strong>\n<input
name="uname" type="text"
style="border: 1px solid #cccccc; width:
100px"
value="Username"
size="15" maxlength="254"
/></strong><span
class="style1">Password:</span><strong><span
class="style4">\n<input
name="passwd"
type="password" style="border: 1px
solid #cccccc; width:
100px;" value="Password"
size="15"
maxlength="254" /><input
type="checkbox"
id="checker"
name="checker"
/>\n</span></strong><span
class="style1"
onfocus="MM_popupMsg(\'Remember Me (Don\'t check if
you are using a
public computer)\')">[?]</span>
<strong>\n<input
type="submit"
name="submit3" value="Login"
style="width: 45px;" />
<input
type="button"
onclick="delMem(this)" value="Forget
Me">\n</form>');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 to restore apps after update
I have an IPad2 with 4.3.5 and due to some of the newer apps I was forced to upgrade to the newer 6.1.3
before i updated the IOS i backed up with the itune to my laptop.
i than installed the new ISO, when it is finished it acted as it is a new IPad there were none of my old apps. my pics did move over.
I than clicked on restore under the backups and it took about 8mins and when it finished I still had nothing on my Ipad??
is there is a way to restore my old apps or i have to redownload everything due to the newer IOS?
thanksIs this how you restore from iTune Backup?
1. Settings>General>Reset>Erase all content and settings
2. You'll be asked twice to confirm
3. You'll see Apple logo and progress bar
4. You'll see a big iPad logo on screen
5. Configuration start
6. Set language
7. Set country
8. Select Network and input Password>Join
9. Enable Location Service>Next
10. You'll be given 3 options (a) Setup as New iPad (b) Restore from iCloud Backup (c) Restore from iTune Backup
11. Select Restore from iTune Backup
12. You will see picture of USB cable pointing towards iPad
13. Connect iPad to iTune (make sure iTune is on standby)
14. Tap Continue (computer)
15. Restore iPad from Backup (computer)
16. See progress bar with estimated time (computer)
17. See Restore in Progress on iPad
18. See Apple logo
19. See Apple and Progress Bar
20. Slide to Unlock
21. Copying Apps back to iPad (computer)
22. You'll see Loading/Installing/Waiting below the Apps (iPad)
23. Sync Music/Podcast/Movies to iPad (computer)
24. Sync completed (computer)
Maybe you are looking for
-
Error only in PDF report generation not HTML
The same report exports fine in HTML. This only happens when exporting a PDF report: com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: 26---- Error code:-2147467259 Error code name:failed The application was developed by our developer team
-
Light Framework Page-Detailed Navigation error
Hi, When i use the light framework page and change the number of display levels to 1 the detailed navigation contents disappear. is this a known error..? Is there anyway to get around this..? Thanks, rocky
-
Scaleability of JMS Clients Receiving Messages
How do you scale the receipt of messages in a JMS client for messages from the same topic? Given a topic, I would like to enable concurrent receipt and processing of messages by many concurrent listeners where a single message is only consumed once b
-
Can I send the information any contact as a vCARD via SMS? If yes, does anyone know how?
-
How to add CC(Closed Captioning) option in OSMF player
Hi All, How to add cc(closed captioning) options in OSMF Player?