Jump to content

Rheves

Members
  • Posts

    45
  • Joined

  • Last visited

Everything posted by Rheves

  1. Well I have that part working, the page is here: http://mike.otherskies.net/Portfolio.php All the javascript is working, I'd just like to replace the current default image javascript code with php, to make it more efficient.
  2. I'm making a Gallery page on my site and I currently have it set up so that when the page loads if you have the address "site.com/Portfolio.php#fishandchips_l.jpg" javascript will load that picture as the default. I don't like it because it loads the default image first, THEN switches it out with the one specified in the url. I want to use PHP to grab what follows the # in the address but all my attemps only return "Portfolio.php". I have tried $_SERVER['PHP_SELF'], $_SERVER['REQUEST_URI'], and $_SERVER['SCRIPT_NAME']. Also the gallery needs to NOT refresh on each change of picture so using ?Image= instead of # in the URL is not doable. Is anyone able to help me out here?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.