SitePoint Sponsor

User Tag List

Results 1 to 19 of 19
  1. #1
    SitePoint Guru htown's Avatar
    Join Date
    Mar 2005
    Posts
    676
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    HTML Interface for CD

    I have been asked to produce a CD for a client that has a fraction of the content of there web site on it. Things like the power point presentation, PDF files and the like. I have the design but what I am wanting to do is to have someone take the finished product, place it in there CD drive, and have the index.html page come up automatically. (autorun). This I have working, but I would prefer to have the browser come up in a stripped and specifically sized version. I know how to do this in a link (open browser window) but I am not sure how to get the browser to open from the autorun in a specific size and striped version (no menus and icons)

    Any ideas? I am guessing this will be done with JavaScript but I have no ideas how to write JavaScript to get the browser to do this)

    Thanks.
    Houston Brown
    Split Light Designs
    Bringing your ideas to light.

  2. #2
    In memoriam gold trophysilver trophybronze trophy Dan Schulz's Avatar
    Join Date
    May 2006
    Location
    Aurora, Illinois
    Posts
    15,476
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You're going to have to write an autorun.ini file in order for the site to auto-load when the CD is entered into the tray.

    Try performing a Google search for instructions on how to do this.

  3. #3
    SitePoint Guru htown's Avatar
    Join Date
    Mar 2005
    Posts
    676
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I appreciate your help on the autorun, but as the orginal post says:
    ...This I have working, but I would prefer to have the browser come up in a stripped and specifically sized version. I know how to do this in a link (open browser window) but I am not sure how to get the browser to open from the autorun in a specific size and striped version (no menus and icons)
    I wanted to how to get the broswer to come up in a striped down mode, like you would in Dreamweaver using a "Open browser" behavior. (javascript)
    Houston Brown
    Split Light Designs
    Bringing your ideas to light.

  4. #4
    SitePoint Enthusiast newdaynewdawn's Avatar
    Join Date
    Aug 2003
    Location
    Central KY
    Posts
    76
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Don't know your timeframe but you might just look around here:

    http://www.snapfiles.com/downloadfin...h=Find+it&lc=1

    (if the link blows for some reason -- head to snapfiles.com -- search for .without quotes. "create autorun cd" -- then refine search to FREEWARE only)

    ... and see if one of these FREEWARE packages can assist in that process. And yes, snapfiles is a pretty good straight forward site. One of the above apps might just put the polish on it you're searching for via a GUI instead of having to monkey around with the autorun.ini file though there's not much to those in general.

    Good Fortunes!

  5. #5
    dooby dooby doo silver trophybronze trophy
    spikeZ's Avatar
    Join Date
    Aug 2004
    Location
    Manchester UK
    Posts
    13,807
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    Sound like you are describing either a flash program such as the ones you get on the front of magazines or you could look for .hta pages.(HTML Applications).
    Mike Swiffin - Community Team Advisor
    Only a woman can read between the lines of a one word answer.....

  6. #6
    ✯✯✯ silver trophybronze trophy php_daemon's Avatar
    Join Date
    Mar 2006
    Posts
    5,284
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    HTML Code:
    <body onload="window.resizeTo(250,250)">
    Saul

  7. #7
    SitePoint Enthusiast newdaynewdawn's Avatar
    Join Date
    Aug 2003
    Location
    Central KY
    Posts
    76
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the quick of it PHP_DAEMON... ahhh the pleasures of something simple. I must drop that into my resource box immediately for the proper recall next time. Already dropped that little diddy into a page for possible slideshow use.

  8. #8
    SitePoint Wizard silver trophy linkin99's Avatar
    Join Date
    Sep 2005
    Location
    Wisconsin
    Posts
    1,456
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by php_daemon
    HTML Code:
    <body onload="window.resizeTo(250,250)">
    Very handy tip to know. Thanks, man!

  9. #9
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by php_daemon
    HTML Code:
    <body onload="window.resizeTo(250,250)">
    Just remember that window resizing can be defeated with the click of a checkbox in Firefox's default options. Probably not a major issue though, since anyone willing to check that option probably wants the window at their set size anyway.

  10. #10
    SitePoint Wizard silver trophybronze trophy Nadia P's Avatar
    Join Date
    Oct 2004
    Location
    NSW Australia
    Posts
    3,564
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    and a friendly reminder, a lot of people don't like to have their browser window size manipulated... if you did that to me, I wouldn't use your site or your CD

    Nadia

  11. #11
    SitePoint Guru htown's Avatar
    Join Date
    Mar 2005
    Posts
    676
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Then you would be missong out.
    Houston Brown
    Split Light Designs
    Bringing your ideas to light.

  12. #12
    In memoriam gold trophysilver trophybronze trophy Dan Schulz's Avatar
    Join Date
    May 2006
    Location
    Aurora, Illinois
    Posts
    15,476
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    And so would you.

  13. #13
    dooby dooby doo silver trophybronze trophy
    spikeZ's Avatar
    Join Date
    Aug 2004
    Location
    Manchester UK
    Posts
    13,807
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    I'm with Nadia on this - you affect my browser or mouse actions (eg disable right click) and I will not browse your site
    Mike Swiffin - Community Team Advisor
    Only a woman can read between the lines of a one word answer.....

  14. #14
    ✯✯✯ silver trophybronze trophy php_daemon's Avatar
    Join Date
    Mar 2006
    Posts
    5,284
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Don't listen to them! It's not a website that you're making. It's a front-end for your CD. You just utilise the browser instead of building a desktop application. You can also remove the menu, toolbars, everything to make it not look like a browser at all.
    Saul

  15. #15
    dooby dooby doo silver trophybronze trophy
    spikeZ's Avatar
    Join Date
    Aug 2004
    Location
    Manchester UK
    Posts
    13,807
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    lol, guess so but I still dont like my buttons to be twiddled.......
    Mike Swiffin - Community Team Advisor
    Only a woman can read between the lines of a one word answer.....

  16. #16
    SitePoint Wizard silver trophy linkin99's Avatar
    Join Date
    Sep 2005
    Location
    Wisconsin
    Posts
    1,456
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by spikeZ
    lol, guess so but I still dont like my buttons to be twiddled.......
    I can see it, "Get your hands off my buttons!"

  17. #17
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by php_daemon
    Don't listen to them! It's not a website that you're making. It's a front-end for your CD. You just utilise the browser instead of building a desktop application. You can also remove the menu, toolbars, everything to make it not look like a browser at all.
    You're still screwing with my browser and risk losing a customer over it, whether it's accessible over the internet or not.

  18. #18
    ✯✯✯ silver trophybronze trophy php_daemon's Avatar
    Join Date
    Mar 2006
    Posts
    5,284
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by vgarcia
    You're still screwing with my browser and risk losing a customer over it, whether it's accessible over the internet or not.
    My browser, my castle, eh?
    Saul

  19. #19
    SitePoint Member
    Join Date
    Jul 2006
    Location
    Islip, NY
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I would create an index.html page that contained this as a script in the <head> of the document.

    window.open('index2.html','tehwin','fullscreen=1,width='+(screen.width-10)+',height='+(screen.height-50)+',top=0,left=0');

    I usually subtract a little from the width and height; you can play with that.

    This would then open index2.html, which is your full blown presentation.

    On index, create a nice simple graphic that you can click on, with an onclick that launches the same script, in case a popup blocker is running.

    And I agree that resizing/fullscreen issues pissing people off don't really apply here. This should have the feel of a CD presentation. And trust me, I'm one of those people who gets po'd when websites do that.


Bookmarks

Posting Permissions

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