Fixed Size Pop-up Window?
Apr 1, 2009
I have a "Roaming Companion" on my sites index page (www.studylinks.org - look for the red R) and I would like to fix its size and disable the expand and maximize functions. I assume it's in the Java rather than the HTML or CSS but do tell me if i'm wrong.I'm new to the forum so please forgive any posting/etiquette errors on my part. Javascript Document
function doPopups() {
if (!document.getElementsByTagName) return false;
var links=document.getElementsByTagName("a");
[code]....
View 2 Replies
ADVERTISEMENT
Jan 14, 2006
I only have a table that is a fixed height within which to place a menu of links.
There are more lines of links than will fit in the table. So i need to have ascroll bar on the right within the table to access the rest of the links.
I have played with code for drop down menus and opening in frames etc, with no real problem, but in this instance i have to display them in a fixed size table, can anyone point me in the right direction.
View 3 Replies
View Related
Feb 12, 2007
I have a <img scr="mypic.jpg"in my html. I would like to display the
image by width=200 if the image width is larger than 200. I also would
like to display the image by its real width if the image width is
smaller than 200. How can I do it?
View 7 Replies
View Related
Apr 14, 2011
where da boss wants our a large piece of our site to be fully dynamic and integrated on any screen size. This means changing font on size. Well I cam up with a solution, figured if no one has one better, then i'll share
[Code]..
View 7 Replies
View Related
Aug 26, 2011
I am new to Jquery mobile framework.I have an asp.net web application and I want to convert it into Jquery mobile framework.I have a datalist on an aspx page.The size of the datalist decreases according to the window size to certain extent after which the size of the datalist becomes constant and doesn't decrease with the window size.
View 2 Replies
View Related
Aug 15, 2007
I created a little script on a section of a website that password protects the page. It gives a user 3 tries to enter the correct password and then if they get it wrong, it moves them to another page that says they don't have access.
Recently, I upgraded it to do a window.showModalDialog instead of just using a plain javascript prompt as they don't look as nice and clear as a customized JSP could.
However, now that we've sent that upgrade out, we're finding that some of our users are not seeing the window.showModalDialog and it just loads the page (not the no access page).
The script is below. When I look through it, it looks to me that a user with an active popup blocker should just be sent straight to the no_access.jsp file, but that isn't what's happening. Code:
View 2 Replies
View Related
Aug 31, 2011
I started learning javascript couple of days ago, so this may be a noobie question.
I wrote a simple code that should re-size the image (there's some other code in here just in case) code...
View 1 Replies
View Related
Aug 31, 2011
I started learning javascript couple of days ago, so this may be a noobie question.
I wrote a simple code that should re-size the image (there's some other code in here just in case) code...
View 4 Replies
View Related
Apr 6, 2010
I'd have thought this would be easy but I've been looking for hours and all I can find is info on getting the viewport size, which is normally useful but not in my situation.
In this case I need the actual browser size, including the scrollbars, toolbars, status bars etc. to get an idea of browsers which aren't maximised/full screen and how big they are, and to calculate the amount of the screen taken up by toolbars etc too.
View 3 Replies
View Related
Jan 29, 2006
I need a script that will open a new window (popup / new link) in a specific size, but will also close the old window (where the popup came from). I know the popup window is easy but finding a work-able close window script as the new window is opened is impossible!!
View 3 Replies
View Related
Jul 23, 2005
I've got this row of images (in the end there will be more rows of pics
as well). When a user clicks on the image, I want a new window to open
with a larger version of the image. I want that new window to be
customized to the size of the new larger image. Also, when users go
back to see other images in their larger size, I want the new window
(assuming they never closed the first one) to come back to the front.
I've only gotten as far as getting the larger images to open in a new
window at a set size in the function. I thought I could just make
specific scripts for each image, but that would be cumbersome to say
the least....
View 1 Replies
View Related
Feb 1, 2006
is there a way to get the available size inside the window?
technically a kind of otherHeight - (toolbarsH + scrollbarsH + etc).
View 2 Replies
View Related
Jan 19, 2006
I am using Dreamweaver to open a pop up window when you click in a thundnail to make the picture bigger. In Dreamweaver you have the option to specify the dimensions of the pop up window(in my case the same as the photograph). It seems to work fine in Explorer, but Safari leaves a white border along the right and bottom edges(aprox 14 pix). I have tried to do the window smaller but then in other browsers you need scroll bars. I would like the new window be exactly the same size of the photograph. Is there any easy way to control this?
View 3 Replies
View Related
Sep 13, 2006
Its the first time Ive used the showModalDialog function and was wondering how best to size the dialog to compensate for the window borders.
My command looks a bit like this:
500px; dialogWidth: 700px; dialogTop: 150px; dialogLeft: 150px; edge: Raised; center: No; help: No; scroll: No; status: Yes;")'
While I set the width and height to 700 and 500 respectively, the internal size of the window.document object comes out to be 694 and 448.
View 9 Replies
View Related
Oct 5, 2003
I have a photo gallery which lists out a bunch of photos. You can click on one which will open the photo in another window for you to view. In this window then, you are able to go to the next image, to the previous one, etc.
Now, I have some images which are portrait style, some are landscape. I want to have the window that the images show in to be adjusted on the fly depending on the orientation of the photo. I.e., if the photo is landscape, I want to display it in a window which is 800x600 in size; if it's portrait, I want to display it in a window which is 600x800.
All the thumbnails have the following code for their href: Code:
View 1 Replies
View Related
Feb 11, 2009
i am having a problem with javascript. I have a page with a bunch of links on it, and whenever someone clicks on link i want it to popup, but each popup to have its own size, instead of a fixed size.lp.
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function Help(URL) {
day = new Date();
[Code]....
View 3 Replies
View Related
Jul 23, 2005
A dynamically created html page contains a body tag with a single (filled)
table in it. Sie size of the table changes in a wide scale (from 5% to 150%
of the screen size independent in height and width.
The page is displayed in a popup window opened either via an onclick-event
or a href anchor (depends on the navigation). Now the obvious problem is
this:
When choosing a fixed window size things look silly most of the time. Either
you have a nearly empty window or you have to scroll all the time...
So I want to resize the window. Resize it to what size? The size that is
required by the pages content when redered in the browser. That's all :-)
-- hmmm -- I tried around quite a lot with scrollHeigths, offsetWidth and so
on, but there does not seem to be any more or less reliable solution.,
Especially not when trying to make stuff usable for different browsers.
Does anyone have a hint what else I can try, where I could look?
View 2 Replies
View Related
Jul 20, 2005
I'm a newbie...I'm having trouble changing the size of an image when I
use different window sizes when loading the and resizing the browser window.
View 3 Replies
View Related
Apr 10, 2009
I need to know where and how to put the script that when the window opens I can set the size, scrollbar, etc.
View 4 Replies
View Related
Apr 29, 2007
How do I do if I want to open a new window half the size of this when I click on a link?
View 1 Replies
View Related
Apr 19, 2006
I want every time i click on a link a new window to appear.. The new window i want to have the dimensions of the included picture. Finally I want a close button on the window ..
View 5 Replies
View Related
Sep 5, 2011
Code:
<?xml version="1.0" encoding="[CONTENT_ENCODING/]"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="[LANG_CODE/]" lang="[LANG_CODE/]" dir="[BASE_DIRECTION/]">
[Code]....
for creating pop-up but problem is that pop-up not displays user's home page instead it displays login page again(which is not required). how to create a pop-up which displays user's home page??
View 1 Replies
View Related
Mar 10, 2004
I have a form that I link to from several locations. Right now I use JS in the link to the page to open it a specific size. I would rather simplify the links and just put the dimensions in one place...the file that opens. Is there a best way to force a page to be opened in a specific size without putting JS in the link? I would just use target="_blank" to get it in a new window.
View 2 Replies
View Related
Apr 27, 2007
We have a printer-friendly version of a web page that we want to print. The problem is we want it to print on a legal size paper by default.
View 1 Replies
View Related
Apr 11, 2011
How would I determine the maximum window width and height available.
Like the window width if the browser window was maximized, even if it isn't.
View 2 Replies
View Related
Aug 4, 2009
this is the code i get the window size (width) when the page is ready.
Code:
$(document).ready(function(){
var height_window = $(window).height();
[Code]....
ideally, i hope to get the window size as well when you make the window smaller by dragging... what event should i be using then??
this is the implimentation of the entire code, [URL]
View 3 Replies
View Related