1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Stopping Flash content downloading on page load?

Discussion in 'PHP' started by mark_s, May 28, 2009.

  1. #1
    I've installed a Firefox extension called 'YSlow' and it says my website is 1933K big... the reason it says this is because it is counting all the Flash videos I have hidden in expandable sections. I thought the movies would only take up file size when the user clicks the expandable link.

    Can someone tell me if my website really is that big for a normal user?

    If it is then it would be awesome if someone could advise how I fix it so the movies don't contribute to the web page filesize.

    http://tinyurl.com/nknzjd
     
    mark_s, May 28, 2009 IP
  2. johnkramlich

    johnkramlich Peon

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You could use jQuery to add the tags to the Flash files only when a user expands your hidden sections. That should make your pages load much quicker.
     
    johnkramlich, May 31, 2009 IP
  3. mark_s

    mark_s Peon

    Messages:
    497
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Sorry I don't understand what you mean?
     
    mark_s, Jun 3, 2009 IP