Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Animated Vs html based websites

Animated Vs html based websites

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++htmlvisual-studiohardware
16 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Stuart Dootson

    What do you mean by 'animated'? Also, pretty much all web-pages have at least an outer layer of HTML, no matter what their content.

    Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

    L Offline
    L Offline
    llp00na
    wrote on last edited by
    #5

    I meant, flash-based. I.e. they heavily use flash animation for interactivity.

    llp00na

    S 1 Reply Last reply
    0
    • L llp00na

      I meant, flash-based. I.e. they heavily use flash animation for interactivity.

      llp00na

      S Offline
      S Offline
      Stuart Dootson
      wrote on last edited by
      #6

      Right - in that case, you probably want to parse the HTTP response (which is overwhelmingly likely to be HTML) and see if it has an instance of the Flash player object embedded in it. How do you identify the Flash object? I'd suggest looking at the HTML for pages that use Flash (load them in your browser and view the page source - the Flash object instance should be reasonably easily detectable). How do you differentiate between pages that use Flash for the majority of their content and pages that just have Flash adverts? Good question - I don't know.

      Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

      L 1 Reply Last reply
      0
      • S Stuart Dootson

        Right - in that case, you probably want to parse the HTTP response (which is overwhelmingly likely to be HTML) and see if it has an instance of the Flash player object embedded in it. How do you identify the Flash object? I'd suggest looking at the HTML for pages that use Flash (load them in your browser and view the page source - the Flash object instance should be reasonably easily detectable). How do you differentiate between pages that use Flash for the majority of their content and pages that just have Flash adverts? Good question - I don't know.

        Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

        L Offline
        L Offline
        llp00na
        wrote on last edited by
        #7

        My main concern really is to detect the pages that use Flash for the majority of their content. Thanks for the try though

        llp00na

        L 1 Reply Last reply
        0
        • L llp00na

          Hi all A quick question, I have built an MFC application and embedded a web browser control. How do I know the type of the webpage accessed, whether animated or html based? Thanks

          llp00na

          M Offline
          M Offline
          Maximilien
          wrote on last edited by
          #8

          What is an animated web site ? a fully flash (or silverlight) site ? or something else ? :confused:

          This signature was proudly tested on animals.

          L 1 Reply Last reply
          0
          • M Maximilien

            What is an animated web site ? a fully flash (or silverlight) site ? or something else ? :confused:

            This signature was proudly tested on animals.

            L Offline
            L Offline
            llp00na
            wrote on last edited by
            #9

            An animated website is a flash-based website. All/ Major content is flash.

            llp00na

            M 1 Reply Last reply
            0
            • L llp00na

              An animated website is a flash-based website. All/ Major content is flash.

              llp00na

              M Offline
              M Offline
              Maximilien
              wrote on last edited by
              #10

              After parsing the html source, how can you decide that the major content of a page is in flash or not ?

              This signature was proudly tested on animals.

              L 1 Reply Last reply
              0
              • M Maximilien

                After parsing the html source, how can you decide that the major content of a page is in flash or not ?

                This signature was proudly tested on animals.

                L Offline
                L Offline
                llp00na
                wrote on last edited by
                #11

                How can you do that?

                llp00na

                B 1 Reply Last reply
                0
                • L llp00na

                  How can you do that?

                  llp00na

                  B Offline
                  B Offline
                  bulg
                  wrote on last edited by
                  #12

                  Website is a display. While some people unfortunately use diagonals to measure displays, I prefer width and height attributes. Fortunately, so do s in webpages, usually. All that's left to do is pick a "total area" number, & compare.

                  L 1 Reply Last reply
                  0
                  • L llp00na

                    Let me try again I know what HTML and HTTP headers are. I am trying to detect this automatically. Let's say the user types in the URL of a website, I want the application to report back to him: The website you entered is "Fully nnimated" Or The website you entered is "HTML-Based" You got my question now???

                    llp00na

                    CPalliniC Offline
                    CPalliniC Offline
                    CPallini
                    wrote on last edited by
                    #13

                    llp00na wrote:

                    You got my question now???

                    Maybe. And maybe I don't care a bit about. :)

                    If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                    This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                    [My articles]

                    In testa che avete, signor di Ceprano?

                    1 Reply Last reply
                    0
                    • B bulg

                      Website is a display. While some people unfortunately use diagonals to measure displays, I prefer width and height attributes. Fortunately, so do s in webpages, usually. All that's left to do is pick a "total area" number, & compare.

                      L Offline
                      L Offline
                      llp00na
                      wrote on last edited by
                      #14

                      Thats good idea which I started to implement now Thanks

                      llp00na

                      L 1 Reply Last reply
                      0
                      • L llp00na

                        My main concern really is to detect the pages that use Flash for the majority of their content. Thanks for the try though

                        llp00na

                        L Offline
                        L Offline
                        led mike
                        wrote on last edited by
                        #15

                        llp00na wrote:

                        Thanks for the try though

                        Thanks for the try? Really? That is the answer to your question, period. Not surprisingly it's the same one I gave you. You seem to want us to believe that you have a clue about what you are doing. The problem is that your post don't indicate that in any way.

                        1 Reply Last reply
                        0
                        • L llp00na

                          Thats good idea which I started to implement now Thanks

                          llp00na

                          L Offline
                          L Offline
                          led mike
                          wrote on last edited by
                          #16

                          llp00na wrote:

                          Thats good idea

                          Really, it's a good idea now, it just wasn't a good idea the first two times people gave it to you? What a frakin monkey. X|

                          1 Reply Last reply
                          0
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • World
                          • Users
                          • Groups