|
I do not know about the browser limit but I tried with
width=1
height=1
And with these attributes window is really small just like a thumbnail.
I tried following code:
window.open('P2070013.JPG','','width=1,height=1,scrollbars=yes')
In all the cases below, window size is large enough and of same size.
Means width=1 and height=1 generates a smallest sized window.
window.open('P2070013.JPG','','width=0.1,height=0.1,scrollbars=yes')
window.open('P2070013.JPG','','width=0,height=0,scrollbars=yes')
window.open('P2070013.JPG','','width=-1,height=-1,scrollbars=yes')
window.open('P2070013.JPG','','width=-199,height=-199,scrollbars=yes')
|
|
|
|
|
What browser are you using? When I tried this in IE, I got a window that was 100x100 pixels large. Note: The userinfo.gif image is the Code Project image found next to the average user's name.
**************************************************************************
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled</title>
<script LANGUAGE="JavaScript">
<!--
function myOpen(page)
{
window.open(page,'windowName','width=1,height=1,scrollbars=yes');
}
//-->
</script>
</head>
<body>
<a href="javascript:void();" onclick="myOpen('userinfo.gif');">Test</a>
</body>
</html>
<font size="1px">"For that one fraction of a second, you were open to options you would never have considered. That is the exploration that awaits you. Not mapping stars and studying nebula, but charting the unknown possibilities of existence." - <b><i>Q (Star Trek: The Next Generation)</i></b> <a target=_blank href="http://mywebpages.comcast.net/babdulbaki/">^</a> <a target=_blank href="/script/profile/whos_who.asp?id=8018&forumid=7606&exp=6&select=957518&df=100&msg=957518#Blog">Blog</a></font>
|
|
|
|
|
I again got the same result with ur code as well but with one change.
You get the pop up but main window says page not found.
I think you should change ur code as follows(I think that was typing mistake):
From:
Test
To:
Test
I am using IE 6.0 with XP installed
Ranjan Goyal
|
|
|
|
|
It should have been javascript:void(0), but I may have entered it wrong. However, I still get a window that is not 1x1 pixels in size. I'm running Win XP SP2 at home and Win 2K SP4 at work, both with IE and FireFox and the minimum size seems about 100x100 pixels on both machines.
I see the picture, but there's plenty of white space to the right and below it.
"For that one fraction of a second, you were open to options you would never have considered. That is the exploration that awaits you. Not mapping stars and studying nebula, but charting the unknown possibilities of existence." - Q (Star Trek: The Next Generation) ^ Blog
|
|
|
|
|
Most recent, patched browsers have limitations on the size and location of popup windows, for security reasons. Older unpatched browsers let you size and locate the window pretty much however you wanted.
my blog
|
|
|
|
|
Damn! That answers that once and for all. Thanks.
"For that one fraction of a second, you were open to options you would never have considered. That is the exploration that awaits you. Not mapping stars and studying nebula, but charting the unknown possibilities of existence." - Q (Star Trek: The Next Generation) ^ Blog
|
|
|
|
|
http://www.marines.0catch.com/GATEWAY_TO_THE_WORLD.html
|
|
|
|
|
hi, i was wondering if anyone had any ideas or knew of any resources about a how to create a drag and drop interface for assigning tasks/jobs to different people.
i know that dhtml and flash both support some level of drag drop functionality, and i need to combine this with task information being pulled out of a database.
i was broadly thinking of listing people down the left of the page, with time slots (possibly every 1/4 hour) across the top. Bars of various lengths could represent tasks, the length of the bar would relate to the length of the task.
i guess the real problem is how, if i've dragged a task onto someone else, how the new information from the target is received about the time/user and what triggers the update of this information when i "drop" the task (how the drop is detected).
Any ideas on how this could be achieved would be much appreciated.
|
|
|
|
|
Hi,
Does anyone know the javascript to insert a line (from textbox) to the end of a select list which is populated with data from the database, at the click of a button? Then, I'll have another button to save the new select list in the database.
___________
|1 |
|2 |
|3 |
| |
|_________|
[save button]
__________________
|________________|
[insert button]
-> inserts textbox content into the select construct above (size dynamic)
Thanks for any help.
*|Oraclec|*
*|Oraclec|*
|
|
|
|
|
Hi,
Does anyone know the javascript to insert a line (from textbox) to the end of a select list which is populated with data from the database, at the click of a button? Then, I'll have another button to save the new select list in the database.
___________
|1 |
|2 |
|3 |
| |
|_________|
[save button]
__________________
|________________|
[insert button]
-> inserts textbox content into the select construct above (size dynamic)
Thanks for any help.
*|Oraclec|*
*|Oraclec|*
|
|
|
|
|
hi, does anyone know how i can refresh a webpage only if a certain variable is equal to some value in particular:
ex->
int a;
//get a from user using scanf
if(a==7)
//refresh webpage
else
//printf a message
thanks
porac69
|
|
|
|
|
I wrote a nice long reply originally but accidently closed the damn window...
Basically...what I suggested is you to execute to redirects..
Original to temp
Temp to original
using:
if(a==10){
printf("Location: http://www.domain.com/script2.cgi");
printf("Location: http://www.domain.com/script1.cgi");
}
You could maybe try redirecting to the exact same page using the SCRIPT_NAME environment variable...if that is what its called...???
You will have to let the browser know not to use it's cached version though with the following headers I stole from a PHP script I have:
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
gmdate() is a PHP function you'll have to find the equivelant in the CRT or library your using...
Replace header( ) with printf()
HTH
Cheers
How do I print my voice mail?
|
|
|
|
|
I have a problem with Jmail .
I use JMail to check mail and then download mail and send this to other mailbox .So i received an error :
" jmail.Messages error '8000ffff'
POP3: -ERR Can't open the message file - it's gone! "
Please , help me !
Thank you very much .
|
|
|
|
|
Hi!
I am having a problem getting rid of the status-bar in
a modelessdialog running under Internet Explorer 6.0,
Windows XP ServicePack2...
status parameter is set to "status:no", but still
it shows.
codecut:
showModelessDialog(url,window,"status:no")
Anyone got a solution for this?
regards
JT
|
|
|
|
|
ServicePack added some limitation to pupups and Modeless windows.
Some people use it in the past to fake addressbar, IE windows, etc.
Now you can't create windows which are too small, out of the visible region,
and of course with no statusbar!
See service pack 2 info for details.
- - - - - - - - - - - - - - - - - -
Memory leaks is the price we pay \0
01234567890123456789012345678901234
|
|
|
|
|
|
Hi!
I would like to align text in my button to the left. I use text-align:left, but it works only in IE and Opera. Mozilla keeps text centered. Is there any way how to fix it?
Thank you!
|
|
|
|
|
I really don't know why this happens, is it specified in the CSS or a bug in mozilla?
A quick & dirty solution is to set explicitly the button width and every aspect of the text size in the button. Then add a number of in the text of the button.
- - - - - - - - - - - - - - - - - -
Memory leaks is the price we pay \0
01234567890123456789012345678901234
|
|
|
|
|
I use CSS, otherwise browsers other than IE ignore control formatting.
Thanks, Nikos, I also thought about adding spaces to format text aligning, but it seems too awkward.
|
|
|
|
|
I always argue with my boss about this matter (guess who always wins
Is the difference just aesthetic or you can throw real arguments on the table. (for examble: a fixed width of a webpage is <750px which lives a blank if you work fullscreen at >=1024. A free width layout doesn't give you control to format your text and images and result to long text lines that are hard for the eye to follow)
Examples of free width are www.codeproject.com and sites with fixed width are www.cnn.com[^]
There are also sites who try to compine both, having the background/header/footer resized to the width of the browser and kipping the page content in a fixed border.
What you people think? What's the best and why? (Please also state if you are a web users or a web developer. )
- - - - - - - - - - - - - - - - - -
Memory leaks is the price we pay \0
01234567890123456789012345678901234
|
|
|
|
|
As a user and occasional developer, I much prefer the free form layout method. A fixed-size layout viewed on a screen larger than that targeted by the developer produces a display that is distracting and amateurish. It's true that you have less control over how the page is rendered using this method, but much of the layout can be preserved using CSS elements. A key step in developing such sites is testing the display using multiple browsers and screen resolutions, then optimizing the design to achieve the best possible appearance in most configurations.
"If it's Snowbird season, why can't we shoot them?" - Overheard in a bar in Bullhead City
|
|
|
|
|
We assume that the worst case is a 800x600 with the quickLaunck and the vertical Scrollbar visible, so a logical coice is a width of ~740.
Layouts that are not fixed or resize down to 740 are either targeting a special group of people or are just bad designs!
Lately we show some sites that were orignally designed to scale to somewhat 730-740, but since then they expanded -their businesses- by adding Google's TextAds to the right.
- - - - - - - - - - - - - - - - - -
Memory leaks is the price we pay \0
01234567890123456789012345678901234
|
|
|
|
|
we did too but now the new standard is getting to be 1024 wide which gives about 950px to play with
oh... and i always prefer fixed layout
"there is no spoon" biz stuff about me
|
|
|
|
|
l a u r e n wrote:
we did too but now the new standard is getting to be 1024 wide which gives about 950px to play with
oh... and i always prefer fixed layout
Thanx, for your answer.
I believe it's not time to drop the 800x600 yet,
last time i look there were about 15%-20% of total inet population.
- - - - - - - - - - - - - - - - - -
Memory leaks is the price we pay \0
01234567890123456789012345678901234
|
|
|
|
|
Fixed width looks as Roger said, amatuerish.
Here is the problem I have width fixed width...
Ask anyone and they'll likely say I hate having to scroll left and right...vertically isn't so bad especially if you have a mouse wheel....
If the developer used a larger resolution than 800x600 which probably half users have (check the w3c for more accurate) and width was fixed at 1024px and I browse the site at 800x600...Im stuck now having to scroll left and right to read text and make sure I haven't missed anything...
Whenever I see required HScrolling I cringe...
I'm a longtime developer and user...the way I see it is this:
I've been using GUI's since they came out...I consider myself an advanced computer user...I spend more time on a computer than most people. So I may not be an expert in usability...I don't believe there can be such a thing...I think the title is ridiculous. However i'm very lazy...if I can't find something pronto or something even slightly annoys me...I know it'll annoy someone not as savvy as me.
As for hscrolling...like I said it annoys me cuz I see it all the time...so if it remotely bothers me...it probably bothers average users...
How do I print my voice mail?
|
|
|
|