Professional Web Applications Themes

DW MX: How to preload images - Macromedia Dreamweaver

Hi, can anybody help how i can preload all specific images in an html page? i`m new to dw... does that work with javascript? thanks! oliver...

  1. #1

    Default DW MX: How to preload images

    Hi,

    can anybody help how i can preload all specific images
    in an html page? i`m new to dw... does that work with javascript?

    thanks!

    oliver


    mindgames Guest

  2. #2

    Default Re: DW MX: How to preload images

    oliver:

    Open the page in DMX. Select the <body> tag on the QuickTagSelector, and
    apply a PreloadImage behavior. Select images until your face turns blue.
    When blue, click OK.

    Yes, it uses javascript.

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver MX
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
    ANSWERS
    ==================
    http://www.dreamweavermx-templates.com - Template Triage!
    http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
    http://www.DreamweaverFAQ.com - DW FAQs, Tutorials & Resources
    http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
    ==================

    "mindgames" <net> wrote in message
    news:bgtfos$s4q$macromedia.com... 


    Murray Guest

  3. #3

    Default Re: DW MX: How to preload images

    On Thu, 7 Aug 2003 14:12:31 +0200, "mindgames" <net>
    wrote:
     

    The only images you need to preload are those that are not initially
    displayed in the page, like those that appear in a mouse rollover, or
    a swap image behavior. The images that appear normally in the page
    will load exactly the same regardless of whether you "preload" them or
    not. A preload for those images will only add code to your page which
    will slow it down. Other than that, do as Murray suggested for those
    images that do not appear in the page as it is initially displayed.


    Gary
    Gary Guest

  4. #4

    Default Re: DW MX: How to preload images

    Not quite true, but certainly true for the DW "preload" behaviour.

    Creating a "new Image(url,w,h)" object, makes the image immediately
    available wheen called for.
    Mick

    Gary White wrote:
     
    >
    > The only images you need to preload are those that are not initially
    > displayed in the page, like those that appear in a mouse rollover, or
    > a swap image behavior. The images that appear normally in the page
    > will load exactly the same regardless of whether you "preload" them or
    > not. A preload for those images will only add code to your page which
    > will slow it down. Other than that, do as Murray suggested for those
    > images that do not appear in the page as it is initially displayed.
    >
    > Gary[/ref]

    mick_white Guest

  5. #5

    Default Re: DW MX: How to preload images

    "mick_white" <com> wrote in message
    news:com... 


    Point? ;-)

    Gary


    Gary Guest

  6. #6

    Default Re: DW MX: How to preload images

    On Fri, 08 Aug 2003 09:15:41 -0400, mick_white <com>
    wrote:
     

    15/love.


    Gary
    Gary Guest

  7. #7

    Default Re: DW MX: How to preload images

    G,S & M
    Mick

    Gary White wrote:
     
    >
    > 15/love.
    >
    > Gary[/ref]

    mick_white Guest

  8. #8

    Default Re: DW MX: How to preload images

    On Fri, 08 Aug 2003 12:50:33 -0400, mick_white <com>
    wrote:
     

    Hmmm... I understand S&M. ;-)


    Gary
    Gary Guest

  9. #9

    Default Re: DW MX: How to preload images

    mick_white wrote:

     

    Mick,

    This I'd like to know more about. Can you elborate?

    --
    Dan Vendel - *GOF*
    http://www.vendel.info
    Contact me directly by clicking here:
    http://contact.vendel.info
    Formmail tutorial:
    http://www.vendel.info/tut/formmail.html
    Nested table demonstration:
    http://www.vendel.info/tabletut/

    Dan Guest

  10. #10

    Default Re: DW MX: How to preload images

    My syntax was a little wrong:
    <script language="JavaScript">
    a= new Image();
    a.src="../images/newsletter.gif"
    doent.write("<img src="+a.src+">")
    </script>
    Mick

    Dan Vendel *GOF* wrote:
     
    >
    > Mick,
    >
    > This I'd like to know more about. Can you elborate?
    >
    > --
    > Dan Vendel - *GOF*
    > http://www.vendel.info
    > Contact me directly by clicking here:
    > http://contact.vendel.info
    > Formmail tutorial:
    > http://www.vendel.info/tut/formmail.html
    > Nested table demonstration:
    > http://www.vendel.info/tabletut/[/ref]

    mick_white Guest

  11. #11

    Default Re: DW MX: How to preload images

    mick_white wrote: 

    It's better than if I had tried, anyway.
    But how will this work as opposed to the MM preload?
    I don't get it.

    --
    Dan Vendel - *GOF*
    http://www.vendel.info
    Contact me directly by clicking here:
    http://contact.vendel.info
    Formmail tutorial:
    http://www.vendel.info/tut/formmail.html
    Nested table demonstration:
    http://www.vendel.info/tabletut/

    Dan Guest

Similar Threads

  1. preload images error
    By sammoda in forum Macromedia Dynamic HTML
    Replies: 0
    Last Post: October 19th, 09:53 AM
  2. cd rom preload
    By subigor in forum Macromedia Director Basics
    Replies: 3
    Last Post: March 7th, 11:42 AM
  3. preload??? - help me!!
    By cienias in forum Macromedia Director Lingo
    Replies: 2
    Last Post: November 28th, 05:44 PM
  4. preload ?
    By R.Siffer in forum Macromedia Director Basics
    Replies: 0
    Last Post: November 23rd, 04:37 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