Dreamweaver declares three variables for each draggable AP element: MM_UPDOWN (the y coordinate),
MM_LEFTRIGHT (the x coordinate), and MM_SNAPPED (true, if the AP element has reached the specified
target). Before you can get any of these properties, you must get an object reference for the proper AP element.
Another function, MM_findObj(AP elementname), handles that chore.
Go to URL
Dreamweaver brings the same power of links??”with a lot more flexibility??”to any event with the Go to
URL action. One of the trickier tasks in using frames on a Web page is updating two or more frames simultaneously
with a single button click. The Go to URL action handily streamlines this process for the Web
designer. Go to URL can also be used as a preload router that sends the user to another Web page after the
onLoad event has finished. The Go To URL dialog box (see Figure 12-8) displays any existing frames in the
current page or frameset. To load multiple URLs at the same time, select the first frame from the Open In
list and enter the desired page or location in the URL text box. Next, select the second frame from the list
and enter its URL; and so on. If you select a frame to which a URL is already assigned, that address appears
in the URL text box.
FIGURE 12-8
You can update two or more frames at the same time with the Go to URL action.
Pages:
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808