40 users online (0 members and 40 guests)  

Thread: xml help


  Results 1 to 2 of 2
  1. #1
    DFeurotuner's Avatar
    New User

    Status
    Offline
    Join Date
    Jan 2003
    Posts
    1

    xml help

    I am just learning flash and I'm just curious about something. I have Flash FX and it has little lessons and everything but I'm trying to build a drop down menu which will go on a paged framed.
    <?xml version="1.0"?>
    <NAV main_onColor="#000033" main_offColor="#003333" sub_onColor="#006633" sub_offColor="#006666" navWidth="150" fadeTime="22" lineWidth="150" main_y_padding="4" sub_y_padding="2" sub_indent="10">
    <MAIN text="Street Racing" expand="false">
    <SUB text="Aftermarket Parts" URL=" " target="_main"></SUB>

    Ok thats what I'm on and I get everything but, first I have a framed page with a header.html and main.html. This menu is going on the header.html and I want it to open in main, so first off is target="_main"> correct? And yes I named the frame "main". Second, do I need to use the entire url or can I just use the directory? Can I just type
    URL="srafter_home.html" ?

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    if the fram is named 'main' then the target will need to be 'main'. The preceding _ char is only for specials like _blank .
    You should be able to use just the directory. Its called a relative path.

    Welcome to the forums!
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?



Tags for this Thread