JS support
- Started
- Last post
- 14 Responses
- kodap
I have this javascript that calls for a window depending on content width/height...
How do I set the window to open, by adding 10 more pixels width and height to the requested image size that will be opened??
i.e: width+10px, or somethingI'm using this script also for other html documents as it won't help seting the scrollbars to=no or false.
the problem is that I get horizontal and vertical scrollbars on IE6 pc while the window is the same size of the image inside,
in firefox works fine.
script here:
http://cquit.com/windowopen.txtany helpers?
Thanks in advance
- kodap0
btw..
it's the "function open_popup"
- kodap0
thank you
grr..
- kodap0
any programmer around???
- unfittoprint0
ok.
within your function parameters, there must be 2 variables that make the with and height of the new window (let's say, w and h).
they could be found within something similar to this.
winprops = 'height='+h+',width='+w+',top...
you can add these two lines before that:
w += 10; //same a w=w+10
h += 10: //same as h=h+10seconds, don't use scroll=no, it's not compliant with W3C regulations.
use CSS instead like,
html, body {
overflow:hidden;
}
- kodap0
thanks T,
I'll buy U a drink next week ;)
- kodap0
err. .. I mean..
I'll pay the drinks
- unfittoprint0
vamos nessa.
- kodap0
I'm testing this..
I have your NT profile mail added to beta-testers on this pseudo- moblog admin..
Just send an e-mail with a jpg attached to and see your post on http://cquit.com/yes
published... it's fantastic.. really!
send it
- kodap0
(send the e-mail with the pic(s) attached from your NT e-mail profile!
it rocks..
I'm gonna test this tomorrow with MMS.
- unfittoprint0
sended [an attachment right?]
server side mail management?
- unfittoprint0
merda, used a Plura email...
wait...
- kodap0
a pop3 feature (batch server script ) to php blog
- unfittoprint0
I see.
well, I sended two mails [one as a reply to yours] to .
- kodap0
shit... I had misspelled your e-mail.. can u try again?? Now I promisse it's gonna work.. in every 5 minutes (batch time) the server updates