Professional Web Applications Themes

Help Please!! - Macromedia Dreamweaver

I have a dynamic list that users can select multiple choices and I want on the edit page to have all those choices pre-selected. The values are grouped in one field separated by commas. In other words my list menu is populated from another table but the selections are grouped into one field in the other table. Below is my current code (that doesn't work). How can I modify this for it work. ==================== <option value="<%=(Pages.Fields.Item("ID").Value)%>" <%If (Not isNull((EditPhotos.Fields.Item("PageID").Value))) Then If (CStr(Pages.Fields.Item("ID").Value) LIKE CStr((EditPhotos.Fields.Item("PageID").Value))) Then Response.Write("SELECTED") : Response.Write("")%> ><%=(Pages.Fields.Item("Title").Value)%></option> ==================== Thanks...

  1. #1

    Default Help Please!!

    I have a dynamic list that users can select multiple choices and I want on
    the edit page to have all those choices pre-selected. The values are grouped
    in one field separated by commas. In other words my list menu is populated
    from another table but the selections are grouped into one field in the
    other table.

    Below is my current code (that doesn't work). How can I modify this for it
    work.
    ====================
    <option value="<%=(Pages.Fields.Item("ID").Value)%>" <%If (Not
    isNull((EditPhotos.Fields.Item("PageID").Value))) Then If
    (CStr(Pages.Fields.Item("ID").Value) LIKE
    CStr((EditPhotos.Fields.Item("PageID").Value))) Then
    Response.Write("SELECTED") : Response.Write("")%>
    ><%=(Pages.Fields.Item("Title").Value)%></option>
    ====================


    Thanks



    Kory Guest

  2. #2

    Default Help Please!!

    [url]http://www.spodbury.pwp.blueyonder.co.uk/Best4Bathrooms/blank.htm[/url]

    This is the template I am trying to do! The cells coloured blue need to have
    a blue bubble pattern on it - the grey cells need a grey bubble pattern!

    I also need to get rid of the lines of break between the cells so the colour
    blocks are continous!

    How can I do this please??

    Thanks,

    Steve


    Steve Podbury Guest

  3. #3

    Default HELP PLEASE!!

    why i can't make this

    if (Key.isDown(Key.w)) {
    this._x -= 1 ;
    }

    work like this

    if (Key.isDown(Key.UP)) {
    this._x -= 1 ;
    }

    ???

    is any other way to rewrite this bit of code:

    if (Key.isDown(Key.w)) {
    this._x -= 1 ;
    }

    with the exact same meaning
    I tryed to combine with the ascii code but i can't make it work...
    quimkaos Guest

  4. #4

    Default Re: HELP PLEASE!!

    keyboard "w" is not a Key.Constant as are Key.UP, Key.END etc
    add this code to a new movie to check the getCode() and getAscii() values -

    this.createTextField("traceR1",10,100,50,0,0);
    this.createTextField("traceR2",20,100,100,0,0);
    traceR1.autoSize = traceR2.autoSize = true;

    aformat = new TextFormat();
    aformat.bold = true;
    aformat.size = 22;
    aformat.color = 0x0000FF;

    myObj = new Object();
    myObj.onKeyDown = function() {
    a = Key.getCode();
    b = Key.getAscii();
    c = String.fromCharCode(b);

    traceR1.text="Key pressed: "+c+" - getAscii: "+b+" - getCode: "+a;

    if(a==90)traceR2.text= "Key - "+c+" getCode: "+a; // "Z"
    if(a>95 && a<106)traceR2.text= "NumPad - "+c+" - getCode: "+a;
    if(a>47 && a<58)traceR2.text= "Number - "+c+" - getCode: "+a;

    traceR1.setTextFormat(aformat);
    traceR2.setTextFormat(aformat);
    };

    Key.addListener(myObj);


    hth

    "quimkaos" <quimkaosnetcabo.pt> wrote in message
    news:c0b72v$707$1forums.macromedia.com...
    why i can't make this

    if (Key.isDown(Key.w)) {
    this._x -= 1 ;
    }

    work like this

    if (Key.isDown(Key.UP)) {
    this._x -= 1 ;
    }

    ???

    is any other way to rewrite this bit of code:

    if (Key.isDown(Key.w)) {
    this._x -= 1 ;
    }

    with the exact same meaning
    I tryed to combine with the ascii code but i can't make it work...


    Jack Guest

  5. #5

    Default Help Please!!

    :beer;
    I play the daily draw free game, but since I have had broadband (not sure if
    this is the cause) the stars which appear at the end of the game to scratch off
    for prize points appear, then immediately dissapear, leaving the screen as it
    would be if I scratched and clicked collect points. I can get round this by
    zeroing the info flash can store, reload the page and then allowing flash to
    store when it refreshes. This happens in firefox 1.5 and IE6, so do not think
    it is a browser issue. More simply, there is a point where the flash is
    supposed to stop and wait for an action, but it continues straight through to
    the end of the play. Any help appreciated. I have reinstalled the flash,
    browsers and even (due to another problem) XP pro sp2.

    ChickenGeorge Guest

  6. #6

    Default Re: Help Please!!

    I need help with flash8.ocx. I play a game on the internet and it comes up with an error and closes the IE. Could somebody please reply with help.
    tomkom1 Guest

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139