Results 1 to 3 of 3

Thread: Quick Question....Page Resizing, Any Ideas?

  1. #1
    Join Date
    Jul 2013
    Posts
    41
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Quick Question....Page Resizing, Any Ideas?

    Greetings, Feb 7th, 2014

    While I have tried numerous approaches to resize my sites main page, index,php, I have yet to locate a process that seems effective?. A simple basic page that retains a large table that has not had CSS applied while various internal parts have CSS to retain sizes exampled by image tags etc. I have tried “window.resizeTo(1200,700)” as an invoked function from within the “Body onload” however, this attempt failed. What would be an effective “Javascript” approach to resizing the site to fill the browser window when the user maximizes their browser….any ideas?

    Appreciatively,
    Ted

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    I can't see there being a more effective or efficient way than with CSS - either using percentage widths to create a fluid layout, or using media queries to adapt layout and measures at certain breakpoints. CSS can be cached and rendered immediately on page load whereas a JavaScript solution would need to redraw the layout and you'd probably get a jarring flash while the layout jolts to fit.

    You say your page is simple so a few CSS edits should be relatively easy to make.

    Maybe I'm not fully understanding your needs though. Please provide a link to you page so we can see what you're working with.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  3. The Following User Says Thank You to Beverleyh For This Useful Post:

    tedteeter (02-18-2014)

  4. #3
    Join Date
    Jul 2013
    Posts
    41
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Beverleyh, Feb 18th 2014

    While this is a late reply, bad weather has kept me dealing with snow accumulations, I would allow a thanks for your efforts as the transitions to percentages did assist, however, the page is 90% graphics so there was much change! I did however acquire the desired effect when I utilized CSS zoom option over the page looks nice while there was a need to remember external imported pages needed the application of the zoom css. I wanted to share the quick resolve with the readers and to offer my appreciation for your efforts!

    Appreciatively,
    Ted

Similar Threads

  1. quick question
    By ajfmrf in forum Looking for such a script or service
    Replies: 6
    Last Post: 04-06-2011, 12:16 AM
  2. Really quick question
    By Irishjugg in forum JavaScript
    Replies: 4
    Last Post: 07-22-2008, 11:09 PM
  3. Quick Question
    By SuckyCoder in forum Looking for such a script or service
    Replies: 1
    Last Post: 08-14-2007, 09:21 PM
  4. Quick Question
    By Jon101 in forum Flash
    Replies: 10
    Last Post: 06-10-2007, 09:52 PM
  5. Error with this page. Any ideas?
    By jad9321 in forum PHP
    Replies: 6
    Last Post: 01-17-2007, 03:45 PM

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
  •