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.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Oct 2005
    Location
    macon, ga
    Posts
    17
    Member #
    11609
    I've got a piece of code that I can't get to open up a page that's not in the same directory. I want the page to go to "photos.phillipbradshaw.com", but when I replace "_portfolio.htm" with that, it says it can't find "www.phillipbradshaw.com/photos.phillipbradshaw.com"

    I'm sure it's a simple fix, but I'm illiterate, a photographer, not a programmer. I'll get help from smart people.

    Code:
    <script type="text/javascript">
    myButton('HOME','_home.htm');
    myButton('ABOUT','_about.htm');							myButton('PORTFOLIO','_portfolio.htm');															myButton('NEWS','_news.htm');								myButton('CONTACT','_contact.htm');
    </script>
    Any help would be great! I appreciate all the help I get from this forum.

    Thanks,

    Phillip

  2.  

  3. #2
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    You forgot the "http://". Common mistake.
    Code:
    <script type="text/javascript">
        myButton('HOME','_home.htm');
        myButton('ABOUT','_about.htm');
        myButton('PORTFOLIO','http://photos.phillipbradshaw.com/');
        myButton('NEWS','_news.htm');
        myButton('CONTACT','_contact.htm');
    </script>

  4. #3
    Junior Member
    Join Date
    Oct 2005
    Location
    macon, ga
    Posts
    17
    Member #
    11609
    That sounded like a great idea and I kicked myself for not doing it, but... it didn't work.

    The way this page is set up, the links are a flash animation that run under a script, and the pages (portfolio, contact, news, etc) are divs that go inside index.html.

    If you'd like to take a look, the page is at (you guessed it) www.phillipbradshaw.com

    Thanks for the speedy reply!

    Phillip


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 04:54 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com