Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: determine div size...

by rpnoble419 (Pilgrim)
on Aug 10, 2012 at 04:32 UTC ( #986653=note: print w/replies, xml ) Need Help??


in reply to determine div size...

This is a very simple thing to do in JQuery. What you want really can't be done in Perl as the widths and heights you want are set once the html is rendered in the browser. By forcing a Perl solution, your guaranteeing that your solution will not work across browsers as the internal page size is set differently in IE, FF and Chrome. You should have Perl create the content of the HTML and link to a JS file to handle the on-screen formatting. This way you can handle screen resize events in the browser without having to go across the internet to your server just compute three width and height values.

This is a case of "when is a knife not a knife? When its a screwdriver."

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://986653]
help
Chatterbox?
[zentara]: TGIF, I'm blowing my mind watching Casimir Effect & Black Holes - Sixty Symbols I love 60 Symbols. :-)

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (10)
As of 2017-06-23 16:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (552 votes). Check out past polls.