Ask a Question related to Macromedia Dreamweaver, Design and Development.
-
TheKeith #1
need help using javascript to target a frame!
First off, please excuse the crossposting--I really need an answer quickly.
I have a decent amount of experience with html but not javascript. Currently
I'm using dreamweaver to do a photo gallery where I have a whole bunch of
thumbnail pics within an iframe. These thumnail pics are to swap an image in
the parent frame with whichever thumbnail was clicked. I assigned a name to
the pic in the parent frame which is to get replaced (i.e. "viewer") and I'm
using dreamweaver's built-in js code to accomplish the swap. Here is an
example of the code that dreamweaver generated:
<a href="#" onClick="MM_swapImage('viewer','','buildingcorner. jpg',0)"><img
src="buildingcorner.jpg" name="Image1" width="142" height="100" border=0
id="Image1"></a>
the swapimage refers to a function in the head section of the page, but I
don't think there is anything wrong with this as I've used it before without
any problems, but never with frames involved. I did manually change the
section within the parenthesis since dreamweaver doesn't seem to be able to
target other frames. My question is basically, how can I make this code
work. I tried modifying it a bit, like 'parent.viewer', but that did
nothing. What can I do to make this work--help would be greatly
appreciated--thanks.
Keith
kegepet
at
nyc dot
rr dot
com
TheKeith Guest
-
Help, Target Frame Error
I have a new state that I am adding to a flashmap, and have a major problem with the action script not being able to find the Target Frame. This... -
Detecting target frame (if any) in ASP?
Is there a way in ASP to figure out if a page that is being loaded is being loaded into a frameset? I know I can code this in javascript, but I... -
Pop Up Menu Target Frame Problem
I have created a rather large pop up menu in Fireworks MX. My site consists of two frames: one that has the pop up menu navigation bar and the second... -
target frame for buttons
Hello all. I am new to Flash MX and am wondering how to get my flash buttons to target a specific frame. Please help! -- AndY ... -
PLEASE - Session Variables OR Response.Write querystring to target frame?
Hi, I'm doing an asp.net app (first one) and NEED to use frames (so please don't tell me not to!). I'm loading a mainframe.htm with two aspx files...



Reply With Quote

