Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About EpicKris

  • Rank
  • Birthday 11/07/1992

Previous Fields

  • Languages
    English, Japanese

Contact Methods

  • AIM
  • MSN
  • Website URL
  • ICQ

Profile Information

  • Location
  1. EpicKris

    Broken CSS

    Correct DisplayIncorrect Display
  2. EpicKris

    Broken CSS

    Broken SocietyI'm designing my brother's band website and come across a strange problem with CSS, the website displays fine in my browser (Safari, Mac) but not his (Safari, Windows), I've tested it in various other browsers and OSs but can't work out the cause of the problem.Could anyone offer me some assistance?Thanks!
  3. Okay, so I've created the variables.example.php <!DOCTYPE HTML><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>PHP</title> <!-- Javascript begin --> <script> // Plug In Studios Bar // Replace 'NULL' with '"example"' to enable the feature. var message=NULL // Message var youtube=NULL // YouTube username var facebook=NULL // Facebook username var twitter=NULL // Twitter username var rssURL=NULL // RSS URL var email=NULL // Email addrss </script> <!-- Javascript end --></head><body> <?php include ($_SERVER['DOCUMENT_ROOT']."/bar/includes/bar.php"); ?></body></html> Although how do I use a javascript include to replace <?php include ($_SERVER['DOCUMENT_ROOT']."/bar/includes/bar.php"); ?> and then use the if statements to determine if the variable exists and then include the variables.
  4. I just need the codes to do that as I'm not very experienced with Javascript…
  5. Not entirely sure, which works best in an HTML file?
  6. I have two files that currently use PHP, but I'd like to convert it into javascript so that it can be used on non PHP sites.These are the two files:example.php <?php// Bar$youtube=""; // YouTube username$facebook=""; // Facebook username$twitter=""; // Twitter username?><!DOCTYPE HTML><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>PHP</title></head><body> <?php include ("bar.php"); ?></body></html> bar.php <!-- CSS begin --><link rel="stylesheet" type="text/css" href="bar.css" /><!-- CSS end --><!-- Bar begin --><div id="bar"> <!-- YouTube --> <?php if (isset($youtube)) { echo "<a href=\"http://www.youtube.com/user/".$youtube."\" target=\"_blank\"><div id=\"social\" class=\"youtube\"></div></a>"; } ?> <!-- Facebook --> <?php if (isset($facebook)) { echo "<a href=\"http://www.facebook.com/".$facebook."\" target=\"_blank\"><div id=\"social\" class=\"facebook\"></div></a>"; } ?> <!-- Twitter --> <?php if (isset($twitter)) { echo "<a href=\"http://twitter.com/#!/".$twitter."\" target=\"_blank\"><div id=\"social\" class=\"twitter\"></div></a>"; } ?> <noscript> <p>Please enable JavaScript.</p> </noscript></div><!-- Bar end --> Thanks!
  • Create New...