Professional Web Applications Themes

Attaching "OnClick" Javascript code to dhtml popup menu links - Macromedia Fireworks

I am currently developing a web site using fireworks, and am trying to figure out a way (through hand-coding) of attaching a javascript function (onClick="doit=false") to each of the links in my fireworks-generated dhtml popup menus. Does anyone here know where I would add this javascript function in the code so that it would be recognized? And do I do it in the html, or in the JS file? The javascript function I need to add is supposed to supress an exit popup window. If I can't attach it to the links in the dhtml popup menu, then that means ...

  1. #1

    Default Attaching "OnClick" Javascript code to dhtml popup menu links

    I am currently developing a web site using fireworks, and am trying to figure out a way (through hand-coding) of attaching a javascript function (onClick="doit=false") to each of the links in my fireworks-generated dhtml popup menus. Does anyone here know where I would add this javascript function in the code so that it would be recognized? And do I do it in the html, or in the JS file?

    The javascript function I need to add is supposed to supress an exit popup window. If I can't attach it to the links in the dhtml popup menu, then that means that the popup will get spawned every time
    someone clicks on one of the links, which would obviously be a problem. Any tips or advice would be appreciated.

    thanks,
    - yvan


    yvangagnon webforumsuser@macromedia.com Guest

  2. #2

    Default Re: Attaching "OnClick" Javascript code to dhtml popup menu links

    Thank you so much! That's exactly the kind of information I was looking for.

    Much appreciated sir.

    Cheers,

    - yvan




    yvangagnon webforumsuser@macromedia.com Guest

Similar Threads

  1. Help! A "Connect to" popup menu appears when trying toplay a video
    By bjensen123 in forum Macromedia Shockwave
    Replies: 0
    Last Post: November 7th, 09:44 PM
  2. javascript help needed: Trapping "null" from pop up menu so it doesn't display
    By Steve_Egge@adobeforums.com in forum Adobe Acrobat Windows
    Replies: 3
    Last Post: May 20th, 08:59 PM
  3. Javascript menus show "under" .SWF files need Netscape code!
    By CynthiaSalzmanxxxx webforumsuser@macromedia.com in forum Macromedia Flash Sitedesign
    Replies: 1
    Last Post: January 22nd, 05:33 AM
  4. Resetting "Visited" links to "links" color when new browser opens
    By cubeman in forum Macromedia Dynamic HTML
    Replies: 2
    Last Post: January 11th, 03:52 PM
  5. "Start" "Program" "Menu" list is empty
    By Pete in forum Windows XP/2000/ME
    Replies: 2
    Last Post: July 10th, 10:42 PM

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