Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Targeting Frames with Flash Buttons

Status
Not open for further replies.

flynturtle

Technical User
Aug 21, 2001
4
US
My Web site has frames, left and right. I made flash buttons in dreamweaver, the buttons will go in the left frame. I want my buttons to target my right frame.

How do I do this? Is there a tag I can add to the code? If there is, where exactly can I put it.
All I saw as far as targeting was: parent, top, blank and self. Im not an expert on web design...Im new, so they made no sense to me.

I made the buttons in Dreamweaver4.
Please help...this is driving me nuts!

This is the code it gave me without any targeting:
Code:
<p><object classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot;[URL unfurl="true"]http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0&quot;[/URL] width=&quot;100&quot; height=&quot;23&quot;>
    <param name=movie value=&quot;button1.swf&quot;>
    <param name=quality value=high>
    <param name=&quot;BGCOLOR&quot; value=&quot;#8B3F89&quot;>
    <embed src=&quot;button1.swf&quot; quality=high pluginspage=&quot;[URL unfurl="true"]http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash&quot;[/URL] type=&quot;application/x-shockwave-flash&quot; width=&quot;100&quot; height=&quot;23&quot; bgcolor=&quot;#8B3F89&quot;>
    </embed> 
  </object></p>
 
I'm guessing the reason you are not get left and right frame options is because you haven't named them. You ened to name them before you can send anything to them!

Click windows + frames,

Then Click windows + properties.

IN the frames box click on the right frame. IN the properties box, does it have a title? If not, give it one. Do the same with your left frame. Go back to your buttons and the two new names shoudl appear in the target box.

Hope this helps.

 
Okay..here's the problem
I didn't create my pages in dreamweaver. The only page I have used dreamweaver with is the new page with the buttons.

My pages are set up like this.
index.html, left.html, and right.html

Left-the page with the buttons
Right-currently &quot;right.html&quot; is my home page, (I need to rename it to home.html&quot;
Index-the page that pulls them together

The site is still up with the old links on the left side (instead of new buttons) With the links, the code can target the right side...but with the new page with the new buttons..I don't know how to get them to target the right side.

Any help would be appreciated. I love my new buttons I made..and would like to be able to make it all work.

Here is the site:


I'm still new to all of this...I hope I am making sense.
 
I'm also pretty new, and I hade the same problem when using frames.

Don't confuse naming the pages, with giving the frames a title. Right

Open up your framed page.
Clcik on windows + frames
Click on windows + properties. You should now have a box on your screen with the heading&quot;frames&quot; and the property manager open.

Click on the frame in the frame box that represents you right frame. The url will be displayed in the proepty manager....

UNDERNEATH the heading Frame Name in the property manager is an empty box. Type something in here... say.. righton.

Click back on one of your left buttons. Yous hould now have and option in the property manager to select target&quot;righton&quot;

Once again.

right.html is the file name. Yes you need thhis
righton, is the FRAME name. you need to name the frame, so you can tell right.html were to open.
 
Thanks for helping me Nippi...but now I have a new dilema!!
I fixed all of the targeting probs...Everything worked while viewing it in Dreamweaver, it also looked fine when I used Internet Explorer to preview it all before I uploaded it.
I uploaded all of the new stuff to the server (AOL), and now most of it shows up when I pull it up in Internet Explorer...everything except for the actual buttons. The background in the left frame is there..and you can see a faint outline of the buttons...but no actual buttons..and no links!!!
What in the world is up with that??
Go see for yourself...
 
OKAY>>>I'M AN IDIOT!!!

First rule in web design.....CHECK YOUR CODE!!!!!
Stupid mistake. My code was saying &quot;button1.swf&quot;, but my file was saved as &quot;BUTTON1.SWF&quot;
I forget that dreamweaver isn't all that picky about it...but evidently the servers at AOL are!!!

YAY ME!!!! I actually fixed it!!!

My mom will be soo thrilled...it's her site!!

Thanks for your help Nippi...I learned alot about dreamweaver today!!!!
 
Glad I could help. I only started working with computers a few months ago and got heaps of help from this site. Dreamweaver is the most amazing piece of software, even more amazing is the vast number of people around the world who provide free help, tutorials, advice, extensions.

As a beginner who made heaps of msitakes at the very start, it easy for me to help on simple things, as I amde all the same mistakes too.

Good luck with your site.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top