Thread: Review my site
View Single Post
  #6  
Old 05-01-2008, 08:20 AM
Collectors-info's Avatar
Collectors-info Collectors-info is offline
General
 
Join Date: Feb 2006
Location: London (UK)
Posts: 5,289
Default Re: Review my site

Hi Ed, I see you got a start on the form & I should of said that for web pages to print out ok you need to keep the page down to around 750 wide. (sorry!). But a few adjustments will sort it. If you need a print button on the form? pop the 2nd code bellow into a html box on the front of your BV page & place where you want the button to be seen.
On the image display, the random look is fine, I just don’t like the way the program displays the images thumbnails in the respect of (to many kb’s & a crinkly look) . If you want a no right click & the photographer has asked for it. Pop the script in the 1st box below in……
Menu>View>Page HTML> & paste into the “inside body tag” This should stop it.
If you need another light box viewer (freebie) try these in 2 different colour & image sizes 2 links link 1 link 2. Only idea’s, these also have the right click disabled.

Good luck.

Print button.
HTML Code:
 <SCRIPT Language="Javascript">
   
  /*
  This script is written by Eric (Webcrawl@usa.net)
  Promoted by webbiesite.com
  For full source code, installation instructions,
  100's more DHTML scripts, and Terms Of
  Use, visit dynamicdrive.com
  */
   
  function printit(){  
  if (window.print) {
      window.print() ;  
  } else {
      var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
  document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
      WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting dialog box    WebBrowser1.outerHTML = "";  
  }
  }
  </script> <SCRIPT Language="Javascript">  
  var NS = (navigator.appName == "Netscape");
  var VERSION = parseInt(navigator.appVersion);
  if (VERSION > 3) {
      document.write('<form><input type=button value="Print this Form" name="Print" onClick="printit()"></form>');        
  }
  </script>
No right click.
HTML Code:
<script language=JavaScript>
  function clickIE() {if (document.all) {(message);return false;}}
  function clickNS(e) {if 
  (document.layers||(document.getElementById&&!document.all)) {
  if (e.which==2||e.which==3) {(message);return false;}}}
  if (document.layers) 
  {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
  else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
   
  document.oncontextmenu=new Function("return false")
  // --> 
  </script
__________________
From Chris,

www.collectors-info.com
View sites in FF & IE, with res @ 1024 x 768 on 19” screens.

How to ask for help on the forum. - VH prices. - BV Tutorials. - Using PIXresizer - Image/Photo Tips

Reply With Quote