Jump to content
TNG Community

histories/historiestemplate.php


jimflack

Recommended Posts

As an example - I have a page here at Bucks County Court Records - the current page code lets me easily show the right side drop down menu - that's great so far.

But what code snippet do I have to add - and where - on the document page - to produce the top 'left hand side' 4 icons that are shown on the rest of the main site pages such as Bookmarks.php - eg the links and icons for home / search / print / login-out.

Its probably just a $geronimo bit of code I know added in the head bit of the page - but I'm a real duffer with php so please bear with this old fart :P .

The facility for some of my visitors to be able to bookmark (and maybe even print) the source documents is just as important (to me) as the ordinary people pages.

Maybe Darrin could add the code to the document template some time in the future so people can 'uncomment' as required. - But this is here and now ..lol.

So any help appreciated

Link to comment
Share on other sites

Thanks a lot Rush - that's worked a treat. :-D

Having said the new code works a treat (It does - and thanks again rush) one tiny bit of the newly produced code seems to be invalid (in my firefox validator).

Its ok in W3C (so thats good) - but I use firefox .. lol and it gives me the following warning on page validation for 1 line of code:-

"" <a > escaping malformed url reference ""

The example page in question is This One .

The code itself seems to be this:-

<a href="java script:newwindow=window.open('/newtng/histories/tree607J_George_Hugh_William_Flack.php?tngprint=1','tngprint','width=850,height=600,status=no,resizable=yes,scrollbars=yes'); newwindow.focus();" onmouseover="window.status='Print';return true" onmouseout="window.status='';return true" title="Print" style="text-decoration:none">

Is it a javascript produced thingy - and if so, could anyone direct me to the page in TNG its on - its probably just a space in the url - or something without "" quotes. I know its a piffling lil thing really - but it bugs me :P

So any help would be appreciated.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...