iFrame and XML

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • jorujuja
    Second Lieutenant

    • Mar 2007
    • 149

    iFrame and XML

    I have a webpage (page 1.html) with an iFrame. I also have an .swf file in a separate webpage (page 2.html) that uses .xml to load a pic as well as go to a URL.

    Now my question is - how do I indicate in the .xml file to go to (page 1.html) and load exactly (page 3.html) file into the iFrame?

    I hope I made it clear.
  • Vasili
    Moderator

    • Mar 2006
    • 14683

    #2
    Re: iFrame and XML

    Your preoccupation and fascination with iFrames will prove to be your site's undoing ...

    Over-use of them is dangerously problematic, as it removes the traditional construct standard of attributing hard Content to a page to form the basis of page relevancy and the framework for the Kew Words, Page Description, and even the Navigational referencing to demonstrate interdependence and modelling. With no such valuation vaildation framework available for the Search Engines to determine the true nature of the web page, they will instead flag it as either counterfeit or in complete non-compliance with the set standards for W3 construct.
    Using a distinct element such as an iFrame, slideshow, scroller, any display scripting -- basically any element not truly constructed as of the page, not just on the page --- these in total combination should never account for more than 15% (10% is really preferred) of the total page construct, otherwise it will be seen as non-compliant and in violation (the SE's will "grade" the degree of your violation if they can properly identify your intent, but in this case, it is so illogical they may simply hard-flag the site without assigning a reason).

    The same goes for naming pages .... if you are publishing pages using "page2.html" and "page3.html" then you are also removing a key element in establishing site relevancy and METADATA development. Page titles should be carefully named to mesh seamlessly with the page Content, KW, Description, H-Tags, and even the image titles ... all carefully woven into a fabbric of obvious relevancy.

    Get committed to the basics and eschew the seeming convenience, simplicty, and flamboyance of being too clever and create web pages and websites that are in full compliance with the standards and that will perfom reliably to produce predictable results.

    To answer your original question ....

    The same as you normally would, using the same command as you used for page 1 to 2.
    The iFrame will present whatever page you tell it to in it's entirety, no matter what kind of content is on it and despite however you constructed that page ... if you have a SWF display embedded on the page along with an iFrame, it will all be shown in the 3rd iFrame you construct: it is going to display whatever page you tell it to completely.

    This whole method of using iFrames is not only completely illogical, it is going to result in your site being flagged by the SE's (be it a BV, CMS, XML+Flash, or whatever type) .... they see the strong use of iFrames as a sign that someone is ripping other sites for their content. Period. There is nothing prevent authorized Users from placing Content on their pages they are entitled to use, and that is why the whole valuation system is geared to core, unique, and solid construct Content. Which is why even CMS installations caution against using more than 2 'Wrapper'-based pages...


    PS: These Forums preferrably support VodaHost clients using Blue Voda Website Builder, and commonly extend assistance to other web building technologies as they apply to these client sites .... if you are tweaking XML there are better free resources to glean coding from than to assume finding solutions here upon spurious demand. If you are tweaking a template, for example, you are better off seeking help from the provider of that template rather than these VodaTalk Forums!
    . VodaWebs....Luxury Group
    * Success Is Potential Realized *

    Comment

    • jorujuja
      Second Lieutenant

      • Mar 2007
      • 149

      #3
      iFrames

      Ok, my mistake I forgot to mention in my earlier post that I have a Voda account and that I used BV in creating the pages. My intention is just to load several mini pages one at a time inside the iFrame upon clicking buttons from my .swf menu from another page. And all these mini pages are all mine from another location in my directory and not from other sites. Also, each contains only a single .swf file.

      Regarding naming the pages "page1.html" etc., I just used that to show or illustrate fully my question without exactly mentioning the actual pages. Of course I followed proper naming convention. And yes you're right, I'm trying to tweak an .xml file.

      Now you mentioned the drawbacks of over-using iFrame, I guess I should avoid this from now on since the size of the iFrame is about 30% of the whole page. Do you have other suggestions in loading these mini pages in BV? Thank you.

      Comment

      • Vasili
        Moderator

        • Mar 2006
        • 14683

        #4
        Re: iFrames

        Provide a valid URL for an intelligent reply.
        . VodaWebs....Luxury Group
        * Success Is Potential Realized *

        Comment

        • jorujuja
          Second Lieutenant

          • Mar 2007
          • 149

          #5
          Re: iFrame and XML

          Did you get the URL I provided just before you moved my reply?

          Comment

          • Vasili
            Moderator

            • Mar 2006
            • 14683

            #6
            Re: iFrame and XML

            No Sir! Not in any of your 103 posts have you ever provided a valid URL.
            Your posts have not been edited, deleted, "lost" or otherwise anything different than how you created them ... only moved/merged.
            . VodaWebs....Luxury Group
            * Success Is Potential Realized *

            Comment

            • jorujuja
              Second Lieutenant

              • Mar 2007
              • 149

              #7
              Re: iFrame and XML



              pause and click on the 2nd image in the gallery menu. This will open the projects page, but it's not loading the assigned mini page for that image. Instead, the iFrame is loading the 1st mini page based on the list on the left side.

              Comment

              • Vasili
                Moderator

                • Mar 2006
                • 14683

                #8
                Re: iFrame and XML

                The error sound indicates a corruptuion of the coded command in the mouseover script: you are missing simple characters.
                Page-to-page, your coding is not consistent either, as the navigation is not functional: you cannot return Home from Services page, for instance, and if instead mnoving to Projects and then to Home, the Home page will not re-load the slideshow due to the coding error (and the fact the iFrame presents a scripting that is not re-loadable upon return to an already cookied page).

                If you have saved (previously copied+pasted) the original scripts into a document, I would simply compare them side-by-side and line to line to reveal the missing characters to find the error of omission, and once corrected, be sure to replace them and re-publish. Be sure to also paste in the proper navigational scripts (footer) onto each page to assure the ability to move about the site normally.

                Seriously, though, your scheme is overly-labored, and strains the rules of construct: you have too many scripts performing simple tasks that should be running lighter on the pages, all of which can be done without the use of a single iFrame. Seriously!
                Each rollover/mouseover link should present a separate page normally constructed rather than a "duplicated" (redundant) mechanism that relies on heavy scripting.

                Methinks you latched onto understanding the art of swallowing a camel and straining on a gnat to a frustrating disadvantage!
                . VodaWebs....Luxury Group
                * Success Is Potential Realized *

                Comment

                • jorujuja
                  Second Lieutenant

                  • Mar 2007
                  • 149

                  #9
                  Re: iFrame and XML

                  Yeah well, the site is still under construction as you can see not all pages are functioning properly. Bottomline - don't use iFrame.

                  With regards to scripting, I didn't do much actually since all pages are done with BV. I just tried to tweak the .xml file that's all. Thank you.

                  Comment

                  Working...
                  X