also @ TechSpot: Blizzard talks Diablo 3 facts, nerfing and buffs for legendary items

TechSpot

Could anybody help with my web page troubles?

Discussion in 'General Discussion' started by Spike, Nov 4, 2004.

  1. RealBlackStuff Newcomer, in training

    On the index.html and other pages, after the
    <link rel="script" type="text/javascript" href="script.js">
    insert:
    <script language="JavaScript" src="popup.js"></script>

    The "footer" will look like:
    Code:
      <tr>
        <td align="left">
          <script language="JavaScript" src="tributes.js"></script>
        </td>
        <td align="right">
          <script language="JavaScript" src="menu_bot.js"></script>
        </td>
      </tr>
    
    add these 2 files:
    popup.js
    Code:
    <!-- Begin
    // NOTE: If you use a ' add a slash before it like this \'
    
    var TRIB_width 	= 250	// WINDOW WIDTH
    var TRIB_height = 400	// WINDOW HEIGHT
    
    function popUp(URL) {
    day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width='+TRIB_width+',height='+TRIB_height+',left=1,top=1');");
    }
    
    //  End -->
    
    Watch out that "T RIB" looks funny in the code, should be TRIB (Forum-quirk)

    tributes.js
    Code:
    <!-- Begin
    // NOTE: If you use a ' add a slash before it like this \'
    
    document.write('<table width="75%" cellpadding="1" cellspacing="1" border="0"><tr><td align="center" class="menu_nav">');
    document.write('<font color="#FFFFFF">&copy;2004 Copyright Tributes:</font>');
    
    document.write('</td><td width="3">&nbsp;<br></td><td align="center" class="menu_nav">');
    document.write('<a href="javascript:popUp(\'website.html\')">Website</a><br>');
    
    document.write('</td><td width="3">&nbsp;<br></td><td align="center" class="menu_nav">');
    document.write('<a href="javascript:popUp(\'Images.html\')">Images</a><br>');
    
    document.write('</td><td width="3">&nbsp;<br></td><td align="center" class="menu_nav">');
    document.write('<a href="javascript:popUp(\'book.html\')">Book</a><br>');
    
    document.write('</td></tr></table>');
    
    //  End -->
    
    PS: the things are Tributes, not Attributes !
  2. Spike Newcomer, in training

    Thanks RBS!!!!!

    I'm sorry I seem to have missed this. I've unfortunately been working on changing the head gasket on a Citroen ZX 1.9TD. (not a nice job! It's probably one of the most difficult head gaskets on an old-ish car I've ever seen.)

    I'll be adding up a new page or two within the next couple of days, as I'll be getting some of that extra info from the authoress. I'll get those "Tributes" (thanks ;)) sorted out at the same time. :)
  3. Spike Newcomer, in training

    OK, Thankyou for your help RBS.

    The site is now to all intents ready to go live.

    One thigh that bemuses me a little though, is the fact that 5starsnews.com seems to have listed this thread as a news item!?!?!

    I'd never have known if I hadn't searched for pages containing the address of the site on google. The questions I find myself asking are how, and why? lol
  4. RealBlackStuff Newcomer, in training

    Meaty?

    Probably triggered by "promotion" and "book" and "authoress".
  5. Spike Newcomer, in training

    Ah, Quite possibly. I hadn't thought of that. Unlike thighs. lol. That MUST have been a freudian slip. I can't say it was a typo. Thing is nothing like thigh. not evenn on a keyboard. oops. :blush: