can u please help me

Results 1 to 2 of 2

Thread: can u please help me

  1. #1
    Join Date
    Dec 1969

    Default can u please help me

    &#060;A href="Data.htm"&#062;&#060;IMG SRC="chiclet.bmp"&#062;&#060;/A&#062;<BR>i have this image,which when clicked should open data.htm in a new window.if the file is unavailable it should display another html page with a error mesg.can u please help me.i need to do this with javascript(maybe catch error number an put it in IF STATEMENT)

  2. #2
    Reggie Guest

    Default RE: can u please help me

    First off, I&#039m not sure if you can use a .bmp image file on the net. Personally I&#039d convert it to a .gif or .jpg with a program like acdsee32, adobe photoshop, or paint shop pro.<BR><BR>For your actual question I&#039d say you can just do:<BR><BR>&#060;A href="Data.htm" target="_new"&#062;&#060;IMG SRC="chiclet.bmp"&#062;&#060;/A&#062;<BR><BR>and the target="_new" part will open it in a new window. The only way I know of displaying an error page (besides a generic 404) is with a Windows NT webserver, you can create a custom 404 error page.<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts