A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Pdf

  1. #1

    Join Date
    Aug 2002
    Posts
    1,245

    Pdf

    hi doing a site(HTML)now the client wants to open a PDF file (no prob)
    BUT she wants to open the file BEHIND the main window when you click a button....


    any tricks to that? javascript i assume couldnt fine anything decent
    on the net.

    thank fellas!

  2. #2
    Junior Member scudsucker's Avatar
    Join Date
    Feb 2003
    Location
    Cape Town, RSA
    Posts
    1,509
    Target the pdf window with blur();, or use in its HTML a body tag that says

    <body onLoad="window.blur();">

    Often you'll see focus(); at the end of a pop-up script, this will do the opposite
    Hariyemadzisawira nhaka yedu! Down the SCUD and win!
    I'm too lazy to read Private Messages.

  3. #3

    Join Date
    Aug 2002
    Posts
    1,245
    thanx i'll try that

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center