Ask a Question related to Macromedia Dreamweaver, Design and Development.
-
Murray *TMM* #1
Re: Click on Nav Bar changing content of two frames
Happy:
There is a solution for this, but you won't like it. Don't use frames.
Really.
[url]http://apptools.com/rants/framesevil.php[/url]
If you consider your options, and still elect to use frames, think about
this -
What happens to your site when you change multiple frames from a single
click, and then the viewer presses the browser BACK button?
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]news://forums.macromedia.com/macromedia.dreamweaver[/url] - THE BEST WAY TO GET
ANSWERS
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.DreamweaverFAQ.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"Happy Camper" <webforumsuser@macromedia.com> wrote in message
news:bekhhb$e5i$1@forums.macromedia.com...website is in frames.> I need two HTML pages to change when you click on the navigation. Thesecond place for it to change as well?>
> NavFrame is where the navigation lives
> LeftFrame is where I need a new HTML page to come into
> MainFrame is where the HTML already changes by clicking on the navigation
>
> There is only one choice at "When Clicked, go to URL" how do I designate a>
> Thanks!
>
>
>
> Referring URLs
> [url]http://www.visualadvocacy.com/temp/indexframe.html[/url]
>
>
>
>
Murray *TMM* Guest
-
Changing text without changing frames.
I have a small flash movie that is basically a color chooser. Rather than changing the color of an item by putting the color in a frame I change... -
Best content changing practices for a flash website
Hi list, I am developing my first Flash app in Actionscript. To learn as much as I can, I use only code to get desired functionality, having one... -
Changing cast member with a mouse click
Im trying to change the castmember of a sprite each time it is clicked on. I've managed to do it so that it changes just the once by using the "set... -
Newbie: Showing content with the click of a button...?
Okay I'll try and explain what i want to do... Basically I want to make a very simple site with flash where I have 4 buttons on the left which... -
one click - 3 frames should change
hi... i'm building my new hp using dreamwaver and face a small problem..... the page has 5 frames - all the time.... i want that when a user... -
Murray *TMM* #2
Re: Click on Nav Bar changing content of two frames
Happy:
Your client doesn't have the experience or knowhow to make this decision.
That's where you come in. You are the web developer. That's your job, not
the client's.
How about the refresh taking you back to the default frame configuration?
How about printing giving the wrong output?
Nevermind. Select the trigger and apply the gotoURL behavior to it. Now
you can change the source of every frame in your site with a single click on
that trigger by selecting a frame in list and browsing to its new source.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]news://forums.macromedia.com/macromedia.dreamweaver[/url] - THE BEST WAY TO GET
ANSWERS
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.DreamweaverFAQ.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"Happy Camper" <dragonflygt@earthlink.net> wrote in message
news:bekl5g$k7i$1@forums.macromedia.com...client, they are not bothered by the back button and bookmarking not working> I am aware of the downside of frames and have discussed them with my
(the two things that I think are the most annoying).separate areas from one click on the nav bar.... thanks.>
> That wasn't the question. I need to know if it is possible to target two>
>
Murray *TMM* Guest
-
Happy Camper #3
Re: Click on Nav Bar changing content of two frames
"Go to URL" seems to only work as a MouseOver feature, not on "OnClick" feature.
Happy Camper Guest
-
Murray *TMM* #4
Re: Click on Nav Bar changing content of two frames
Happy:
Select the event, and drop down the event list by clicking on the dark
triangle to the right of the event name in the Behaviors panel. Make sure
your Events For is set to v4+ browsers. You'll see it there....
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]news://forums.macromedia.com/macromedia.dreamweaver[/url] - THE BEST WAY TO GET
ANSWERS
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.DreamweaverFAQ.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"Happy Camper" <dragonflygt@earthlink.net> wrote in message
news:bekoub$q16$1@forums.macromedia.com...feature.> "Go to URL" seems to only work as a MouseOver feature, not on "OnClick">
>
Murray *TMM* Guest
-
Happy Camper #5
Re: Click on Nav Bar changing content of two frames
Okay, I have figured it out... it actually only takes a bit of simple scripting.
What I added to this navigation bar code is in bold. Everything else was already created by Dreamweaver.
The button with this language resides in the "navFrame", clicking it changed the content in "mainFrame" and NOT in "leftFrame", so adding the language in bold changed it to also open a new html page in "leftFrame".
<a href="approach.html" target="mainFrame" onClick="<b>parent.leftFrame.location = 'approach_left.html';</b> MM_nbGroup('down','group1','approach','images/approach_mo.gif',1)" onMouseOver="MM_nbGroup('over','approach','images/approach_mo.gif','images/approach_mo.gif',1)" onMouseOut="MM_nbGroup('out')"><img src="images/approach_mo.gif" alt="approach" name="approach" border="0" onload="MM_nbGroup('init','group1','approach','ima ges/approach.gif',1)"></a>
Happy Camper Guest
-
Murray *TMM* #6
Re: Click on Nav Bar changing content of two frames
Happy:
That's not only invalid code, it is not going to work at all! 8(
You cannot have HTML tags inside javascript calls like that -
onClick="<b>parent.leftFrame.location
The answer I gave you will work without creating invalid code.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]news://forums.macromedia.com/macromedia.dreamweaver[/url] - THE BEST WAY TO GET
ANSWERS
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.DreamweaverFAQ.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"Happy Camper" <dragonflygt@earthlink.net> wrote in message
news:bekvjt$5g8$1@forums.macromedia.com...scripting.> Okay, I have figured it out... it actually only takes a bit of simplealready created by Dreamweaver.>
> What I added to this navigation bar code is in bold. Everything else waschanged the content in "mainFrame" and NOT in "leftFrame", so adding the>
> The button with this language resides in the "navFrame", clicking it
language in bold changed it to also open a new html page in "leftFrame".onClick="<b>parent.leftFrame.location = 'approach_left.html';</b>>
> <a href="approach.html" target="mainFrame"
MM_nbGroup('down','group1','approach','images/approach_mo.gif',1)"
onMouseOver="MM_nbGroup('over','approach','images/approach_mo.gif','images/a
pproach_mo.gif',1)" onMouseOut="MM_nbGroup('out')"><img
src="images/approach_mo.gif" alt="approach" name="approach" border="0"
onload="MM_nbGroup('init','group1','approach','ima ges/approach.gif',1)"></a>>
>
>
Murray *TMM* Guest



Reply With Quote

