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 2 1 2 LastLast
Results 1 to 10 of 11
  1. #1
    Junior Member
    Join Date
    Apr 2003
    Posts
    22
    Member #
    1060

    Current Rating

    Visual Appeal:
    0.0 out of 5

    Accessibility:
    0.0 out of 5

    Website Speed:
    0.0 out of 5

    Compatibility:
    0.0 out of 5

    Overall Rating:
    0.0 out of 5

    Rate This Site


    Advertisement (login to hide this!)


    You must be logged in to view this site

    ok i am maintaining this site http://www.photographiclee.com and i want to put up text links that the buttons go to above the body but below the banner and header now i would like to use php and make a file that has the info in it so all i have to do is type a vairble and it pops up sort of like what vbulletin uses and also where the address is on every page how do i make it so i can use php also to make one file that has the address in it then i just stick in some code and when i change the one address it chages all the pages. thanks

    ps basically who ever helps me the best which i know of of you will. they will get the money.

  2.  

  3. #2
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    Use server-side includes. You basically set up normal HTML pages for every piece of content that will be repeated within your site. Then, you reference them from your content as necessary. You can use them in PHP, ASP, JSP, or SHTML. Here's a typical layout:

    page.shtml
    Code:
    <!--#Include File="header.htm"-->
        <h1>My Page</p>
        <p>Here's the content of my page</p>
    <!--#Include File="footer.htm"-->
    header.htm
    Code:
    <html>
    <head><title></title></head>
    <body>
    <table width="100%" cellpadding="0" cellspacing="10" border="0">
      <tr>
        <td bgcolor="#CCCCCC">
          <h1>Here's Where My Banner Would Go !!</h1>
        </td>
      </tr>
      <tr>
        <td width="120" bgcolor="#DDDDDD">
            <a href="home.shtml">Home</a><br>
            <a href="page.shtml">Page</a><br>
            <a href="page2.shtml">Page2</a><br>
            <a href="page3.shtml">Page3</a><br>
            <img src="images/spacer.gif" width="120" height="1" border="0"><br>
        </td>
        <td width="100%">
    footer.htm
    Code:
        </td>
      </tr>
    </table>
    </body>
    </html>
    ^^ I enhanced it a little for you... try it out and see if it works for ya!

  4. #3
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    By the way... you should save your images in JPG format instead of GIF format.... you use a lot of gradients, which look absolutely awful as GIFs. To make it worse, you've dithered your GIFs and decreased their color array, which makes them look even more pixelated.

  5. #4
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    Originally posted by transio
    By the way... you should save your images in JPG format instead of GIF format.... you use a lot of gradients, which look absolutely awful as GIFs. To make it worse, you've dithered your GIFs and decreased their color array, which makes them look even more pixelated.
    If you're talking about the buttons, I disagree; they look horrible now, yes, but if you use Photoshop to save them with a 255 optimized color palette they should look perfectly fine.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  6. #5
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    Actually, you can get 256 colors in a gif ;-)

    And I would generally agree with you on this point, as I stated in this topic: http://www.webdesignforums.net/threa...html#post71613

    However, the buttons that he's using each contain a white - black gradient in addition to a white - <color> gradient, where <color> could be red, orange, yellow, blue, green, or purple. Even with 256 colors (and dithering off) those buttons would look a little "mosaic". Additionally, JPGs would compress smaller in the case of hte buttons.

    Also, the banner contains gradients of multiple colors (orange, magenta, blues, greens, and more) all together. No way will even 256 colors look good on that banner. A JPG would look 100x better, and would compress smaller.

  7. #6
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    So do I get the money or what? :-P

  8. #7
    Junior Member
    Join Date
    Apr 2003
    Posts
    22
    Member #
    1060
    sure thank you

  9. #8
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    Click the Award Dollars button, then.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  10. #9
    Junior Member
    Join Date
    Apr 2003
    Posts
    22
    Member #
    1060
    umm filbert i accidently gave you the 2 dollers could you give it to transio thanks

  11. #10
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    not fair.


Page 1 of 2 1 2 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 12:43 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com