Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 1 of 6 1 2 3 ... LastLast
Results 1 to 10 of 55
  1. #1
    Senior Member Andrew Yurlov's Avatar
    Join Date
    Apr 2011
    Location
    Portland, OR
    Posts
    1,306
    Member #
    27566
    Liked
    181 times
    My problem is that its not loading the slideshow correctly. I tryed putting it in this way

    <div id="slideshow">
    <?php include ("slideshow.php");
    </div>

    Then I put the slideshow into the .php page. That didn't work because it didn't load the pictures inside the slideshow.

    Then I tryed to just put the slideshow into the index.html page (not the slideshow.php way) this way

    <div id="slideshow">
    ~slideshow html code~
    </div>

    The didn't work. Inside the slideshow I put some random text like "Blank Blank Blank". When I load the page It gives me a single slide with the words Blank Blank Blank as a link instead of 3 slides of non link text. o.O

    And last of all It doesn't even load in chrome.

    Link: andreyy.ddsites.net/iztudioz/index.php

    Please help me I'v tryed litteraly everything I can conjur up. Look over my code and see what I did wrong.


    ~Aditional Information~

    Since you cant see php on the show source page here it is:
    PHP CODE FOR INDEX.PHP----

    <html>
    <head>
    <title></title>
    [COLOR=rgb(0, 0, 0)] <link rel="stylesheet" type="text/css" href="php.css" />
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    :banghead:
    <link rel="stylesheet" href="css/slideshow.css" type="text/css" media="screen" />
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs.../jquery.min.js"></script>
    <script type="text/javascript" src="js/jquery.cycle.js"></script>
    <script type="text/javascript" src="js/slideshow.js"></script> [/COLOR]

    </head>
    <body>
    <div id="container">

    <div id="header">
    <?php include ("header.php");
    </div>

    <div id="nav">
    <?php include ("slideshow.php");
    </div>

    <div id="content">
    <?php include ("content.php");
    </div>

    <div id="footer">
    <?php include ("footer.php");
    </div>

    </div>
    </body>
    </html>
    Artificial intelligence is nothing compared to natural stupidity -Someone

    Design is a funny word. Some people think design means how it looks.
    But of course, if you dig deeper, itís really how it works.
    -Steve Jobs



  2.  

  3. #2
    WDF Staff George Dolidze's Avatar
    Join Date
    Apr 2011
    Location
    Irvine, CA
    Posts
    2,487
    Member #
    27540
    Liked
    416 times
    The page didn't load in any of my browsers
    My freelancer website: DolidzeDesign



    You only need a parachute if you plan on skydiving twice.

  4. #3
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    For one thing, there's no DOCTYPE declared = if you open it in Chrome it is a blank white page but you can view the source.
    And you have divs inside an unordered list - you can't put a block level element inside like that. It looks like you are doing it for CSS purposes - use classes on the <li> tags instead.
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  5. #4
    Senior Member Andrew Yurlov's Avatar
    Join Date
    Apr 2011
    Location
    Portland, OR
    Posts
    1,306
    Member #
    27566
    Liked
    181 times
    I had a doctype there. I just took it out to see if its doing it. Apparently not...
    I'm so lost..
    Artificial intelligence is nothing compared to natural stupidity -Someone

    Design is a funny word. Some people think design means how it looks.
    But of course, if you dig deeper, itís really how it works.
    -Steve Jobs



  6. #5
    Senior Member Andrew Yurlov's Avatar
    Join Date
    Apr 2011
    Location
    Portland, OR
    Posts
    1,306
    Member #
    27566
    Liked
    181 times
    Quote Originally Posted by AlphaMare, post: 206778
    For one thing, there's no DOCTYPE declared = if you open it in Chrome it is a blank white page but you can view the source.
    And you have divs inside an unordered list - you can't put a block level element inside like that. It looks like you are doing it for CSS purposes - use classes on the <li> tags instead.
    I guess il try this and see what happens.
    Artificial intelligence is nothing compared to natural stupidity -Someone

    Design is a funny word. Some people think design means how it looks.
    But of course, if you dig deeper, itís really how it works.
    -Steve Jobs



  7. #6
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    You have to close your PHP tags - see below in [COLOR=rgb(255, 0, 0)]red:[/COLOR]

    Quote Originally Posted by Andrew Yurlov, post: 206766
    My problem is that its not loading the slideshow correctly. I tryed putting it in this way

    <div id="slideshow">
    <?php include ("slideshow.php"); [COLOR=rgb(255, 0, 0)]?>[/COLOR]
    </div>

    Then I put the slideshow into the .php page. That didn't work because it didn't load the pictures inside the slideshow.

    Then I tryed to just put the slideshow into the index.html page (not the slideshow.php way) this way

    <div id="slideshow">
    ~slideshow html code~
    </div>

    The didn't work. Inside the slideshow I put some random text like "Blank Blank Blank". When I load the page It gives me a single slide with the words Blank Blank Blank as a link instead of 3 slides of non link text.

    And last of all It doesn't even load in chrome.

    Link: andreyy.ddsites.net/iztudioz/index.php

    Please help me I'v tryed litteraly everything I can conjur up. Look over my code and see what I did wrong.


    ~Aditional Information~

    Since you cant see php on the show source page here it is:
    PHP CODE FOR INDEX.PHP----

    <html>
    <head>
    <title></title>
    [COLOR=rgb(0, 0, 0)] <link rel="stylesheet" type="text/css" href="php.css" /> [/COLOR]
    [COLOR=rgb(0, 0, 0)] <meta http-equiv="content-type" content="text/html; charset=utf-8" /> [/COLOR]
    [COLOR=rgb(0, 0, 0)]:banghead:[/COLOR]
    [COLOR=rgb(0, 0, 0)] <link rel="stylesheet" href="css/slideshow.css" type="text/css" media="screen" /> [/COLOR]
    [COLOR=rgb(0, 0, 0)] <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs.../jquery.min.js"></script> [/COLOR]
    [COLOR=rgb(0, 0, 0)] <script type="text/javascript" src="js/jquery.cycle.js"></script> [/COLOR]
    [COLOR=rgb(0, 0, 0)] <script type="text/javascript" src="js/slideshow.js"></script> [/COLOR]
    </head>
    <body>
    <div id="container">

    <div id="header">
    <?php include ("header.php"); [COLOR=rgb(255, 0, 0)]?>[/COLOR]
    </div>

    <div id="nav">
    <?php include ("slideshow.php"); [COLOR=rgb(255, 0, 0)]?>[/COLOR]
    </div>

    <div id="content">
    <?php include ("content.php"); [COLOR=rgb(255, 0, 0)]?>[/COLOR]
    </div>

    <div id="footer">
    <?php include ("footer.php"); [COLOR=rgb(255, 0, 0)]?>[/COLOR]
    </div>

    </div>
    </body>
    </html>
    You also have to put spaces after the opening <? and before the closing ?>
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  8. #7
    Member
    Join Date
    May 2011
    Location
    Baltimore, MD
    Posts
    60
    Member #
    27796
    Liked
    11 times
    I wonder if it's this particular forum system that doesn't allow ?> test...
    Doctypes are not required to compile html. Good call on the close php statements.
    /phillihp/
    Check out my blog @ http://www.phillihp.com
    ~Web~Mobile~Hacking~Tech~Gadgets~More~

  9. #8
    Senior Member Andrew Yurlov's Avatar
    Join Date
    Apr 2011
    Location
    Portland, OR
    Posts
    1,306
    Member #
    27566
    Liked
    181 times
    What I typed up there is not the exact code. On the real one I double and triple check. I closed everything and did everything correctly. I even had my teacher check it.
    Artificial intelligence is nothing compared to natural stupidity -Someone

    Design is a funny word. Some people think design means how it looks.
    But of course, if you dig deeper, itís really how it works.
    -Steve Jobs



  10. #9
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    Quote Originally Posted by Andrew Yurlov, post: 206855
    What I typed up there is not the exact code. On the real one I double and triple check. I closed everything and did everything correctly. I even had my teacher check it.
    Well, if you don't post the exact code, we can't be expected to find your problems. I guess if even your teacher checked it and didn't see the problem, you may not be able to solve it.
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  11. #10
    Senior Member Andrew Yurlov's Avatar
    Join Date
    Apr 2011
    Location
    Portland, OR
    Posts
    1,306
    Member #
    27566
    Liked
    181 times
    its its any help heres the exact code:


    ~~index.php~~

    <html>
    <head>
    </title><title>
    <link rel="stylesheet" type="text/css" href="php.css" media="screen" />
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />

    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs.../jquery.min.js"></script>
    <script type="text/javascript" src="js/jquery.cycle.js"></script>
    <script type="text/javascript" src="js/slideshow.js"></script>
    </head>
    <body>
    <div id="container">
    <div id="header">
    <?php include ("header.php"); ?>
    </div>
    <div id="nav">
    <?php include ("nav.php"); ?>
    </div>
    <div id="slideshow">
    <?php include ("slideshow.php"); ?>
    </div>
    <div id="content">
    <?php include ("content.php"); ?>
    </div>
    <div id="footer">
    <?php include ("footer.php"); ?>
    </div>
    </div>
    </body>
    </html>


    ~~slideshow.php~~

    <div class="slides">
    <ul>
    <li>
    <h2>Slide one</h2>
    <p>
    Lorem ipsum dolor sit amet, consectetur adipiscing elit.
    Donec pretium arcu non velit. Phasellus adipiscing auctor
    lorem. Curabitur in urna ut purus consequat sollicitudin.
    Phasellus ut diam. Cras magna libero, tempor id, venenatis
    sit amet, venenatis et, dui.
    </p>
    </li>
    <li>
    <h2>Slide two</h2>
    <p>
    Nam ac nibh sit amet augue ultricies sagittis. Donec sit
    amet nunc. Vivamus lacinia, nisi ac tincidunt commodo, purus
    nisi condimentum urna, sit amet molestie odio dolor non lectus.
    Cum sociis natoque penatibus et magnis dis parturient montes,
    nascetur ridiculus mus.
    </p>
    </li>
    <li>
    <h2>Slide three</h2>
    <p>
    Lorem ipsum dolor sit amet, consectetur adipiscing elit.
    Suspendisse adipiscing dui a nibh. Integer tristique lorem
    vitae massa. Etiam dapibus, eros sit amet euismod semper,
    felis erat congue lacus, sed aliquam metus libero sed elit.
    </p>
    </li>
    </ul>
    </div>
    <ul class="slides-nav">
    <li><a href="#">Slide one</a></li>
    <li><a href="#">Slide two</a></li>
    <li><a href="#">Slide three</a></li>
    </ul>
    </div>
    Artificial intelligence is nothing compared to natural stupidity -Someone

    Design is a funny word. Some people think design means how it looks.
    But of course, if you dig deeper, itís really how it works.
    -Steve Jobs




Page 1 of 6 1 2 3 ... LastLast

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 08:27 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com