Set Text of Layer Question
A Very Easy Question.
I attempt to "set text of layer." I click on the plus sign on
the behaviors window, and set text to layer. A cute little box pops
up. In the Layer drop down box is a host of "unnamed
<span>"s. None of my divs are listed. In the body of this
page are Plenty of ID'd divs. I have named layers out the wazoo.
Why Are My Named Layers Not Listed In the Layer Drop Down
Box?
> seen it done many times over in rss readers, although
when I look at the
> page
> source I secretly hope that it's not as complicated as
it appears.
It would depend entirely on your level of HTML expertise.
One way to solve the problem would be to use an IFrame to
contain the
external content on the page, but a frame is a frame is a
frame. By that I
mean that IFrames usually provide all the user problems that
frames do.
> With the accordion widget I'm using as the main visual
feature of the site
> I'm
> creating, I find it unnacceptable to think I'll have to
reload the entire
> page
> every time a user wants click on something to view
information; I thought
> programming like that was a thing of the past.
Linking from one page to another is how static HTML pages
work. Having a
single page to display multiple content elements as loaded
from a database
requires that the page return to the server to fetch new
content from the
database on each click. Either method requires a page
refresh.
Linking to content that is placed within an IFrame doesn't
require this page
refresh, but carries other disadvantages as mentioned above.
Does that help at all?
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
==================
"iiinsomniiiac" <[email protected]> wrote in
message
news:[email protected]...
> Well, my apologies for not knowing exactly what you mean
by
> "round-trip"ing -
> but - I suppose I'm simply looking for the easiest way
to do just what I
> explained: an onclick event that loads an html file into
a div or td.
> I've
> seen it done many times over in rss readers, although
when I look at the
> page
> source I secretly hope that it's not as complicated as
it appears.
>
> With the accordion widget I'm using as the main visual
feature of the site
> I'm
> creating, I find it unnacceptable to think I'll have to
reload the entire
> page
> every time a user wants click on something to view
information; I thought
> programming like that was a thing of the past.
>
Similar Messages
-
Set Text of Layer Blowup?
Hi all,
Here is the page in question:
http://globalvisiondesigns.com/graphics.html
The box of cd's to the lower left is contained in two divs
with the set text of layer behavior. In FF and Safari in Mac it
works great. On the other hand, IE in Mac, it blows the bottom of
the page up, adding about 300-400 pixels of white space below the
footer. Usually when I notice something disastrous happening in IE
in Mac, it's worse in PC. Could someone please have a look at this
page in IE on a PC/Window XP etc. Perhaps I will get lucky this
time out, and it will be fine on that platform.
I have to admit, I copied the code and divs from a layout
that I did using tables. I don't think that is the problem though,
because this might have been happening in the tables layout as
well, just not as bad.
Thanks for any help!Looks fine to me in IE/WXPPro, and FF 1.5.0.6.
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
==================
"engmix" <[email protected]> wrote in
message
news:ec148p$4m0$[email protected]..
> Hi all,
> Here is the page in question:
http://globalvisiondesigns.com/graphics.html
>
> The box of cd's to the lower left is contained in two
divs with the set
> text
> of layer behavior. In FF and Safari in Mac it works
great. On the other
> hand,
> IE in Mac, it blows the bottom of the page up, adding
about 300-400 pixels
> of
> white space below the footer. Usually when I notice
something disastrous
> happening in IE in Mac, it's worse in PC. Could someone
please have a look
> at
> this page in IE on a PC/Window XP etc. Perhaps I will
get lucky this time
> out,
> and it will be fine on that platform.
>
> I have to admit, I copied the code and divs from a
layout that I did
> using
> tables. I don't think that is the problem though,
because this might have
> been
> happening in the tables layout as well, just not as bad.
>
> Thanks for any help!
> -
Set text of layer...again
hi everybody
any ideas as to why when i use the set text of layer
behaviour i'm losing the hand cursor when you mouseover the link?
the behaviour works fine, but i'm getting the text cursor, so it
doesn't look like a link when you view the page, although it
works...i've tried changing the cursor option in the css, but that
still doesn't seem to make any difference...thanks in advance
saraIt would have nothing to do with the STOL behavior, but
rather what you are
pasting into it.
Any event handler directly on an <img> tag will fail to
produce the pointer.
You need to make sure that when applying behaviors directly
to <img> tags,
you always use the <A> onMouse event. Try that....
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
==================
"sara-jane.s" <[email protected]> wrote in
message
news:e7j97s$7co$[email protected]..
> hi everybody
>
> any ideas as to why when i use the set text of layer
behaviour i'm losing
> the
> hand cursor when you mouseover the link? the behaviour
works fine, but
> i'm
> getting the text cursor, so it doesn't look like a link
when you view the
> page,
> although it works...i've tried changing the cursor
option in the css, but
> that
> still doesn't seem to make any difference...thanks in
advance
>
> sara
> -
Set text of layer problem (escaping ' and " in javascript)
Hi all
I am using the Dreamweaver behaviour "set text of layer" and
I am having problems with escaping
single AND double quotes in the javascript.
Because the text I want to set the Layer with contains some
javascript.
So the text of my layer contains both single and double
quotes.
I can escape the single quotes like this:
But I can't escape the double quotes the same way for some
reason.
even if I use \" javascript thinks it's the end of the
javascript function.
So I have tried using " in the javascript of the
text to set, but strangely, although it works
in Safari, it does not work in FireFox and IE.
When I mouse over my javascript link set in the layer, the
browser status bar shows the right thing
in Safari, but in IE and FireFox, it shows extra double
quotes...
onClick="MM_setTextOfLayer('list','','<a
href="javascript:;"
onClick="MM_showHideLayers(\'options\',\'\',\'show\')">designers</a>')"
Anybody knows the answer to this one?
seb ( [email protected])
http://webtrans1.com | high-end web
design
Downloads: Slide Show, Directory Browser, Mailing ListWhat about using the " entity? That *should* work.
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
==================
"(_seb_)" <[email protected]> wrote in message
news:[email protected]...
> doubling the quotes did not work.
> But I solved the problem by removing the quotes all
together:
>
> onClick="MM_setTextOfLayer('list','','<a
href=javascript: ...
>
> that does it!
>
> Randy Edmunds wrote:
>> Try doubling the quotes to escape them, for example:
>>
>> onClick="MM_setTextOfLayer('list','','<a
href=""javascript:"" ...
>>
>> HTH,
>> Randy
>>
>>
>>> I am using the Dreamweaver behaviour "set text
of layer" and I am having
>>> problems with escaping single AND double quotes
in the javascript.
>>>
>>> Because the text I want to set the Layer with
contains some javascript.
>>>
>>> So the text of my layer contains both single and
double quotes.
>>>
>>> I can escape the single quotes like this:
>>> \'
>>> But I can't escape the double quotes the same
way for some reason.
>>> even if I use \" javascript thinks it's the end
of the javascript
>>> function.
>>>
>>> So I have tried using " in the
javascript of the text to set, but
>>> strangely, although it works in Safari, it does
not work in FireFox and
>>> IE.
>>> When I mouse over my javascript link set in the
layer, the browser
>>> status bar shows the right thing in Safari, but
in IE and FireFox, it
>>> shows extra double quotes...
>>>
>>> onClick="MM_setTextOfLayer('list','','<a
href="javascript:;"
>>>
onClick="MM_showHideLayers(\'options\',\'\',\'show\')">designers</a>')"
>>> Anybody knows the answer to this one?
>
>
> --
> seb ( [email protected])
>
http://webtrans1.com | high-end web
design
> Downloads: Slide Show, Directory Browser, Mailing List -
Setting Text of Layer Conflicts
Hello everyone. Thank you for taking the time to check this
out!-)
Attempting to accomplish:
In a single parent browser window, I have a layer containing
an image (that is viewable because it has already been initiated by
a "set text of layer" behavior), and a second layer containing a
text link that I would like to coordinate multiple behaviors.
Behavior 1: On Mouse over, set text of layer (PHOTOLAYER) to
JPEG2
Behavior 2: On Mouse Out, set text of layer (PHOTOLAYER) to
JPEG1
Behavior 3: On Click, Set text of layer to JPEG2
Behavior 4: On Click, Open new browser window containing new
html page (SECONDWINDOW.html)
Code:
<a href="slideShows/SECONDWINDOW.html" target="TARGET"
onclick="MM_openBrWindow('slideShows/SECONDWINDOW.html','TARGET','width=886,height=750');M M_setTextOfLayer('PHOTOLAYER','','<img
src="assets/JPEG2.jpg"
width="944"
height="403">')"
onmouseover="MM_setTextOfLayer('PHOTOLAYER','','<img
src="assets/JPEG2.jpg"
width="944"
height="403">')"
onmouseout="MM_setTextOfLayer('PHOTOLAYER','','<img
src="assets/JPEG1.jpg"
width="944"
height="403">')">LINKNAME</a>
Further explanation:
When I test this, noted Behaviors 1, 2 and 4 work fine.
However, I'm not getting the JPEG2 on click.
Any ideas as to why this isn't working? Or, is there a
simpler way of coding this whole thing? Any help is appreciated.
Thank you in advance!Change this -
MM_setTextOfLayer('PHOTOLAYER','','<img
src='assets/JPEG2.jpg' width='944'
height='403'>')"
to this -
MM_setTextOfLayer('PHOTOLAYER','','<img
src='assets/JPEG2.jpg'
width='944'
height='403'>')"
and this -
onmouseover="MM_setTextOfLayer('PHOTOLAYER','','<img
src='assets/JPEG2.jpg'
width='944' height='403'>')"
to this -
onmouseover="MM_setTextOfLayer('PHOTOLAYER','','<img
src=='assets/JPEG2.jpg='
width=='944='
height=='403='>')"
and this -
onmouseout="MM_setTextOfLayer('PHOTOLAYER','','<img
src='assets/JPEG1.jpg'
width='944' height='403'>')">LINKNAME</a>
to this -
onmouseout="MM_setTextOfLayer('PHOTOLAYER','','<img
src=='assets/JPEG1.jpg='
width=='944='
height=='403='>')">LINKNAME</a>
It's the improperly nested quotes that is killing you.
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
==================
"Muskieman5000" <[email protected]> wrote in
message
news:[email protected]...
> Hello everyone. Thank you for taking the time to check
this out!-)
>
> Attempting to accomplish:
> In a single parent browser window, I have a layer
containing an image
> (that is
> viewable because it has already been initiated by a "set
text of layer"
> behavior), and a second layer containing a text link
that I would like to
> coordinate multiple behaviors.
>
> Behavior 1: On Mouse over, set text of layer
(PHOTOLAYER) to JPEG2
>
> Behavior 2: On Mouse Out, set text of layer (PHOTOLAYER)
to JPEG1
>
> Behavior 3: On Click, Set text of layer to JPEG2
>
> Behavior 4: On Click, Open new browser window containing
new html page
> (SECONDWINDOW.html)
>
> Code:
> <a href="slideShows/SECONDWINDOW.html"
target="TARGET"
>
>
>
onclick="MM_openBrWindow('slideShows/SECONDWINDOW.html','TARGET','width=886,heig
> ht=750');MM_setTextOfLayer('PHOTOLAYER','','<img
src='assets/JPEG2.jpg'
> width='944' height='403'>')"
>
> onmouseover="MM_setTextOfLayer('PHOTOLAYER','','<img
> src='assets/JPEG2.jpg'
> width='944' height='403'>')"
>
> onmouseout="MM_setTextOfLayer('PHOTOLAYER','','<img
src='assets/JPEG1.jpg'
> width='944' height='403'>')">LINKNAME</a>
>
> Further explanation:
> When I test this, noted Behaviors 1, 2 and 4 work fine.
However, I'm not
> getting the JPEG2 on click.
>
> Any ideas as to why this isn't working? Or, is there a
simpler way of
> coding
> this whole thing? Any help is appreciated. Thank you in
advance!
> -
Below is the code I added to the behavior for a graphic image
to show in the layer. It works perfectly on my computer. But not
working after uploading page. It seems that the image is not
loading from my server? The image is in my httpdocs/images folder.
Could someone please show me what the correct url should look like
in the html below?
<img src=./images/lcdcover1.jpg width="260"
height="260">
link to page in question:
http://globalvisiondesigns.com/graphics.html
Thanksyou need 2 dots
../images
not
./images
and the URL needs to be enclosed in parentheses, which it is
not. -
DW - set text of layer behaviour
I selected a small image, and applied the SetTextofLayer
behaviour, making sure the layer was the chosen layer. Then typed
<img src=/images/image1.jpg width="350" height="480"> as per
the instructions from the resources page. The error came up that
there already was an image. According to the instructions, you can
apply the SetTextofLayer behaviour to an image. What do I need to
do to have the larger image appear in the layer when you mouse over
the smaller image. It does work with the show/hide behaviour, but
was told doing it that way would make the page too big.
Thanks!Share the Irish, because I'm seeing quite a few double posts
across the
forum... (trying to catch up).
Nadia
Adobe� Community Expert : Dreamweaver
http://www.csstemplates.com.au
- CSS Templates | Free Templates
http://www.DreamweaverResources.com
- Dropdown Menu Templates|Tutorials
http://www.macromedia.com/devnet/dreamweaver/css.html
- CSS Tutorials
"Murray *ACE*" <[email protected]> wrote
in message
news:e2jcfe$esj$[email protected]..
> Is everybody seeing doubles of these posts, or do I need
a little more
> Irish in my coffee?
>
> --
> 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
> ==================
>
>
> "projectinfo" <[email protected]> wrote
in message
> news:e2jbfu$dk2$[email protected]..
>>I typed the information into the behaviour box, then
I checked the code
>>because
>> it didn't work. There were symbols instead of the
< and > , also for the
>> ".
>> This is what it looks like: td><img
src="/images/thumbnails/pic1t.jpg"
>> width="35" height="35"
onMouseOver="MM_setTextOfLayer('layer1','','%3Cimg
>> src=/images/pics/pics1.jpg width=%22300%22
height=%22300%22%3E')"> I
>> changed
>> the symbols to how I had typed it in the behaviour
box to see if that
>> helped
>> but it didn't.
>>
>
> -
Manually creating image menu that will use Set Text of Layer
onMouseOver. How do I set the Text of Layer back to default layer?
In other words, onMouseOut executes like Swap Image Restore, only
for text layer.Disregard - I got it.
-
Work with JTable cell (check input, set text color)
I have a JTable with data
The task is:
User inputs some data into cell
I want to check his input string for equatily with other values in column
For example, I have these values in column:
1.example
2.exercise
3.execute
User inputs word "execution" in the same column
until user inputs "executi" his input string should be red.
What event I have to listen to if I want to get user input string?
Also a question:
Is there any opportunity to work with cell row (copy it to another JTable) ?
Message was edited by:
Holodi think you should use cell editor as textfield (although that is default for jtable) and then implements document listener and set text color in insert update method.
try this out :-) -
Behaviour: "Set Text of Text Filed"
I am attempting to apply the behaviour "Set Text of Text
Filed" to a radio button pair (the NO of Yes, NO) in order to fill
in a text field with "skip to question 4"
However, when attempting to apply, I get an error message "no
ID. Set ID in the Property Inspector. I also not that while the
form text fields all have names (eg., "name", "street", etc.) The
"Set Text of Text Filed" behaviour windows shows them as "input
<unidentified> why?
The radio button name in the property inspector is "radio"
and the checked value is "yesno". I see no other fields on the
property inspector to apply an ID. I have even encapsulated the
"NO" radio button in a "DIV" tage with a ID=NO. But it also does
not show up in the "Set Text of Text Filed" behaviour window. Still
shows them as "input <unidentified>. Why?
Can anyone advise what I am doing wrong?
The "set text of container" and the "set text of status bar"
behaviours work just fine.
CarverW> why?
Because this behavior requires you to select elements with an
ID assigned,
not just a name (I am referring to the TARGET of the
behavior, not the
trigger).
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
==================
"CarverW" <[email protected]> wrote in
message
news:fldsdh$q60$[email protected]..
>I am attempting to apply the behaviour "Set Text of Text
Filed" to a radio
> button pair (the NO of Yes, NO) in order to fill in a
text field with
> "skip to
> question 4"
> However, when attempting to apply, I get an error
message "no ID. Set ID
> in
> the Property Inspector. I also not that while the form
text fields all
> have
> names (eg., "name", "street", etc.) The "Set Text of
Text Filed" behaviour
> windows shows them as "input <unidentified> why?
>
> The radio button name in the property inspector is
"radio" and the
> checked
> value is "yesno". I see no other fields on the property
inspector to apply
> an
> ID. I have even encapsulated the "NO" radio button in a
"DIV" tage with a
> ID=NO. But it also does not show up in the "Set Text of
Text Filed"
> behaviour
> window. Still shows them as "input <unidentified>.
Why?
>
> Can anyone advise what I am doing wrong?
>
> The "set text of container" and the "set text of status
bar" behaviours
> work
> just fine.
>
> CarverW
> -
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 -
Dreamweaver Help | Set text properties in the Property inspector
This question was posted in response to the following article: http://helpx.adobe.com/dreamweaver/using/set-text-properties-property-inspector.html
The note at the bottom of the first section (About formatting text (CSS versus HTML)) says -
"You can combine CSS and HTML 3.2 formatting within the same page. Formatting is applied in a hierarchical manner: HTML 3.2 formatting overrides formatting applied by external CSS style sheets, and CSS embedded in a document overrides external CSS."
Please be aware that embedded CSS will ONLY override external CSS if the external CSS link is closer to the tag than the embedded CSS (i.e., it comes earlier in the flow of the document). If the embedded CSS comes first in the flow of the document, it will be overridden by the external CSS instead. -
I have made a picture rotator for my website, but when I
click on the image (which initiates the rotation to the next
picture) the javascript SHOULD change the text of the specified
layer, but instead of changing the HTML, it just posts the code on
the page. Below are the codes I am using (without the picture
locations, file names, ect.)
Layer11 is the layer which the info is posted. The initial
click works fine, the text is put into the layer as HTML, and the
pic shows. When I think click on the pic, the code for the next pic
is set to the layer. Where I went wrong, I dont know.
A little help?No this a Flex layout text area. Now what it does once the page is build I dont know. I just dragged a text area control and gave it an id. Is my setStyle syntax look right?
-Miguel -
Can you extend multiple over set text boxes at once?
I am in the process of changing many large Indesign files from MAC to PC which has created, in some cases, hundreds of over set text boxes.
I'm looking for a faster way of fixing these files as extending each of these text boxes one by one is taking up a lot of time. I am currently using the pre-flight panel.
I have Indesign CC 2014.1.Not the answer to your question, but merely moving from Mac to PC should not be causing text to go overset. Seems likely you've got a font substitution, or perhaps you've also changed the version of ID, or both.
Do you have an object style assigned to the text frames? Perhaps redefining the style to include auto-sizing will solve the problem.
Maybe you are looking for
-
Shared Excel spreadsheet "missing data"
We are currently working in a mixed enviornment Excel 2003 and 2007. Files are saved as XLS so all can use the files. The workbooks are shared. Multiple people can be accessing these files at the same time. We will be in this mixed enviornment fo
-
Unable to create image-based pop-up menu
Working in FW MX (yes, I know I'm behind the times!). Created a pop-up menu; want to experiment with image-based options, rather than html. When I choose IMAGE on the Appearance tab of the pop-up editor, no styles are available in the style choosers
-
Does it Possible? Double non standard-port FTP servers on PAT?
Hello everyone! I need to know how to configure 2 ftp servers for following topology on pic. non standard ports I can do translation on 1 ftp server (http://www.cisco.com/c/en/us/support/docs/ip/network-address-translation-nat/13776-6.html) but when
-
Using CWUTU 2.0 with Prime 2.2, How to?
I don't suppose anyone is using the ol' Cisco Works User Tracking Utility 2.0 with Prime. Moving our LMS 4.2 to Prime 2.2 shortly and I pointed the CWUTU at the existing Prime 2.2 install (wireless) to see if could get a handshake. While certs were
-
What is java-based networking system?
good night everbody; can u explain how to proposed Java-Based networking system / distributed networking system?actually what is both? thanks!