Iframe shows only code - Help, please!

I'm on OS X 10.4.5 and have designed a website that uses iframes (this is a must as there is a lot of content and I do not want the page bigger than the set size, so I need a way to scroll the content within the page size (955x600). I use Firefox for myself (and it looks great) but the person I'm doing the site for uses Safari. When he sees it, needless to say, it isn't going to look right. All it's displaying is the code for the iframe page as if I'm viewing the source for the page (within the iframe on the main page). Have they fixed the problem with iframes in Safari? And if so, what do I need to make it work in both browsers? Or is there another design tactic I can use instead of iframes?
Any help or suggestions are very appreciated.
Thanks!
Mac mini   Mac OS X (10.4.5)  

I actually found my error. It wasn't code within the file but I had saved it as a .php file (based on a file I found at another website that used it for their iframe) and when I changed it to .html it worked! But thanks, again, for your advice because it caused me to research iframes and I found they were all using .html/.htm files to call on.

Similar Messages

  • Cannot restore my brand new iphone 4s ,got stuck in DFU mode and itunes shows error code (-1) please help?

    Cannot restore my brand new iphone 4s ,got stuck in DFU mode and itunes shows error code (-1) please help?
    repeatedly tried from diffierent computers and the same error code pops up (error -1)

    That's a hardware problem which will require a trip to the Apple store for evaluation, unless your phone has been jailbroken, then it's a corrupt hosts file (and we can't help you with that here as it is against the forum's terms of use).

  • HT201263 i have iphone 3gs, after restoring my phone it shows only apple logo please help me

    i have iphone 3gs, after restoring my phone it shows only apple logo please help me

    See your other post on this Topic...
    https://discussions.apple.com/message/22315227#22315227

  • Iframe showing only white and no scroll bar

    Hey
    I am trying to make a site with 3 iframes that scroll vertically ( to right ).
    My file is a sliced table.
    After watching a tut vid on layers mag I finally ventured into some code.
    <IFRAME src="images/cow_thumb.html" width="196" height="282" frameborder="no" scrolling="yes">
    in the browser test i see a white box only
    my test page This image is just a quick build to work on function I repeated the images in ps.
    <html>
    <head>
    <title>cow-thumb</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <!-- ImageReady Slices (cow-thumb.psd) -->
    <img src="images/cow-thumb.jpg" width="72" height="360" alt="">
    <!-- End ImageReady Slices -->
    </body>
    I do not have a scoll bar anywhere and the image is white. What am I doing wrong?
    Thanks!

    Thanks, I do need help, the information is foreign to me, I should have said I am new at this.
    How did I get the iframe if there is no code? I wrote code, tried to do did what this vid taught...
    http://layersmagazine.com/using-iframes-in-adobe-dreamweaver.html
    thanks so much!
    Date: Sat, 6 Aug 2011 18:19:19 -0600
    From: [email protected]
    To: [email protected]
    Subject: iframe showing only white and no scroll bar
    Thanks for the link.
    There is no code on that page calling to display an iframe.
    Fix these errors and we can move on
    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.annie-art.com%2Findex.htm&charset=%28de tect+automatically%29&doctype=Inline&group=0
    I f you need help, just holler!
    >

  • My ipad is taking restart automatically and screen is fully balck and showing only apple logo.please give me solution for that

    my ipad is taking restart automatically and screen is fully balck and showing only apple logo.please give me solution for that

    Have you tried a reset first? If it works, you won't have to go through the restore process.
    Hold down the sleep (upper right hand top) and the home button at the same time. A slider will appear. Ignore it and keep holding down the buttons. The Apple logo shoud appear. Then your ipad might work again. It takes a good 15 seconds. You will not lose anything on your ipad.
    If you try it a couple of times and it doesn't work, you might have to go through the restore process as has been suggested above. But follow the steps so you don't lose your data.
    Hope this helps.

  • Hi, I have installed boot camp with wins xp home but i can't get on line with it. can only one help please.

    Hi, I have installed boot camp with wins xp home but i can't get on line with it. can only one help please.

    Please close this thread, I have managed to get a hold of a DVD including all the drivers, so I suppose that will work, if not one way then another.
    Thank you for the quick answers.

  • HT201412 my phone restore but does not starts it shows only apple logo please help me

    HI
    My i phone restore but does not start it shows only apple logo & charging it was not connect to i tune please help me

    See your other post on this Topic...
    https://discussions.apple.com/message/22315227#22315227

  • HT5622 I have set up my ipad but cant remember the 4 digit code I put in . I cloud does not seem to have any record of me and the ipad mini keeps locking me out as i try different codes - help please

    Help please I have just got my Ipad Mini and set it up but cant remember the code I put in. I cant access settings or anything else as it has locked me out. Ive treid Icloud but it doesnt recognise tht I have registered. Can anyone give me straightforward instructions on how to start again please

    This is the guidance from Apple:
    http://support.apple.com/kb/HT1212
    Barry

  • Browser shows only codes instead of graphics

    Hi,
    I've got a problem
    When I test out (f12) my design, the window browser showed
    only html and my style sheet. Normally, I would see my graphics.
    Does this have anything to do with MYSQL and APACHE on ? I am
    using Wamp and dreamweaver cs

    Post a link to the site if you hope to have someone figure it
    out..
    gary
    "RunRunforest" <[email protected]> wrote in
    message
    news:gb8ld2$jc1$[email protected]..
    > Hi,
    >
    > I've got a problem
    >
    > When I test out (f12) my design, the window browser
    showed only html and
    > my
    > style sheet. Normally, I would see my graphics.
    >
    > Does this have anything to do with MYSQL and APACHE on ?
    I am using Wamp
    > and
    > dreamweaver cs
    >
    >
    >

  • My itunes changed language and shows squares. HELP PLEASE.

    One day I opened Itunes and there were a bunch of boxes where the nav. bar is and i can't read anything because it just changed language. I figured out which tab goes to Edit>Preferences or whatever it is, and I tried changing the language, and they all look exactly the same; nothing changes.
    I tried uninstalling and reinstalling. Didn't work.
    I tried again, this time, searching and deleting every bit of itunes/quicktime/apple software on my computer. Stil didn't work.
    Can someone help please?!

    Hello, Welcome to discussions.
    Based on what info you provided couple links below may help you out more. If by chance you are able to take a screen shot of what iTunes looks like it may better help the community offer further assistance.
    Quick Suggestions
    -Uninstall or Disable any software that may be used to modify windows themes and how it looks
    *More info on how to change Windows XP themes without other installed programs can be found via your search engine using keywords " change windows theme " " changes windows xp theme "
    -Download and update all Windows Updates and updates from your computer manufacture.
    http://windowsupdate.microsoft.com/
    iTunes: Pink iTunes window under iTunes XP/Vista
    http://support.apple.com/kb/TS2030
    Trouble installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/HT1926?viewlocale=en_US

  • Design not showing only code

    Hello, I have Dreamweaver showing both the code and design
    view. However, when I type in the code and want to see the design
    in split screen, only the code is showing in the design window. I
    am using a table to add some images. For my table I know have a
    greeen outline of the table that shows the layout, which I did not
    have last time I did a table. Not sure what is going on. Thanks for
    any help.

    take a look in the dw menu-->View-->Table View
    Which one has a checkmark next to it?
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • PHP/mySQL code help please

    Hi all,
    Thanks to David Powers fab tutorial I am now well on my way to competeing my first dynamique website using PHP/mySQL, (thanks David ), however I am stuck on one particular area....can anyone please help?
    I know that the mySQL database uses the format YYYY/MM/DD for dates, and that is fine. I've sorted out how to display in a more regular format (eg. 1st September 2011) for my application, but I am stuck on how to convert a more regular formatted date entered by the site user into the mySQL format.
    Ideally I would like for the users entry or say either 1/9/11 or 1-9-11 (or something along those lines, to be recognised and displayed on the entry form, but to have a backend function that converts the data to mySQL format. I seem to be reading plenty of forum posts which say this can be done, but unfortunately I can't quite seem to fathom how, or where the code should sit. Would someone mind taking a look at my code page to actually identify what I need to insert, and equally as importantly...where!!!
    Along these lines...is it possible to have a mini-calendar date picker that could be embedded next to the date entry field to ensure that a valid date is entered and in the correct format? Where could this be sourced?
    Thanks in advance of some much needed help
    Mark

    This is becoming really frustrating for me (so god knows how I am to you!!!!), but I usually pick things up so fast and yet this whole PHP/SQL thing is eluding me!!
    I can see (I think) how the code would work, but am struggling to see where it fits into place with my own Dreamweaver 'Update Record' code, as follows. I have spent a couple of days trawling through PHP.net and various other sites and forums before bringing my stupidity to the public domain, but I just can't seem to crack it.
    This one last time then i'll leave you in peace??????
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "form1")) {
        $updateSQL = sprintf("UPDATE gig_guide SET `date`=%s, town=%s, venue=%s, private_or_public=%s, start_time=%s WHERE `index`=%s",
                           GetSQLValueString($_POST['date'], "date"),
                           GetSQLValueString($_POST['town'], "text"),
                           GetSQLValueString($_POST['venue'], "text"),
                           GetSQLValueString($_POST['type'], "text"),
                           GetSQLValueString($_POST['start_time'], "text"),
                           GetSQLValueString($_POST['index'], "int"));
      mysql_select_db($database_online, $online);
      $Result1 = mysql_query($updateSQL, $online) or die(mysql_error());
      $updateGoTo = "index.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $updateGoTo .= (strpos($updateGoTo, '?')) ? "&" : "?";
        $updateGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $updateGoTo));
    $colname_updatePost = "-1";
    if (isset($_GET['index'])) {
      $colname_updatePost = $_GET['index'];

  • HT4623 icant get ipod touch to turn on. the picture says to connect to itunes. when i connect to computer it says to enter pass code but will not gog to screen to enter code.help please

    i can not get ipod touch to turn on.  it shows picture to  connect to itunes but it says to enter  pass code but will not gogto screen to enter code.  HELP PLEASE

    See Here  >  http://support.apple.com/kb/HT1808
    You may need to try this More than Once...
    Be sure to Follow ALL the Steps...

  • Need a little code help please

    I am writing a program that shows a house with some clouds moving a the top. I have all the class compiling correctly, when it runs the clouds and background are painted over the house. I think I am just missing something small here. Can someone help me please. Thanks.
    public class BallApp extends javax.swing.JFrame {
      public BallApp (String title) {
        super(title);
        this.setSize(600, 450);
        this.setDefaultCloseOperation(javax.swing.JFrame.EXIT_ON_CLOSE);
        this.add(new BallPanel());
        this.setVisible(true);
        this.add(new LinePanel());
        this.setVisible(true);
      public static void main (String [ ] args) {
        BallApp app = new BallApp ("Chapter 7: BallApp");
    public class LinePanel extends javax.swing.JPanel
       private SmartLine _myLine, _myLine2, _myLine3;          //instance variables for lines
       private SmartLine _myLine4, _myLine5;
       public LinePanel()
         super();
         _myLine = new SmartLine(210, 290, 210, 365, java.awt.Color.BLACK);  //creates lines sets position/color
         _myLine2 = new SmartLine(290, 290, 290, 365, java.awt.Color.BLACK);
            _myLine3 = new SmartLine (210, 365, 290, 365, java.awt.Color.BLACK);
         _myLine4 = new SmartLine (200, 300, 250, 245, java.awt.Color.BLACK);     
         _myLine5 = new SmartLine (250, 245, 300, 300, java.awt.Color.BLACK);
         this.setBackground(java.awt.Color.BLUE);     //sets background color
       public void paintComponent (java.awt.Graphics aBrush)
         super.paintComponent(aBrush);          //method paints lines on to panel
         java.awt.Graphics2D betterBrush = (java.awt.Graphics2D) aBrush;
         _myLine.draw(betterBrush);
         _myLine2.draw(betterBrush);
         _myLine3.draw(betterBrush);
         _myLine4.draw(betterBrush);
         _myLine5.draw(betterBrush);
    } //end of class
    public class BallPanel extends javax.swing.JPanel implements Mover {
        private final int INIT_X = 75; // attributes
        private final int INIT_Y = 75;
        private final int INIT_X1 = 0;
        private final int INIT_Y1 = 0;
        private final int DIAMETER = 60;
        private final int INTERVAL = 100;
        private BouncingBall _ball, _ball2; // components
        private MoveTimer _timer;
        public BallPanel () {
         super();
         _ball = new BouncingBall (java.awt.Color.white, this); 
         _ball2 = new BouncingBall (java.awt.Color.white, this);
         _timer = new MoveTimer(INTERVAL, this);
         //this.setBackground(java.awt.Color.blue);
         _ball.setLocation(INIT_X, INIT_Y);
         _ball.setSize(DIAMETER, DIAMETER);
         _ball2.setLocation(INIT_X1, INIT_Y1);
         _ball2.setSize(DIAMETER, DIAMETER);
         _timer.start();
        public void move() {
         _ball.move();
         _ball2.move();
         this.repaint();
        public void paintComponent (java.awt.Graphics aBrush) {
         super.paintComponent(aBrush);
         java.awt.Graphics2D betterBrush =
             (java.awt.Graphics2D) aBrush;
         _ball.fill(betterBrush);
         _ball2.fill(betterBrush);
    }

    ok.
    public interface Mover {
        public void move();
    public class BouncingBall extends SmartEllipse implements Mover {
        private int _changeX, _changeY; // attributes
        private final int MOVE_LEN = 5;
        private javax.swing.JPanel _panel; // peer object (and container)
        private javax.swing.Timer _timer;
        private double nextY;
        public BouncingBall (java.awt.Color aColor,
                             javax.swing.JPanel aPanel){
         super(aColor);
         _changeX = MOVE_LEN;
         _changeY = MOVE_LEN;
         _panel = aPanel; nextY=75;
        public void move() {
         int nextX = (int)this.getX() + _changeX;
         if (nextX <= this.getMinBoundX()) {
             _changeX *= -1;
             nextX = this.getMinBoundX();
         else if (nextX >= this.getMaxBoundX()) {
             _changeX *= -1;
             nextX = this.getMaxBoundX();
         this.setLocation(nextX, nextY);
        public int getMinBoundX() {
         return (int) _panel.getX();
        public int getMaxBoundX() {
              return (int) (_panel.getX() + _panel.getWidth()
                    - this.getWidth());
    public class MoveTimer extends javax.swing.Timer {
        private Mover _mover; // peer object
       public MoveTimer (int anInterval, Mover aMover) {
          super(anInterval, null);
          _mover = aMover;
          this.addActionListener(new MoveListener());
       private class MoveListener implements java.awt.event.ActionListener {
         public void actionPerformed(java.awt.event.ActionEvent e){
            _mover.move();
    public class SmartLine extends java.awt.geom.Line2D.Double
       private java.awt.Color _lineColor;
       private final int STROKE_WIDTH = 2;          //makes width of line constant
       private double X1, Y1, X2, Y2;          //set as instance variables that are doubles
       public SmartLine (double X1, double Y1, double X2, double Y2, java.awt.Color aColor)
         _lineColor = aColor;          //constructor
         setLine(X1,Y1,X2,Y2);
         X1 = 0;                    //sets intial positions to 0
         Y1 = 0;
         X2 = 0;
         Y2 = 0;
       public void setLineColor (java.awt.Color aColor)
         _lineColor = aColor;          //method for setting the color of the lines
       public void setLocation (double X1, double X2, double Y1, double Y2)
         this.setLine (getP1(), getP2()); //method for setting location of lines             
       public void draw (java.awt.Graphics2D aBrush)
         java.awt.Color savedColor = aBrush.getColor();        //method draws the line with color set
         aBrush.setColor(_lineColor);
         java.awt.Stroke savedStroke = aBrush.getStroke();
         aBrush.setStroke(new java.awt.BasicStroke(STROKE_WIDTH));
         aBrush.draw(this);
         aBrush.setStroke(savedStroke);
         aBrush.setColor(savedColor);
    } //end of class

  • Code Help Please.

    I am havong trouble getting equations to work on my calculator.
    I have the basic going, but as soon as I try to add any more to it at this point it will not compute.
    I need to add commission to the 20% and 5% based on the T1 and T2 x $25.00.
    Can a figure only be used once in any equations?
    I need to use the input for T1 to generate different #'s in 2 other fields.
    Here is a link to it,
    www.thepowderzone.com/Calculator.htm
    Could someone please help?

    Bump!!

Maybe you are looking for

  • Error when run Application with jdbc  Help me please

    this my code: public void resultado() { String ClassName = "oracle.jdbc.driver.OracleDriver"; String url = "jdbc:oracle:thin:@educacion04:1521:ora92"; Connection con; Statement stmt; try { Class.forName(ClassName); } catch(java.lang.ClassNotFoundExce

  • Transfer Purchase from iPhone 5s to iTunes reducing free space?

    Sometime I Transfer Purchases from my iPhone 5s 32GB running iOS 7.0.4 using iTunes 11.1.4 for Mac and recently notice it reduced free space on the iPhone, even before doing any sync from iTunes.. several weeks ago just before Transfer Purchases ther

  • 10g/11g stats

    Hi friends, We currently have a nightly scheduled job to gather statistics(dbms_stats.gather_database_stats) on all objects for our 10g databases. I'm not sure if we need to schedule this nightly job for 11g databases as well.. I researched that this

  • In terms of limitations

    The sku described as Office 365 for small Business , can be used for develop SharePoint apps What is the SharePoint plan included to that sku, and what is the limitations? BDS is available to connect your model to remote sources? Is app catalog avail

  • C3Po error

    I have a C3PO that works off of the email send button. It seems to work fine for all users except one. For that user, it works fine most of the time but sometimes GroupWise spell checker returns an error: "Error - A valid dialect is required to spell